Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

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


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

Le mercredi 31 octobre 2012 12:12:27 lhtrang a écrit :
> Hi,
>
> I am beginner in CGAL and now testing the AABB_tree demo. I already
> configured and compiled CGAL and "cmake" successfully the demo. But when
> compile by make, the error appears when "Linking CXX executable AABB_demo".
> The following is compilation message:
>
> ----------------------------------------------------------------------------
> ------------------------------------------
> lhtrang@lhtrang-Laptop:~/lhtrang-ubuntu/CGAL/source/CGAL-4.1/demo/AABB_tree
> $ make
> [ 14%] Generating qrc_AABB_demo.cxx
> [ 28%] Generating MainWindow_moc.cpp
> [ 42%] Generating Viewer_moc.cpp
> [ 57%] Generating Scene_moc.cpp
> [ 71%] Generating ui_MainWindow.h
> [ 85%] Building CXX object CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o
> [100%] Building CXX object CMakeFiles/AABB_demo.dir/qrc_AABB_demo.cxx.o
> Linking CXX executable AABB_demo
> 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)'

To help us understanding what happened, can you please the result of the
following command?

make VERBOSE=1 AABB_demo

It will display the compilation command lines that 'make' uses.

--
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