Search found 7 matches

by wsq003
2012-03-16T06:10:01-07:00
Forum: Developers
Topic: problem with pkg-config
Replies: 8
Views: 24820

Re: problem with pkg-config

AnimateImages() is part of the X11 code within ImageMagick. Did you type 'make clean' before you rebuild ImageMagick? Try again. AnimateImages() is part of MagickCore if it is built with X11 support. More than that, I "rm -rf" the whole directory, "tar xjvf ImageMagick-$IMK_VER.tar.bz2" again ...
by wsq003
2012-03-16T05:50:18-07:00
Forum: Developers
Topic: problem with pkg-config
Replies: 8
Views: 24820

Re: problem with pkg-config

AnimateImages() is defined in the X11 delegate library. You will need to remove the '--without-x' configure script option and perhaps add -lX11 to your linker command line. I configured imagemagick with "--disable-shared --with-quantum-depth=8 --disable-openmp --without-bzlib" Set CFLAGS="-g -O2 ...
by wsq003
2012-03-16T05:04:08-07:00
Forum: Developers
Topic: problem with pkg-config
Replies: 8
Views: 24820

Re: problem with pkg-config

XConvertSelection() is defined in the X11 delegate library. Add --without-x to your configure command line and rebuild ImageMagick. You might type 'make clean' before your build. Thanks for your quick reply. I recompile the imagemagick with "--without-bzlib --without-x", my module.so compiles ok ...
by wsq003
2012-03-16T04:33:23-07:00
Forum: Developers
Topic: problem with pkg-config
Replies: 8
Views: 24820

Re: problem with pkg-config

Thank you, the pkg-config problem was solved after I add following to my build.sh: PKG_CONFIG_PATH=`pwd`/libs/imagemagick-$IMK_VER/lib/pkgconfig export PKG_CONFIG_PATH It compiles ok now. But when I ran it, it reported: undefined symbol: BZ2_bzDecompress Then I tried to rebuild the imagemagick with ...
by wsq003
2012-03-15T00:52:15-07:00
Forum: Developers
Topic: problem with pkg-config
Replies: 8
Views: 24820

problem with pkg-config

I was trying to upgrade from 6.6.1 to ImageMagick-6.7.6-0 CFLAGS=-g -O2 -Wall -fPIC ./configure --prefix=`pwd`/imagemagick-6.7.6-0 --disable-shared --with-quantum-depth=8 --disable-openmp make -j 10 make install It compiles ok. Then I encounter problem: ./Magick++-config --libs Package Magick++ was ...
by wsq003
2012-02-16T01:54:29-07:00
Forum: Users
Topic: how to use API SetMagickResourceLimit
Replies: 1
Views: 3555

Re: how to use API SetMagickResourceLimit

I resolved this problem by reading the <Magic++/Include.h>
//Include ImageMagick headers into namespace "MagickCore"

The proper code should be:
MagickCore::SetMagickResourceLimit(MagickCore::ThreadResource, 1);

Sorry for disturbing.
by wsq003
2012-02-16T00:47:10-07:00
Forum: Users
Topic: how to use API SetMagickResourceLimit
Replies: 1
Views: 3555

how to use API SetMagickResourceLimit

I have included <Magick++.h> and can use class Image/Blob to draw text. When I tried to call SetMagickResourceLimit, the GCC reported: ./my_magick.cpp:10: error: 'ThreadResource' was not declared in this scope ./my_magick.cpp:10: error: 'SetMagickResourceLimit' was not declared in this scope int ...