Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: AABB_tree demo: compiling error

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: AABB_tree demo: compiling error


Chronological Thread 
  • From: "Laurent Rineau (CGAL/GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Re: AABB_tree demo: compiling error
  • Date: Thu, 01 Nov 2012 11:35:41 +0100
  • Organization: GeometryFactory

Le jeudi 01 novembre 2012 03:23:18 lhtrang a écrit :
> /usr/bin/cmake -E cmake_link_script CMakeFiles/AABB_demo.dir/link.txt
> --verbose=1
> /usr/bin/c++ -frounding-math -O3 -DNDEBUG
> CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o
> CMakeFiles/AABB_demo.dir/qrc_AABB_demo.cxx.o -o AABB_demo -rdynamic
> -L/usr/local/lib -lmpfr -lgmp /usr/local/lib/libCGAL.so -lboost_thread-mt
> -lboost_system-mt -lQtOpenGL -lQtScript -lQtGui -lQtXml -lQtCore
> /usr/local/lib/libCGAL.so -lboost_thread-mt -lboost_system-mt
> -lqglviewer-qt4 -lGL -lGLU -lQtOpenGL -lQtScript -lQtGui -lQtXml -lQtCore
> -lqglviewer-qt4 -lGL -lGLU -Wl,-rpath,/usr/local/lib
> CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function
> `MainWindow::closeEvent(QCloseEvent*)':
> AABB_demo.cpp:(.text+0x984): undefined reference to
> `CGAL::Qt::DemosMainWindow::writeState(QString)'

Thanks you, Trang, for you reply.

The linking to libCGAL_Qt4.so is missing, in that link command line. That is
strange. Have you compiled CGAL libraries without Qt4 support? Have you
modified CGAL-4.1/demo/AABB_tree/CMakeLists.txt? Its normal behavior is to
display an error if CGAL libraries are compiled without the support for Qt4.

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/




Archive powered by MHonArc 2.6.18.

Top of Page