Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Polyhedron demo problem (bis)

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Polyhedron demo problem (bis)


Chronological Thread 
  • From: "Martial TOLA (CNRS-Liris)" <>
  • To:
  • Subject: Re: [cgal-discuss] Polyhedron demo problem (bis)
  • Date: Wed, 20 May 2009 11:25:26 +0200

I clean, reconfigure and recompile CGAL just before the "-v" you ask me.

1) from ${CGAL_DIR} CGALConfig.cmake :

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 "/Users/mt/_lib_autres_que_macports/CGAL-3.4/build/lib/libCGAL.dylib")
set(CGAL_Core_LIBRARY "/Users/mt/_lib_autres_que_macports/CGAL-3.4/build/lib/libCGAL_Core.dylib")
set(CGAL_ImageIO_LIBRARY "/Users/mt/_lib_autres_que_macports/CGAL-3.4/build/lib/libCGAL_ImageIO.dylib")
set(CGAL_PDB_LIBRARY "/Users/mt/_lib_autres_que_macports/CGAL-3.4/build/lib/libCGAL_PDB.dylib" )
set(CGAL_Qt3_LIBRARY "" )
set(CGAL_Qt4_LIBRARY "/Users/mt/_lib_autres_que_macports/CGAL-3.4/build/lib/libCGAL_Qt4.dylib" )

and 2) from ${CGAL_DIR}/config :

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.dylib")
set(CGAL_Core_LIBRARY "/usr/local/lib/libCGAL_Core.dylib")
set(CGAL_ImageIO_LIBRARY "/usr/local/lib/libCGAL_ImageIO.dylib")
set(CGAL_PDB_LIBRARY "/usr/local/lib/libCGAL_PDB.dylib" )
set(CGAL_Qt3_LIBRARY "/usr/local/lib/" )
set(CGAL_Qt4_LIBRARY "/usr/local/lib/libCGAL_Qt4.dylib" )


so I do also a "sudo make install" for CGAL (because of /usr/local/lib I can see in the second CGALConfig.cmake) but no change, same errors during linking.

For info, under Linux, no need to "sudo make install" for linking Polyhedron demo.

Very stange problem...


Laurent Rineau (GeometryFactory) a écrit :
On Wednesday 20 May 2009 10:35:36 Martial TOLA (CNRS-Liris) wrote:
Hello

Strange: libCGAL_Qt4.dylib is not in that list! Have you build CGAL with
Qt4 support?
Of course, Qt4 is on (but Qt3 is off like under windows and linux), you can
see that in cmake-gui.txt.

Here is the logs with -v (make cgal and make Polyhedron).

Thank you for your help.

In my opinion you should reconfigure and recompile CGAL libraries.

Can you check your file CGALConfig.cmake, which is in the directory pointed by the CMake variable ${CGAL_DIR)? Mine contains lines like:

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

set(CGAL_LIBRARY "/usr/local/packages/CGAL-3.4/lib/libCGAL.so")
set(CGAL_Core_LIBRARY "/usr/local/packages/CGAL-3.4/lib/libCGAL_Core.so")
set(CGAL_ImageIO_LIBRARY "/usr/local/packages/CGAL-3.4/lib/libCGAL_ImageIO.so")
set(CGAL_PDB_LIBRARY "/usr/local/packages/CGAL-3.4/lib/libCGAL_PDB.so" )
set(CGAL_Qt3_LIBRARY "/usr/local/packages/CGAL-3.4/lib/libCGAL_Qt3.so" )
set(CGAL_Qt4_LIBRARY "/usr/local/packages/CGAL-3.4/lib/libCGAL_Qt4.so" )

Is Qt4 also activated in yours?

begin:vcard
fn:Martial TOLA
n:TOLA;Martial
org;quoted-printable:CNRS/INSA de Lyon/Universit=C3=A9 Claude Bernard Lyon 1/Universit=C3=A9Lu=
	mi=C3=A8re Lyon 2/Ecole Centrale de Lyon;Laboratoire LIRIS - UMR 5205
email;internet:
title;quoted-printable:Ing=C3=A9nieur d'=C3=A9tudes CNRS
url:http://liris.cnrs.fr/martial.tola
version:2.1
end:vcard




Archive powered by MHonArc 2.6.16.

Top of Page