Page 1 of 1
g++ library Magick++ can not found
Posted: 2017-10-05T06:09:14-07:00
by adelhoss
i compile one project used your library Magick ++
but g++ show message Magick++ notfound
this picture :
I installed ImageMagick in Fedora 20 .
and install ImageMagick-Devel.
But do not know how set Patch ...
Re: g++ library Magick++ can not found
Posted: 2017-10-05T11:05:19-07:00
by adelhoss
Please Help MEEEEEEEEEEEEEEE
Re: g++ library Magick++ can not found
Posted: 2017-10-05T13:59:29-07:00
by snibgo
The documentation eg
http://www.imagemagick.org/script/magick++.php shows command lines to build IM programs. I suggest you start by building standard IM demonstration programs, as that excludes the possibility that problems are due to source code errors.
Re: g++ library Magick++ can not found
Posted: 2017-10-05T22:25:53-07:00
by adelhoss
I Installed Package ....
I do not know Default Location in Linux ....
where Location Default Lib Magick++?
i Donot Need ImageMagick Only Need Magick++ Library ...
where i Should Run This Command :
Code: Select all
./configure [ --prefix=/prefix ]
make
make install
I do not your Library (so) where Installed ...
Re: g++ library Magick++ can not found
Posted: 2017-10-05T22:53:36-07:00
by adelhoss
I Uses Demp.cpp : I Downloaded Magick++.cpp and Compiled Successfully and created Executable File :
https://www.mediafire.com/view/ltkzgvgzg2hqwjv/1.png
https://www.mediafire.com/file/7mtayv63tux5goo/2.png
I Need Use Your Library in g++ Compiler Command :
g++ -O2 -o ./bin/puzzle ./src/Puzzle.cpp -l armadillo -l Magick++ -l pthread -l boost_thread
-l Magick++ : Where Location Library Magick++ ?
Re: g++ library Magick++ can not found
Posted: 2017-10-05T23:40:15-07:00
by snibgo
I don't understand your question. Once you have successfully built IM demonstration programs, you build your own programs in the same way.
Re: g++ library Magick++ can not found
Posted: 2017-10-06T00:46:25-07:00
by adelhoss
Only I Use Compile Project that use Your Library
i want Compile this Project with g++ Compiler i use this Command :
Code: Select all
g++ -O2 -o ./bin/puzzle ./src/Puzzle.cpp -l armadillo -l Magick++ -l pthread -l boost_thread
only Library Founded armadillo pthread boost_thread only your library can not found by ld ...
and return message :
Can not Find -l Magick++
help me compile this project with your library
Re: g++ library Magick++ can not found
Posted: 2017-10-06T00:48:10-07:00
by adelhoss
How Setup Magick++ Library for use Compile ?
i read your manual and install all package need but return magick++ not found .
Please Programmers help meeeeeeeeeeeeeeeee
Re: g++ library Magick++ can not found
Posted: 2017-10-06T01:02:55-07:00
by snibgo
You have built the IM demo with `Magick++config` etc in the command line. Do the same when you build your programs.
Re: g++ library Magick++ can not found
Posted: 2017-10-06T01:14:15-07:00
by adelhoss
yes i build demo app.
but when composite Magick++-config with g++ compiler Error show magick++config not know for g++.
how use Magick++config with g++ ?
Re: g++ library Magick++ can not found
Posted: 2017-10-06T03:42:47-07:00
by snibgo
Please show your exact command line, and the error message.