Hi,
I am trying to compile a program that I know works, in unix using gcc compiler. after reading a lot, it seems that I have to use the Magick++-config -- commands. I tried this:
g++ -o im images.cpp 'Magick++-config --cppflags --cxxflags --ldflags --libs' -lGL -lglut
also tried it with c++ instead of g++
but got the error that Magick++-config --cppflags --cxxflags --ldflags --libs does not exist.
I can just run these commands seperately not inside the compile command and they do exist.
Is there a different way I should be compiling?
please help!!
Thanks
Josh
trying to compile with gcc in unix, having problems
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: trying to compile with gcc in unix, having problems
Try posting in the MagicWand Forum.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/