Search found 1 match

by wrex
2011-10-27T03:46:36-07:00
Forum: Magick++
Topic: linking to ogre corrupts pngs
Replies: 0
Views: 7140

linking to ogre corrupts pngs

I have a simple program:

#include <Magick++.h>

int main(int argc, char *argv[])
{
Magick::Image in;
in.read("world.200408.3x5400x2700.png");
return 0;
}


I can compile it fine with:
c++ `Magick++-config --cxxflags --cppflags` -O2 -o ex ex.cc `Magick++-config --ldflags --libs` -lOgreMain ...