
On 8/13/07, Ted Gould <ted@...11...> wrote:
On Sun, 2007-08-12 at 20:55 +0100, john cliff wrote:
k, did the above, replacing the strndup with the g_ version, and using the /* being lazy */ code for the stpcpy and it compiles ok, but I'm not getting any raster extensions showing on the effects menu here. Is it checking for IM somewhere? I'm gonna guess that the test isnt working right on windows... Let me know and I'll help you try get this working.
Yeah, there will need to be a "#define WITH_IMAGE_MAGICK 1" somewhere. In the autotools environment it's in config.h if ImageMagick is detected. I'm not sure where this check exists in the custom Windows build tool, sorry, that's all I know.
--Ted
I'd imagine that wants to go in build.xml or somwhere, but for now I just deleted the checks in init.cpp, thing is I now get a bunch of link errors similar to these:
Make error line 348: LINK problem: build\libinkscape.a(adaptiveThreshold.o):adap tiveThreshold.cpp:(.text+0x124): undefined reference to `Magick::Image::adaptive Threshold(unsigned int, unsigned int, unsigned int)' build\libinkscape.a(addNoise.o):addNoise.cpp:(.text+0x117): undefined reference to `Magick::Image::addNoise(MagickLib::NoiseType)' build\libinkscape.a(blur.o):blur.cpp:(.text+0x11e): undefined reference to `Magi ck::Image::blur(double, double)' build\libinkscape.a(channel.o):channel.cpp:(.text+0x11f): undefined reference to `Magick::Image::channel(MagickLib::ChannelType)' build\libinkscape.a(charcoal.o):charcoal.cpp:(.text+0x11e): undefined reference to `Magick::Image::charcoal(double, double)' build\libinkscape.a(colorize.o):colorize.cpp:(.text+0x21d): undefined reference to `Magick::ColorRGB::ColorRGB(double, double, double)' build\libinkscape.a(colorize.o):colorize.cpp:(.text+0x240): undefined reference to `Magick::Image::colorize(unsigned int, Magick::Color const&)' build\libinkscape.a(colorize.o):colorize.cpp:(.text+0x252): undefined reference to `Magick::ColorRGB::~ColorRGB()' build\libinkscape.a(colorize.o):colorize.cpp:(.text+0x283): undefined reference to `Magick::ColorRGB::~ColorRGB()' build\libinkscape.a(contrast.o):contrast.cpp:(.text+0x10a): undefined reference to `Magick::Image::contrast(unsigned int)' build\libinkscape.a(convolve.o):convolve.cpp:(.text+0x10e): undefined reference to `Magick::Image::convolve(unsigned int, double const*)'
Any ideas anyone?
Cheers
Sim