Page 1 of 1

ImageMagick installation

Posted: 2010-01-09T14:48:39-07:00
by wasserpflanze
Hi!

I recently tried to install ImageMagick ImageMagick-6.5.8-9 on openSuSe.
I followed these instructions:
http://www.imagemagick.org/script/insta ... rbnl6#unix

The installation itself was successful and even "make check" returns good results,
but whenever I try for example to use commands like display or animate, it gives following error back:
display: symbol lookup error: display: undefined symbol: MagickCommandGenesis

Or when I try to use it in a c++ programm it gives errors back, like: could not find magick++.cpp

What could be the reason for this?

Thank you very much!

Re: ImageMagick installation

Posted: 2010-01-09T15:31:04-07:00
by magick
Looks like you may have more than one version of ImageMagick installed. Try rpm -qa | grep -i ImageMagick.

Re: ImageMagick installation

Posted: 2010-01-10T02:13:07-07:00
by wasserpflanze
hmm - well ok - I typed in the command, but he only works
for some seconds und goes to the next command:

linux-fsr2:~ # rpm -qa | grep -i ImageMagick
linux-fsr2:~ #

Re: ImageMagick installation

Posted: 2010-01-10T02:28:24-07:00
by wasserpflanze
New situation:

I installed imagemagick with yast.
Now I can use the commands in the terminal (like display and identify)...
but when I try to compile my programm it gives following errors back:

linux-fsr2:~/Desktop/bva # c++ -o s1a6 s1a6.cpp $(Magick++-config --ldflags --libs)
s1a6.cpp:1:22: error: Magick++.h: No such file or directory
s1a6.cpp: In function ‘int main(int, char**)’:
s1a6.cpp:16: error: ‘list’ is not a member of ‘std’
s1a6.cpp:16: error: ‘Magick’ has not been declared
s1a6.cpp:16: error: ‘image_list’ was not declared in this scope
s1a6.cpp:28: error: ‘Magick’ has not been declared
s1a6.cpp:28: error: expected ‘;’ before ‘c’
s1a6.cpp:29: error: ‘Magick’ has not been declared
s1a6.cpp:29: error: expected ‘;’ before ‘g’
s1a6.cpp:30: error: ‘Magick’ has not been declared
s1a6.cpp:30: error: expected ‘;’ before ‘bg_c’
s1a6.cpp:33: error: ‘Magick’ has not been declared
s1a6.cpp:33: error: expected ‘;’ before ‘image’
s1a6.cpp:35: error: ‘image’ was not declared in this scope
s1a6.cpp:37: error: ‘Magick’ has not been declared
s1a6.cpp:37: error: expected ‘;’ before ‘bg’
s1a6.cpp:50: error: ‘animateImages’ was not declared in this scope
s1a6.cpp:51: error: ‘writeImages’ was not declared in this scope

The program itself usually works - I programmed it on an other pc with working imagemagick :)

Re: ImageMagick installation

Posted: 2010-01-10T07:57:00-07:00
by wasserpflanze
It works now:)
Thank you very much.