Re: [Cppcms-users] Fail to build cppblog
Brought to you by:
artyom-beilis
|
From: CN L. <cn...@gr...> - 2013-07-13 16:08:31
|
Hi!
CppBlog compiles with these two commands added to CMakeLists.txt:
find_package(ImageMagick COMPONENTS Magick++)
include_directories(${ImageMagick_INCLUDE_DIRS})
Regards,
CN
----- Original Message -----
From: CN Liu
Sent: 07/13/13 05:59 PM
To: cpp...@li...
Subject: Re: [Cppcms-users] Fail to build cppblog
----- Original Message -----
My first advice is not to set CMAKE_INCLUDE_PATH by yourself, let cmake do the thing. Next, see if you find something in the CMakeLists.txt that will find imagemagick like
find_package(ImageMagick COMPONENTS Magick++)
With your command added, cmake appears to have successfully found the package. Message follows:
-- Found ImageMagick: /usr/lib/i386-linux-gnu/libMagick++.so (found version "6.7.7-10")
However, "Makefile" still does not include path "/usr/include/ImageMagick/" which holds Magick++.h.
Regards,
CN
|