ImageMagick installation

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
wasserpflanze

ImageMagick installation

Post 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!
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: ImageMagick installation

Post by magick »

Looks like you may have more than one version of ImageMagick installed. Try rpm -qa | grep -i ImageMagick.
wasserpflanze

Re: ImageMagick installation

Post 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:~ #
wasserpflanze

Re: ImageMagick installation

Post 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 :)
wasserpflanze

Re: ImageMagick installation

Post by wasserpflanze »

It works now:)
Thank you very much.
Post Reply