Page 1 of 1

trying to compile with gcc in unix, having problems

Posted: 2007-03-20T10:13:56-07:00
by jfern
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

Re: trying to compile with gcc in unix, having problems

Posted: 2007-03-20T18:23:16-07:00
by anthony
Try posting in the MagicWand Forum.