Search found 3 matches

by h1b1
2017-08-17T10:06:15-07:00
Forum: Magick++
Topic: [Solved] Struggling to run my first Magick++ program
Replies: 5
Views: 26706

Re: Struggling to run my first Magick++ program

Can you successfully build the supplied demo programs? Yes, but I think that was my mistake. I thought I had to run the line c++ `Magick++-config --cxxflags --cppflags` -O2 -o demo demo.cpp \ `Magick++-config --ldflags --libs` and export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig with some demo file ...
by h1b1
2017-08-17T08:50:30-07:00
Forum: Magick++
Topic: [Solved] Struggling to run my first Magick++ program
Replies: 5
Views: 26706

Re: Struggling to run my first Magick++ program

Thanks for the reply. The compiler command was simply g++ test.cpp When I tried g++ -I /usr/local/include/ImageMagick-7/ test.cpp I got the following: In file included from /usr/local/include/ImageMagick-7/Magick++/Include.h:14:0, from /usr/local/include/ImageMagick-7/Magick++.h:10, from test.cpp:1 ...
by h1b1
2017-08-17T08:40:55-07:00
Forum: Magick++
Topic: [Solved] Struggling to run my first Magick++ program
Replies: 5
Views: 26706

[Solved] Struggling to run my first Magick++ program

Hi Everyone, I want to run a simple c++ program that includes the line #inlcude <Magick++> but the compiler throws the error fatal error: Magick++.h: No such file or directory compilation terminated. For installation, I cloned ImageMagick from GitHub to my home directory, and then ran ./configure ...