Subject: CGAL users discussion list
List archive
- From: lhtrang <>
- To:
- Subject: [cgal-discuss] Re: AABB_tree demo: compiling error
- Date: Thu, 1 Nov 2012 03:23:18 -0700 (PDT)
Hi Laurent,
thanks so much for your reply. The following is the result of the command
-------------------------------------------------------------------------------------------------------------------
lhtrang@lhtrang-Laptop:~/lhtrang-ubuntu/CGAL/source/CGAL-4.1/demo/AABB_tree$
make VERBOSE=1 AABB_demo
/usr/bin/cmake
-H/home/lhtrang/lhtrang-ubuntu/CGAL/source/CGAL-4.1/demo/AABB_tree
-B/home/lhtrang/lhtrang-ubuntu/CGAL/source/CGAL-4.1/demo/AABB_tree
--check-build-system CMakeFiles/Makefile.cmake 0
make -f CMakeFiles/Makefile2 AABB_demo
make[1]: Entering directory
`/home/lhtrang/lhtrang-ubuntu/CGAL/source/CGAL-4.1/demo/AABB_tree'
/usr/bin/cmake
-H/home/lhtrang/lhtrang-ubuntu/CGAL/source/CGAL-4.1/demo/AABB_tree
-B/home/lhtrang/lhtrang-ubuntu/CGAL/source/CGAL-4.1/demo/AABB_tree
--check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start
/home/lhtrang/lhtrang-ubuntu/CGAL/source/CGAL-4.1/demo/AABB_tree/CMakeFiles
7
make -f CMakeFiles/Makefile2 CMakeFiles/AABB_demo.dir/all
make[2]: Entering directory
`/home/lhtrang/lhtrang-ubuntu/CGAL/source/CGAL-4.1/demo/AABB_tree'
make -f CMakeFiles/AABB_demo.dir/build.make CMakeFiles/AABB_demo.dir/depend
make[3]: Entering directory
`/home/lhtrang/lhtrang-ubuntu/CGAL/source/CGAL-4.1/demo/AABB_tree'
cd /home/lhtrang/lhtrang-ubuntu/CGAL/source/CGAL-4.1/demo/AABB_tree &&
/usr/bin/cmake -E cmake_depends "Unix Makefiles"
/home/lhtrang/lhtrang-ubuntu/CGAL/source/CGAL-4.1/demo/AABB_tree
/home/lhtrang/lhtrang-ubuntu/CGAL/source/CGAL-4.1/demo/AABB_tree
/home/lhtrang/lhtrang-ubuntu/CGAL/source/CGAL-4.1/demo/AABB_tree
/home/lhtrang/lhtrang-ubuntu/CGAL/source/CGAL-4.1/demo/AABB_tree
/home/lhtrang/lhtrang-ubuntu/CGAL/source/CGAL-4.1/demo/AABB_tree/CMakeFiles/AABB_demo.dir/DependInfo.cmake
--color=
make[3]: Leaving directory
`/home/lhtrang/lhtrang-ubuntu/CGAL/source/CGAL-4.1/demo/AABB_tree'
make -f CMakeFiles/AABB_demo.dir/build.make CMakeFiles/AABB_demo.dir/build
make[3]: Entering directory
`/home/lhtrang/lhtrang-ubuntu/CGAL/source/CGAL-4.1/demo/AABB_tree'
Linking CXX executable AABB_demo
/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)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function
`MainWindow::~MainWindow()':
AABB_demo.cpp:(.text+0x9f7): undefined reference to `vtable for
CGAL::Qt::DemosMainWindow'
AABB_demo.cpp:(.text+0x9fe): undefined reference to `vtable for
CGAL::Qt::DemosMainWindow'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function
`MainWindow::~MainWindow()':
AABB_demo.cpp:(.text+0xaa7): undefined reference to `vtable for
CGAL::Qt::DemosMainWindow'
AABB_demo.cpp:(.text+0xaae): undefined reference to `vtable for
CGAL::Qt::DemosMainWindow'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function
`MainWindow::readSettings()':
AABB_demo.cpp:(.text+0x1d6a): undefined reference to
`CGAL::Qt::DemosMainWindow::readState(QString,
QFlags<CGAL::Qt::DemosMainWindow::Option>)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function
`MainWindow::writeSettings()':
AABB_demo.cpp:(.text+0x1dcc): undefined reference to
`CGAL::Qt::DemosMainWindow::writeState(QString)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function `MainWindow::quit()':
AABB_demo.cpp:(.text+0x1e41): undefined reference to
`CGAL::Qt::DemosMainWindow::writeState(QString)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function
`MainWindow::open(QString)':
AABB_demo.cpp:(.text+0x3bcc): undefined reference to
`CGAL::Qt::DemosMainWindow::addToRecentFiles(QString)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function
`MainWindow::MainWindow(QWidget*)':
AABB_demo.cpp:(.text+0x4ed4): undefined reference to
`CGAL::Qt::DemosMainWindow::DemosMainWindow(QWidget*,
QFlags<Qt::WindowType>)'
AABB_demo.cpp:(.text+0x4fc0): undefined reference to
`CGAL::Qt::DemosMainWindow::addRecentFiles(QMenu*, QAction*)'
AABB_demo.cpp:(.text+0x5018): undefined reference to
`CGAL::Qt::DemosMainWindow::readState(QString,
QFlags<CGAL::Qt::DemosMainWindow::Option>)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function `main':
AABB_demo.cpp:(.text+0x5134): undefined reference to
`CGAL_Qt4_init_resources()'
AABB_demo.cpp:(.text+0x5158): undefined reference to
`CGAL::Qt::DemosMainWindow::DemosMainWindow(QWidget*,
QFlags<Qt::WindowType>)'
AABB_demo.cpp:(.text+0x524b): undefined reference to
`CGAL::Qt::DemosMainWindow::addRecentFiles(QMenu*, QAction*)'
AABB_demo.cpp:(.text+0x52a3): undefined reference to
`CGAL::Qt::DemosMainWindow::readState(QString,
QFlags<CGAL::Qt::DemosMainWindow::Option>)'
AABB_demo.cpp:(.text+0x5548): undefined reference to `vtable for
CGAL::Qt::DemosMainWindow'
AABB_demo.cpp:(.text+0x5552): undefined reference to `vtable for
CGAL::Qt::DemosMainWindow'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function
`MainWindow::qt_metacall(QMetaObject::Call, int, void**)':
AABB_demo.cpp:(.text+0xc6fb): undefined reference to
`CGAL::Qt::DemosMainWindow::qt_metacall(QMetaObject::Call, int, void**)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function
`MainWindow::qt_metacast(char const*)':
AABB_demo.cpp:(.text+0xb5): undefined reference to
`CGAL::Qt::DemosMainWindow::qt_metacast(char const*)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function
`CGAL::Qt::DemosMainWindow::~DemosMainWindow()':
AABB_demo.cpp:(.text._ZN4CGAL2Qt15DemosMainWindowD2Ev[_ZN4CGAL2Qt15DemosMainWindowD5Ev]+0xf):
undefined reference to `vtable for CGAL::Qt::DemosMainWindow'
AABB_demo.cpp:(.text._ZN4CGAL2Qt15DemosMainWindowD2Ev[_ZN4CGAL2Qt15DemosMainWindowD5Ev]+0x16):
undefined reference to `vtable for CGAL::Qt::DemosMainWindow'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function
`CGAL::Qt::DemosMainWindow::~DemosMainWindow()':
AABB_demo.cpp:(.text._ZN4CGAL2Qt15DemosMainWindowD0Ev[_ZN4CGAL2Qt15DemosMainWindowD5Ev]+0xf):
undefined reference to `vtable for CGAL::Qt::DemosMainWindow'
AABB_demo.cpp:(.text._ZN4CGAL2Qt15DemosMainWindowD0Ev[_ZN4CGAL2Qt15DemosMainWindowD5Ev]+0x16):
undefined reference to `vtable for CGAL::Qt::DemosMainWindow'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o:(.rodata+0x164): undefined
reference to `CGAL::Qt::DemosMainWindow::staticMetaObject'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o:(.rodata._ZTI10MainWindow[typeinfo
for MainWindow]+0x8): undefined reference to `typeinfo for
CGAL::Qt::DemosMainWindow'
collect2: ld returned 1 exit status
make[3]: *** [AABB_demo] Error 1
make[3]: Leaving directory
`/home/lhtrang/lhtrang-ubuntu/CGAL/source/CGAL-4.1/demo/AABB_tree'
make[2]: *** [CMakeFiles/AABB_demo.dir/all] Error 2
make[2]: Leaving directory
`/home/lhtrang/lhtrang-ubuntu/CGAL/source/CGAL-4.1/demo/AABB_tree'
make[1]: *** [CMakeFiles/AABB_demo.dir/rule] Error 2
make[1]: Leaving directory
`/home/lhtrang/lhtrang-ubuntu/CGAL/source/CGAL-4.1/demo/AABB_tree'
make: *** [AABB_demo] Error 2
-------------------------------------------------------------------------------------------------------------------
Bests,
Trang
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/AABB-tree-demo-compiling-error-tp4656115p4656121.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- Re: [cgal-discuss] AABB_tree demo: compiling error, Laurent Rineau (CGAL/GeometryFactory), 11/01/2012
- [cgal-discuss] Re: AABB_tree demo: compiling error, lhtrang, 11/01/2012
- Re: [cgal-discuss] Re: AABB_tree demo: compiling error, Laurent Rineau (CGAL/GeometryFactory), 11/01/2012
- [cgal-discuss] Re: AABB_tree demo: compiling error, lhtrang, 11/01/2012
- Re: [cgal-discuss] Re: AABB_tree demo: compiling error, Laurent Rineau (CGAL/GeometryFactory), 11/01/2012
- [cgal-discuss] Re: AABB_tree demo: compiling error, lhtrang, 11/01/2012
Archive powered by MHonArc 2.6.18.