make error libMagick++.so: undefined reference

Magick++ is an object-oriented C++ interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick++.
Post Reply
criskross
Posts: 7
Joined: 2013-01-11T04:24:34-07:00
Authentication code: 6789

make error libMagick++.so: undefined reference

Post by criskross »

During make i get the following errorcode:

Code: Select all

/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/libMagick++.so: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)@GLIBCXX_3.4.15'
/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/libMagick++.so: undefined reference to `memcpy@GLIBC_2.14'
collect2: ld returned 1 exit status
make[2]: *** [VideoExplorer] Error 1
make[1]: *** [CMakeFiles/VideoExplorer.dir/all] Error 2
make: *** [all] Error 2
Where is the problem? I am using Ubuntu 10.04.4 LTS.

My CMake looks like that:

Code: Select all

...
find_package(ImageMagick COMPONENTS Magick++ MagickCore)
IF(ImageMagick_INCLUDE_DIRS)
	message(STATUS "Found ImageMagick")
	include_directories(${ImageMagick_INCLUDE_DIRS})
ELSE(ImageMagick_INCLUDE_DIRS)
	message(STATUS "ImageMagick not FOUND")
ENDIF(ImageMagick_INCLUDE_DIRS )

TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${MYSQL_LIBRARIES} ${CRYPTOPP_LIBRARY} ${OpenCV_LIBS} ${ImageMagick_LIBRARIES})
...
Any solution? :)
criskross
Posts: 7
Joined: 2013-01-11T04:24:34-07:00
Authentication code: 6789

Re: make error libMagick++.so: undefined reference

Post by criskross »

So much views but no idea?
criskross
Posts: 7
Joined: 2013-01-11T04:24:34-07:00
Authentication code: 6789

Re: make error libMagick++.so: undefined reference

Post by criskross »

Still no ideas?
Post Reply