Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Re: CGAL 3.6 first post-installation steps

Subject: CGAL users discussion list

List archive

[cgal-discuss] Re: CGAL 3.6 first post-installation steps


Chronological Thread 
  • From: Ianic <>
  • To:
  • Subject: [cgal-discuss] Re: CGAL 3.6 first post-installation steps
  • Date: Wed, 28 Apr 2010 02:18:56 -0700 (PDT)


Hi there! Answering my own question (maybe it will help other novices like
me), in order to make this example run, I had to manually add

find_package(CGAL COMPONENTS ImageIO)

into the CmakeLists.txt, created by the script.

Another weird thing that happened during my installation is that in the
CGALConfig.cmake file I had the following lines:

set(WITH_CGAL "ON")
set(WITH_CGAL_Core "ON")
set(WITH_CGAL_ImageIO "ON")
set(WITH_CGAL_PDB "ON" )
set(WITH_CGAL_Qt3 "OFF" )
set(WITH_CGAL_Qt4 "ON" )

set(CGAL_LIBRARY "/usr/local/lib/libCGAL.so")
set(CGAL_Core_LIBRARY "/usr/local/lib/libCGAL_Core.so")
set(CGAL_ImageIO_LIBRARY "/usr/local/lib/")
set(CGAL_PDB_LIBRARY "/usr/local/lib/libCGAL_PDB.so" )
set(CGAL_Qt3_LIBRARY "/usr/local/lib/" )
set(CGAL_Qt4_LIBRARY "/usr/local/lib/" )

So the paths to ImageIO and Qt4 libraries were truncated for some reason. I
simply added the corresponding names at the end of these paths. After that
the ImageIO library was successfully hooked up by the linker.

Best of luck,
Yan
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/CGAL-3-6-first-post-installation-steps-tp2065667p2068843.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.16.

Top of Page