Subject: CGAL users discussion list
List archive
- From: sara ershadi <>
- To: "" <>
- Subject: Re: Re: [cgal-discuss] running a demo on ubuntu Linux
- Date: Thu, 31 Jan 2013 10:59:29 -0800 (PST)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=PEdhT7hyfNfkkcjXYu4ymXbQZD0grp3FEuNIIhNu1820sMAUPkyOK+KNYHeyK5N0lfCAlicRkehMC6NZM+CLHrlRS9FPs+DXqnD9OS4lrJjJfou5YjRLkuyZl6wZkNMQ1pjz6xaPMqYpmx0lZu+bRMeUK7Nd3+osrIHAe65a4OQ=;
Dear Laurent ,
Hi ,
I went to build folder and delete all the past exist file. and then use Cmake-gui to create the build again . and then configure 2 times and then generate .I test this procedure 4 times with CGAL_dir from source or CGAL-dev path . and in Debug or release mode .
this is not any change in the output error and I usually see this :
I have typed make VERBOSE=1 clean AABB_demo
too . this is the result :
sara@ubuntu:~/CGAL-4.1/demo/AABB_tree/build$ 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
Scanning dependencies of target AABB_demo
[ 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 `Viewer':
/home/sara/CGAL-4.1/demo/AABB_tree/Viewer.cpp:8: undefined reference to `QGLViewer::QGLViewer(QWidget*, QGLWidget const*, QFlags<Qt::WindowType>)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function `Viewer::qt_metacall(QMetaObject::Call, int, void**)':
/home/sara/CGAL-4.1/demo/AABB_tree/build/Viewer_moc.cpp:64: undefined reference to `QGLViewer::qt_metacall(QMetaObject::Call, int, void**)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function `Viewer::qt_metacast(char const*)':
/home/sara/CGAL-4.1/demo/AABB_tree/build/Viewer_moc.cpp:59: undefined reference to `QGLViewer::qt_metacast(char const*)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function `QGLViewer::tr(char const*, char const*)':
/usr/include/QGLViewer/qglviewer.h:75: undefined reference to `QGLViewer::staticMetaObject'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function `Viewer':
/home/sara/CGAL-4.1/demo/AABB_tree/Viewer.cpp:8: undefined reference to `QGLViewer::QGLViewer(QWidget*, QGLWidget const*, QFlags<Qt::WindowType>)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o:(.rodata+0xe0): undefined reference to `QGLViewer::staticMetaObject'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o:(.rodata._ZTV6Viewer[vtable for Viewer]+0x188): undefined reference to `QGLViewer::setPlayPathKeyboardModifiers(QFlags<Qt::KeyboardModifier>)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o:(.rodata._ZTV6Viewer[vtable for Viewer]+0x18c): undefined reference to `QGLViewer::setAddKeyFrameKeyboardModifiers(QFlags<Qt::KeyboardModifier>)'
collect2: ld returned 1 exit status
make[2]: *** [AABB_demo] Error 1
make[1]: *** [CMakeFiles/AABB_demo.dir/all] Error 2
make: *** [all] Error 2
sara@ubuntu:~/CGAL-4.1/demo/AABB_tree/build$
sara@ubuntu:~/CGAL-4.1/demo/AABB_tree/build$ cd
sara@ubuntu:~$ cd CGAL-4.1/demo/AABB_tree/build
sara@ubuntu:~/CGAL-4.1/demo/AABB_tree/build$ 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
Scanning dependencies of target AABB_demo
[ 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 `Viewer':
/home/sara/CGAL-4.1/demo/AABB_tree/Viewer.cpp:8: undefined reference to `QGLViewer::QGLViewer(QWidget*, QGLWidget const*, QFlags<Qt::WindowType>)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function `Viewer::qt_metacall(QMetaObject::Call, int, void**)':
/home/sara/CGAL-4.1/demo/AABB_tree/build/Viewer_moc.cpp:64: undefined reference to `QGLViewer::qt_metacall(QMetaObject::Call, int, void**)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function `Viewer::qt_metacast(char const*)':
/home/sara/CGAL-4.1/demo/AABB_tree/build/Viewer_moc.cpp:59: undefined reference to `QGLViewer::qt_metacast(char const*)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function `QGLViewer::tr(char const*, char const*)':
/usr/include/QGLViewer/qglviewer.h:75: undefined reference to `QGLViewer::staticMetaObject'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o:(.rodata+0x2d8): undefined reference to `QGLViewer::staticMetaObject'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o:(.rodata._ZTV6Viewer[vtable for Viewer]+0x188): undefined reference to `QGLViewer::setPlayPathKeyboardModifiers(QFlags<Qt::KeyboardModifier>)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o:(.rodata._ZTV6Viewer[vtable for Viewer]+0x18c): undefined reference to `QGLViewer::setAddKeyFrameKeyboardModifiers(QFlags<Qt::KeyboardModifier>)'
collect2: ld returned 1 exit status
make[2]: *** [AABB_demo] Error 1
make[1]: *** [CMakeFiles/AABB_demo.dir/all] Error 2
make: *** [all] Error 2
sara@ubuntu:~/CGAL-4.1/demo/AABB_tree/build$ make VERBOSE=1 clean AABB_demo
make -f CMakeFiles/Makefile2 clean
make[1]: Entering directory `/home/sara/CGAL-4.1/demo/AABB_tree/build'
make -f CMakeFiles/AABB_demo.dir/build.make CMakeFiles/AABB_demo.dir/clean
make[2]: Entering directory `/home/sara/CGAL-4.1/demo/AABB_tree/build'
/usr/bin/cmake -P CMakeFiles/AABB_demo.dir/cmake_clean.cmake
make[2]: Leaving directory `/home/sara/CGAL-4.1/demo/AABB_tree/build'
make[1]: Leaving directory `/home/sara/CGAL-4.1/demo/AABB_tree/build'
/usr/bin/cmake -H/home/sara/CGAL-4.1/demo/AABB_tree -B/home/sara/CGAL-4.1/demo/AABB_tree/build --check-build-system CMakeFiles/Makefile.cmake 0
make -f CMakeFiles/Makefile2 AABB_demo
make[1]: Entering directory `/home/sara/CGAL-4.1/demo/AABB_tree/build'
/usr/bin/cmake -H/home/sara/CGAL-4.1/demo/AABB_tree -B/home/sara/CGAL-4.1/demo/AABB_tree/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/sara/CGAL-4.1/demo/AABB_tree/build/CMakeFiles 7
make -f CMakeFiles/Makefile2 CMakeFiles/AABB_demo.dir/all
make[2]: Entering directory `/home/sara/CGAL-4.1/demo/AABB_tree/build'
make -f CMakeFiles/AABB_demo.dir/build.make CMakeFiles/AABB_demo.dir/depend
make[3]: Entering directory `/home/sara/CGAL-4.1/demo/AABB_tree/build'
/usr/bin/cmake -E cmake_progress_report /home/sara/CGAL-4.1/demo/AABB_tree/build/CMakeFiles 7
[ 14%] Generating qrc_AABB_demo.cxx
/usr/bin/rcc -name AABB_demo -o /home/sara/CGAL-4.1/demo/AABB_tree/build/qrc_AABB_demo.cxx /home/sara/CGAL-4.1/demo/AABB_tree/AABB_demo.qrc
/usr/bin/cmake -E cmake_progress_report /home/sara/CGAL-4.1/demo/AABB_tree/build/CMakeFiles 3
[ 28%] Generating MainWindow_moc.cpp
/usr/bin/moc-qt4 -I/home/sara/CGAL-4.1/demo/AABB_tree/../../include -I/home/sara/CGAL-4.1/demo/AABB_tree/./include -I/home/sara/CGAL-4.1/demo/AABB_tree/. -I/usr/include -I/home/sara/CGAL-4.1/demo/AABB_tree/build -I/home/sara/CGAL-4.1/include -I/usr/include/qt4 -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtCore -DCGAL_USE_MPFR -DCGAL_USE_GMP -DQT_OPENGL_LIB -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -o /home/sara/CGAL-4.1/demo/AABB_tree/build/MainWindow_moc.cpp /home/sara/CGAL-4.1/demo/AABB_tree/MainWindow.h
/usr/bin/cmake -E cmake_progress_report /home/sara/CGAL-4.1/demo/AABB_tree/build/CMakeFiles 4
[ 42%] Generating Viewer_moc.cpp
/usr/bin/moc-qt4 -I/home/sara/CGAL-4.1/demo/AABB_tree/../../include -I/home/sara/CGAL-4.1/demo/AABB_tree/./include -I/home/sara/CGAL-4.1/demo/AABB_tree/. -I/usr/include -I/home/sara/CGAL-4.1/demo/AABB_tree/build -I/home/sara/CGAL-4.1/include -I/usr/include/qt4 -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtCore -DCGAL_USE_MPFR -DCGAL_USE_GMP -DQT_OPENGL_LIB -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -o /home/sara/CGAL-4.1/demo/AABB_tree/build/Viewer_moc.cpp /home/sara/CGAL-4.1/demo/AABB_tree/Viewer.h
/usr/bin/cmake -E cmake_progress_report /home/sara/CGAL-4.1/demo/AABB_tree/build/CMakeFiles 5
[ 57%] Generating Scene_moc.cpp
/usr/bin/moc-qt4 -I/home/sara/CGAL-4.1/demo/AABB_tree/../../include -I/home/sara/CGAL-4.1/demo/AABB_tree/./include -I/home/sara/CGAL-4.1/demo/AABB_tree/. -I/usr/include -I/home/sara/CGAL-4.1/demo/AABB_tree/build -I/home/sara/CGAL-4.1/include -I/usr/include/qt4 -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtCore -DCGAL_USE_MPFR -DCGAL_USE_GMP -DQT_OPENGL_LIB -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -o /home/sara/CGAL-4.1/demo/AABB_tree/build/Scene_moc.cpp /home/sara/CGAL-4.1/demo/AABB_tree/Scene.h
/usr/bin/cmake -E cmake_progress_report /home/sara/CGAL-4.1/demo/AABB_tree/build/CMakeFiles 6
[ 71%] Generating ui_MainWindow.h
/usr/bin/uic-qt4 -o /home/sara/CGAL-4.1/demo/AABB_tree/build/ui_MainWindow.h /home/sara/CGAL-4.1/demo/AABB_tree/MainWindow.ui
cd /home/sara/CGAL-4.1/demo/AABB_tree/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/sara/CGAL-4.1/demo/AABB_tree /home/sara/CGAL-4.1/demo/AABB_tree /home/sara/CGAL-4.1/demo/AABB_tree/build /home/sara/CGAL-4.1/demo/AABB_tree/build /home/sara/CGAL-4.1/demo/AABB_tree/build/CMakeFiles/AABB_demo.dir/DependInfo.cmake --color=
make[3]: Leaving directory `/home/sara/CGAL-4.1/demo/AABB_tree/build'
make -f CMakeFiles/AABB_demo.dir/build.make CMakeFiles/AABB_demo.dir/build
make[3]: Entering directory `/home/sara/CGAL-4.1/demo/AABB_tree/build'
/usr/bin/cmake -E cmake_progress_report /home/sara/CGAL-4.1/demo/AABB_tree/build/CMakeFiles 1
[ 85%] Building CXX object CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o
/usr/bin/c++ -DCGAL_USE_MPFR -DCGAL_USE_GMP -DQT_OPENGL_LIB -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -DQT_DEBUG -g -O2 -frounding-math -g -I/home/sara/CGAL-4.1/demo/AABB_tree/../../include -I/home/sara/CGAL-4.1/demo/AABB_tree/./include -I/home/sara/CGAL-4.1/demo/AABB_tree/. -I/home/sara/CGAL-4.1/demo/AABB_tree/build -I/home/sara/CGAL-4.1/include -isystem /usr/include/qt4 -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtCore -o CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o -c /home/sara/CGAL-4.1/demo/AABB_tree/AABB_demo.cpp
/usr/bin/cmake -E cmake_progress_report /home/sara/CGAL-4.1/demo/AABB_tree/build/CMakeFiles 2
[100%] Building CXX object CMakeFiles/AABB_demo.dir/qrc_AABB_demo.cxx.o
/usr/bin/c++ -DCGAL_USE_MPFR -DCGAL_USE_GMP -DQT_OPENGL_LIB -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -DQT_DEBUG -g -O2 -frounding-math -g -I/home/sara/CGAL-4.1/demo/AABB_tree/../../include -I/home/sara/CGAL-4.1/demo/AABB_tree/./include -I/home/sara/CGAL-4.1/demo/AABB_tree/. -I/home/sara/CGAL-4.1/demo/AABB_tree/build -I/home/sara/CGAL-4.1/include -isystem /usr/include/qt4 -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtCore -o CMakeFiles/AABB_demo.dir/qrc_AABB_demo.cxx.o -c /home/sara/CGAL-4.1/demo/AABB_tree/build/qrc_AABB_demo.cxx
Linking CXX executable AABB_demo
/usr/bin/cmake -E cmake_link_script CMakeFiles/AABB_demo.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -frounding-math -g -Wl,-Bsymbolic-functions CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o CMakeFiles/AABB_demo.dir/qrc_AABB_demo.cxx.o -o AABB_demo -rdynamic -L/home/sara/CGAL-4.1/lib -lmpfr -lgmp /home/sara/CGAL-4.1/lib/libCGAL_Qt4.so /home/sara/CGAL-4.1/lib/libCGAL.so -lboost_thread-mt -lboost_system-mt -lQtOpenGL -lQtGui -lQtCore -lGLU -lGL -lSM -lICE -lX11 -lXext -lQtOpenGL -lQtScript -lQtGui -lQtXml -lQtCore /home/sara/CGAL-4.1/lib/libCGAL_Qt4.so /home/sara/CGAL-4.1/lib/libCGAL.so -lboost_thread-mt -lboost_system-mt -lQtOpenGL -lQtGui -lQtCore -lGLU -lGL -lSM -lICE -lX11 -lXext -lqglviewer -lGL -lGLU /home/sara/CGAL-4.1/lib/libCGAL_Qt4.so /home/sara/CGAL-4.1/lib/libCGAL.so -lboost_thread-mt -lboost_system-mt -lQtOpenGL -lQtGui -lQtCore -lSM -lICE -lX11 -lXext -lQtScript -lQtXml -lqglviewer -Wl,-rpath,/home/sara/CGAL-4.1/lib
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function `Viewer':
/home/sara/CGAL-4.1/demo/AABB_tree/Viewer.cpp:8: undefined reference to `QGLViewer::QGLViewer(QWidget*, QGLWidget const*, QFlags<Qt::WindowType>)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function `Viewer::qt_metacall(QMetaObject::Call, int, void**)':
/home/sara/CGAL-4.1/demo/AABB_tree/build/Viewer_moc.cpp:64: undefined reference to `QGLViewer::qt_metacall(QMetaObject::Call, int, void**)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function `Viewer::qt_metacast(char const*)':
/home/sara/CGAL-4.1/demo/AABB_tree/build/Viewer_moc.cpp:59: undefined reference to `QGLViewer::qt_metacast(char const*)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function `QGLViewer::tr(char const*, char const*)':
/usr/include/QGLViewer/qglviewer.h:75: undefined reference to `QGLViewer::staticMetaObject'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o:(.rodata+0x2d8): undefined reference to `QGLViewer::staticMetaObject'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o:(.rodata._ZTV6Viewer[vtable for Viewer]+0x188): undefined reference to `QGLViewer::setPlayPathKeyboardModifiers(QFlags<Qt::KeyboardModifier>)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o:(.rodata._ZTV6Viewer[vtable for Viewer]+0x18c): undefined reference to `QGLViewer::setAddKeyFrameKeyboardModifiers(QFlags<Qt::KeyboardModifier>)'
collect2: ld returned 1 exit status
make[3]: *** [AABB_demo] Error 1
make[3]: Leaving directory `/home/sara/CGAL-4.1/demo/AABB_tree/build'
make[2]: *** [CMakeFiles/AABB_demo.dir/all] Error 2
make[2]: Leaving directory `/home/sara/CGAL-4.1/demo/AABB_tree/build'
make[1]: *** [CMakeFiles/AABB_demo.dir/rule] Error 2
make[1]: Leaving directory `/home/sara/CGAL-4.1/demo/AABB_tree/build'
make: *** [AABB_demo] Error 2
sara@ubuntu:~/CGAL-4.1/demo/AABB_tree/build$
From: Laurent Rineau (CGAL/GeometryFactory) <>
To:
Sent: Thursday, January 31, 2013 7:56 AM
Subject: Re: Re: [cgal-discuss] running a demo on ubuntu Linux
Le jeudi 31 janvier 2013 07:16:09 sara ershadi a écrit :
> Dear Laurent ,
>
> Hi ,
>
> I've downloaded CGAL by this command :
> tar xzf CGAL-4.1.tar.gz
> then I extract it to CGAL-4.1 in Home folder.
> But there is wondering point . the folder axuilary include that should
> contain GMP and MPFR is empty.
That is normal. As the README file of that directory says, it is only there
for use on Microsoft Windows.
> when I open Cmake-gui and set the source and
> build to HOme/CGAL .
> it list all dependency and they are the path that are set befor when I have
> installed CGAL-dev . this path are for the CGAL-dev dependency . and they
> are not dependencies that dericed from my source CGAL .it is obiviouse
> since My sourec CGAL-4.1 is package only that seems it is not contain many
> of required include axuiliary file.
Dependencies of CGAL are external to CGAL, and must be installed by users. In
your case, GMP, MPFR, and Boost are installed by the package manager of
Ubuntu. And CMake found them in /usr/include dans /usr/lib or /usr/lib64/.
That is normal.
> unfortunatly CGAL_dir this time is the CGAL-dev installed Path and was not
> my sourec installed Home/CGAL-4.1
You must set CGAL_DIR yourself to the directory where you have configured and
build CGAL sources.
> then I changed it and run configure .
> and then generate all things was true . but
>
> 1- I don't know What should I do after generate a demo for make the solution
> ? since I am using Cmake-gui .
You just have to type 'make' in the directory where cmake has generated the
"Makefile" file.
> 2- I try it after building the demo by CMake-gui and continue the remaining
> by terminal and I go to the path of build and run cmake .. and then make
> this is result in terminal :
[...]
> sara@ubuntu:~/CGAL-4.1/demo/AABB_tree/build$ 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
> Scanning dependencies of target AABB_demo
> [ 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 `Viewer':
> /home/sara/CGAL-4.1/demo/AABB_tree/Viewer.cpp:8: undefined reference to
> `QGLViewer::QGLViewer(QWidget*, QGLWidget const*, QFlags<Qt::WindowType>)'
I would like to the see the result of the following command:
make VERBOSE=1 clean AABB_demo
It will show all compilation commands, and will help to understand.
--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
Hi ,
I went to build folder and delete all the past exist file. and then use Cmake-gui to create the build again . and then configure 2 times and then generate .I test this procedure 4 times with CGAL_dir from source or CGAL-dev path . and in Debug or release mode .
this is not any change in the output error and I usually see this :
I have typed make VERBOSE=1 clean AABB_demo
too . this is the result :
sara@ubuntu:~/CGAL-4.1/demo/AABB_tree/build$ 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
Scanning dependencies of target AABB_demo
[ 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 `Viewer':
/home/sara/CGAL-4.1/demo/AABB_tree/Viewer.cpp:8: undefined reference to `QGLViewer::QGLViewer(QWidget*, QGLWidget const*, QFlags<Qt::WindowType>)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function `Viewer::qt_metacall(QMetaObject::Call, int, void**)':
/home/sara/CGAL-4.1/demo/AABB_tree/build/Viewer_moc.cpp:64: undefined reference to `QGLViewer::qt_metacall(QMetaObject::Call, int, void**)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function `Viewer::qt_metacast(char const*)':
/home/sara/CGAL-4.1/demo/AABB_tree/build/Viewer_moc.cpp:59: undefined reference to `QGLViewer::qt_metacast(char const*)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function `QGLViewer::tr(char const*, char const*)':
/usr/include/QGLViewer/qglviewer.h:75: undefined reference to `QGLViewer::staticMetaObject'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function `Viewer':
/home/sara/CGAL-4.1/demo/AABB_tree/Viewer.cpp:8: undefined reference to `QGLViewer::QGLViewer(QWidget*, QGLWidget const*, QFlags<Qt::WindowType>)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o:(.rodata+0xe0): undefined reference to `QGLViewer::staticMetaObject'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o:(.rodata._ZTV6Viewer[vtable for Viewer]+0x188): undefined reference to `QGLViewer::setPlayPathKeyboardModifiers(QFlags<Qt::KeyboardModifier>)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o:(.rodata._ZTV6Viewer[vtable for Viewer]+0x18c): undefined reference to `QGLViewer::setAddKeyFrameKeyboardModifiers(QFlags<Qt::KeyboardModifier>)'
collect2: ld returned 1 exit status
make[2]: *** [AABB_demo] Error 1
make[1]: *** [CMakeFiles/AABB_demo.dir/all] Error 2
make: *** [all] Error 2
sara@ubuntu:~/CGAL-4.1/demo/AABB_tree/build$
sara@ubuntu:~/CGAL-4.1/demo/AABB_tree/build$ cd
sara@ubuntu:~$ cd CGAL-4.1/demo/AABB_tree/build
sara@ubuntu:~/CGAL-4.1/demo/AABB_tree/build$ 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
Scanning dependencies of target AABB_demo
[ 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 `Viewer':
/home/sara/CGAL-4.1/demo/AABB_tree/Viewer.cpp:8: undefined reference to `QGLViewer::QGLViewer(QWidget*, QGLWidget const*, QFlags<Qt::WindowType>)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function `Viewer::qt_metacall(QMetaObject::Call, int, void**)':
/home/sara/CGAL-4.1/demo/AABB_tree/build/Viewer_moc.cpp:64: undefined reference to `QGLViewer::qt_metacall(QMetaObject::Call, int, void**)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function `Viewer::qt_metacast(char const*)':
/home/sara/CGAL-4.1/demo/AABB_tree/build/Viewer_moc.cpp:59: undefined reference to `QGLViewer::qt_metacast(char const*)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function `QGLViewer::tr(char const*, char const*)':
/usr/include/QGLViewer/qglviewer.h:75: undefined reference to `QGLViewer::staticMetaObject'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o:(.rodata+0x2d8): undefined reference to `QGLViewer::staticMetaObject'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o:(.rodata._ZTV6Viewer[vtable for Viewer]+0x188): undefined reference to `QGLViewer::setPlayPathKeyboardModifiers(QFlags<Qt::KeyboardModifier>)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o:(.rodata._ZTV6Viewer[vtable for Viewer]+0x18c): undefined reference to `QGLViewer::setAddKeyFrameKeyboardModifiers(QFlags<Qt::KeyboardModifier>)'
collect2: ld returned 1 exit status
make[2]: *** [AABB_demo] Error 1
make[1]: *** [CMakeFiles/AABB_demo.dir/all] Error 2
make: *** [all] Error 2
sara@ubuntu:~/CGAL-4.1/demo/AABB_tree/build$ make VERBOSE=1 clean AABB_demo
make -f CMakeFiles/Makefile2 clean
make[1]: Entering directory `/home/sara/CGAL-4.1/demo/AABB_tree/build'
make -f CMakeFiles/AABB_demo.dir/build.make CMakeFiles/AABB_demo.dir/clean
make[2]: Entering directory `/home/sara/CGAL-4.1/demo/AABB_tree/build'
/usr/bin/cmake -P CMakeFiles/AABB_demo.dir/cmake_clean.cmake
make[2]: Leaving directory `/home/sara/CGAL-4.1/demo/AABB_tree/build'
make[1]: Leaving directory `/home/sara/CGAL-4.1/demo/AABB_tree/build'
/usr/bin/cmake -H/home/sara/CGAL-4.1/demo/AABB_tree -B/home/sara/CGAL-4.1/demo/AABB_tree/build --check-build-system CMakeFiles/Makefile.cmake 0
make -f CMakeFiles/Makefile2 AABB_demo
make[1]: Entering directory `/home/sara/CGAL-4.1/demo/AABB_tree/build'
/usr/bin/cmake -H/home/sara/CGAL-4.1/demo/AABB_tree -B/home/sara/CGAL-4.1/demo/AABB_tree/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/sara/CGAL-4.1/demo/AABB_tree/build/CMakeFiles 7
make -f CMakeFiles/Makefile2 CMakeFiles/AABB_demo.dir/all
make[2]: Entering directory `/home/sara/CGAL-4.1/demo/AABB_tree/build'
make -f CMakeFiles/AABB_demo.dir/build.make CMakeFiles/AABB_demo.dir/depend
make[3]: Entering directory `/home/sara/CGAL-4.1/demo/AABB_tree/build'
/usr/bin/cmake -E cmake_progress_report /home/sara/CGAL-4.1/demo/AABB_tree/build/CMakeFiles 7
[ 14%] Generating qrc_AABB_demo.cxx
/usr/bin/rcc -name AABB_demo -o /home/sara/CGAL-4.1/demo/AABB_tree/build/qrc_AABB_demo.cxx /home/sara/CGAL-4.1/demo/AABB_tree/AABB_demo.qrc
/usr/bin/cmake -E cmake_progress_report /home/sara/CGAL-4.1/demo/AABB_tree/build/CMakeFiles 3
[ 28%] Generating MainWindow_moc.cpp
/usr/bin/moc-qt4 -I/home/sara/CGAL-4.1/demo/AABB_tree/../../include -I/home/sara/CGAL-4.1/demo/AABB_tree/./include -I/home/sara/CGAL-4.1/demo/AABB_tree/. -I/usr/include -I/home/sara/CGAL-4.1/demo/AABB_tree/build -I/home/sara/CGAL-4.1/include -I/usr/include/qt4 -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtCore -DCGAL_USE_MPFR -DCGAL_USE_GMP -DQT_OPENGL_LIB -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -o /home/sara/CGAL-4.1/demo/AABB_tree/build/MainWindow_moc.cpp /home/sara/CGAL-4.1/demo/AABB_tree/MainWindow.h
/usr/bin/cmake -E cmake_progress_report /home/sara/CGAL-4.1/demo/AABB_tree/build/CMakeFiles 4
[ 42%] Generating Viewer_moc.cpp
/usr/bin/moc-qt4 -I/home/sara/CGAL-4.1/demo/AABB_tree/../../include -I/home/sara/CGAL-4.1/demo/AABB_tree/./include -I/home/sara/CGAL-4.1/demo/AABB_tree/. -I/usr/include -I/home/sara/CGAL-4.1/demo/AABB_tree/build -I/home/sara/CGAL-4.1/include -I/usr/include/qt4 -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtCore -DCGAL_USE_MPFR -DCGAL_USE_GMP -DQT_OPENGL_LIB -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -o /home/sara/CGAL-4.1/demo/AABB_tree/build/Viewer_moc.cpp /home/sara/CGAL-4.1/demo/AABB_tree/Viewer.h
/usr/bin/cmake -E cmake_progress_report /home/sara/CGAL-4.1/demo/AABB_tree/build/CMakeFiles 5
[ 57%] Generating Scene_moc.cpp
/usr/bin/moc-qt4 -I/home/sara/CGAL-4.1/demo/AABB_tree/../../include -I/home/sara/CGAL-4.1/demo/AABB_tree/./include -I/home/sara/CGAL-4.1/demo/AABB_tree/. -I/usr/include -I/home/sara/CGAL-4.1/demo/AABB_tree/build -I/home/sara/CGAL-4.1/include -I/usr/include/qt4 -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtCore -DCGAL_USE_MPFR -DCGAL_USE_GMP -DQT_OPENGL_LIB -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -o /home/sara/CGAL-4.1/demo/AABB_tree/build/Scene_moc.cpp /home/sara/CGAL-4.1/demo/AABB_tree/Scene.h
/usr/bin/cmake -E cmake_progress_report /home/sara/CGAL-4.1/demo/AABB_tree/build/CMakeFiles 6
[ 71%] Generating ui_MainWindow.h
/usr/bin/uic-qt4 -o /home/sara/CGAL-4.1/demo/AABB_tree/build/ui_MainWindow.h /home/sara/CGAL-4.1/demo/AABB_tree/MainWindow.ui
cd /home/sara/CGAL-4.1/demo/AABB_tree/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/sara/CGAL-4.1/demo/AABB_tree /home/sara/CGAL-4.1/demo/AABB_tree /home/sara/CGAL-4.1/demo/AABB_tree/build /home/sara/CGAL-4.1/demo/AABB_tree/build /home/sara/CGAL-4.1/demo/AABB_tree/build/CMakeFiles/AABB_demo.dir/DependInfo.cmake --color=
make[3]: Leaving directory `/home/sara/CGAL-4.1/demo/AABB_tree/build'
make -f CMakeFiles/AABB_demo.dir/build.make CMakeFiles/AABB_demo.dir/build
make[3]: Entering directory `/home/sara/CGAL-4.1/demo/AABB_tree/build'
/usr/bin/cmake -E cmake_progress_report /home/sara/CGAL-4.1/demo/AABB_tree/build/CMakeFiles 1
[ 85%] Building CXX object CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o
/usr/bin/c++ -DCGAL_USE_MPFR -DCGAL_USE_GMP -DQT_OPENGL_LIB -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -DQT_DEBUG -g -O2 -frounding-math -g -I/home/sara/CGAL-4.1/demo/AABB_tree/../../include -I/home/sara/CGAL-4.1/demo/AABB_tree/./include -I/home/sara/CGAL-4.1/demo/AABB_tree/. -I/home/sara/CGAL-4.1/demo/AABB_tree/build -I/home/sara/CGAL-4.1/include -isystem /usr/include/qt4 -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtCore -o CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o -c /home/sara/CGAL-4.1/demo/AABB_tree/AABB_demo.cpp
/usr/bin/cmake -E cmake_progress_report /home/sara/CGAL-4.1/demo/AABB_tree/build/CMakeFiles 2
[100%] Building CXX object CMakeFiles/AABB_demo.dir/qrc_AABB_demo.cxx.o
/usr/bin/c++ -DCGAL_USE_MPFR -DCGAL_USE_GMP -DQT_OPENGL_LIB -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -DQT_DEBUG -g -O2 -frounding-math -g -I/home/sara/CGAL-4.1/demo/AABB_tree/../../include -I/home/sara/CGAL-4.1/demo/AABB_tree/./include -I/home/sara/CGAL-4.1/demo/AABB_tree/. -I/home/sara/CGAL-4.1/demo/AABB_tree/build -I/home/sara/CGAL-4.1/include -isystem /usr/include/qt4 -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtCore -o CMakeFiles/AABB_demo.dir/qrc_AABB_demo.cxx.o -c /home/sara/CGAL-4.1/demo/AABB_tree/build/qrc_AABB_demo.cxx
Linking CXX executable AABB_demo
/usr/bin/cmake -E cmake_link_script CMakeFiles/AABB_demo.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -frounding-math -g -Wl,-Bsymbolic-functions CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o CMakeFiles/AABB_demo.dir/qrc_AABB_demo.cxx.o -o AABB_demo -rdynamic -L/home/sara/CGAL-4.1/lib -lmpfr -lgmp /home/sara/CGAL-4.1/lib/libCGAL_Qt4.so /home/sara/CGAL-4.1/lib/libCGAL.so -lboost_thread-mt -lboost_system-mt -lQtOpenGL -lQtGui -lQtCore -lGLU -lGL -lSM -lICE -lX11 -lXext -lQtOpenGL -lQtScript -lQtGui -lQtXml -lQtCore /home/sara/CGAL-4.1/lib/libCGAL_Qt4.so /home/sara/CGAL-4.1/lib/libCGAL.so -lboost_thread-mt -lboost_system-mt -lQtOpenGL -lQtGui -lQtCore -lGLU -lGL -lSM -lICE -lX11 -lXext -lqglviewer -lGL -lGLU /home/sara/CGAL-4.1/lib/libCGAL_Qt4.so /home/sara/CGAL-4.1/lib/libCGAL.so -lboost_thread-mt -lboost_system-mt -lQtOpenGL -lQtGui -lQtCore -lSM -lICE -lX11 -lXext -lQtScript -lQtXml -lqglviewer -Wl,-rpath,/home/sara/CGAL-4.1/lib
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function `Viewer':
/home/sara/CGAL-4.1/demo/AABB_tree/Viewer.cpp:8: undefined reference to `QGLViewer::QGLViewer(QWidget*, QGLWidget const*, QFlags<Qt::WindowType>)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function `Viewer::qt_metacall(QMetaObject::Call, int, void**)':
/home/sara/CGAL-4.1/demo/AABB_tree/build/Viewer_moc.cpp:64: undefined reference to `QGLViewer::qt_metacall(QMetaObject::Call, int, void**)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function `Viewer::qt_metacast(char const*)':
/home/sara/CGAL-4.1/demo/AABB_tree/build/Viewer_moc.cpp:59: undefined reference to `QGLViewer::qt_metacast(char const*)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o: In function `QGLViewer::tr(char const*, char const*)':
/usr/include/QGLViewer/qglviewer.h:75: undefined reference to `QGLViewer::staticMetaObject'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o:(.rodata+0x2d8): undefined reference to `QGLViewer::staticMetaObject'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o:(.rodata._ZTV6Viewer[vtable for Viewer]+0x188): undefined reference to `QGLViewer::setPlayPathKeyboardModifiers(QFlags<Qt::KeyboardModifier>)'
CMakeFiles/AABB_demo.dir/AABB_demo.cpp.o:(.rodata._ZTV6Viewer[vtable for Viewer]+0x18c): undefined reference to `QGLViewer::setAddKeyFrameKeyboardModifiers(QFlags<Qt::KeyboardModifier>)'
collect2: ld returned 1 exit status
make[3]: *** [AABB_demo] Error 1
make[3]: Leaving directory `/home/sara/CGAL-4.1/demo/AABB_tree/build'
make[2]: *** [CMakeFiles/AABB_demo.dir/all] Error 2
make[2]: Leaving directory `/home/sara/CGAL-4.1/demo/AABB_tree/build'
make[1]: *** [CMakeFiles/AABB_demo.dir/rule] Error 2
make[1]: Leaving directory `/home/sara/CGAL-4.1/demo/AABB_tree/build'
make: *** [AABB_demo] Error 2
sara@ubuntu:~/CGAL-4.1/demo/AABB_tree/build$
From: Laurent Rineau (CGAL/GeometryFactory) <>
To:
Sent: Thursday, January 31, 2013 7:56 AM
Subject: Re: Re: [cgal-discuss] running a demo on ubuntu Linux
Le jeudi 31 janvier 2013 07:16:09 sara ershadi a écrit :
> Dear Laurent ,
>
> Hi ,
>
> I've downloaded CGAL by this command :
> tar xzf CGAL-4.1.tar.gz
> then I extract it to CGAL-4.1 in Home folder.
> But there is wondering point . the folder axuilary include that should
> contain GMP and MPFR is empty.
That is normal. As the README file of that directory says, it is only there
for use on Microsoft Windows.
> when I open Cmake-gui and set the source and
> build to HOme/CGAL .
> it list all dependency and they are the path that are set befor when I have
> installed CGAL-dev . this path are for the CGAL-dev dependency . and they
> are not dependencies that dericed from my source CGAL .it is obiviouse
> since My sourec CGAL-4.1 is package only that seems it is not contain many
> of required include axuiliary file.
Dependencies of CGAL are external to CGAL, and must be installed by users. In
your case, GMP, MPFR, and Boost are installed by the package manager of
Ubuntu. And CMake found them in /usr/include dans /usr/lib or /usr/lib64/.
That is normal.
> unfortunatly CGAL_dir this time is the CGAL-dev installed Path and was not
> my sourec installed Home/CGAL-4.1
You must set CGAL_DIR yourself to the directory where you have configured and
build CGAL sources.
> then I changed it and run configure .
> and then generate all things was true . but
>
> 1- I don't know What should I do after generate a demo for make the solution
> ? since I am using Cmake-gui .
You just have to type 'make' in the directory where cmake has generated the
"Makefile" file.
> 2- I try it after building the demo by CMake-gui and continue the remaining
> by terminal and I go to the path of build and run cmake .. and then make
> this is result in terminal :
[...]
> sara@ubuntu:~/CGAL-4.1/demo/AABB_tree/build$ 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
> Scanning dependencies of target AABB_demo
> [ 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 `Viewer':
> /home/sara/CGAL-4.1/demo/AABB_tree/Viewer.cpp:8: undefined reference to
> `QGLViewer::QGLViewer(QWidget*, QGLWidget const*, QFlags<Qt::WindowType>)'
I would like to the see the result of the following command:
make VERBOSE=1 clean AABB_demo
It will show all compilation commands, and will help to understand.
--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
- [cgal-discuss] running a demo on ubuntu Linux, sara, 01/29/2013
- Re: [cgal-discuss] running a demo on ubuntu Linux, Laurent Rineau (CGAL/GeometryFactory), 01/29/2013
- Re: [cgal-discuss] running a demo on ubuntu Linux, sara ershadi, 01/30/2013
- Re: [cgal-discuss] running a demo on ubuntu Linux, sara ershadi, 01/30/2013
- Re: Re: [cgal-discuss] running a demo on ubuntu Linux, Laurent Rineau (CGAL/GeometryFactory), 01/31/2013
- Re: [cgal-discuss] running a demo on ubuntu Linux, sara ershadi, 01/31/2013
- Re: Re: [cgal-discuss] running a demo on ubuntu Linux, Laurent Rineau (CGAL/GeometryFactory), 01/31/2013
- Re: Re: [cgal-discuss] running a demo on ubuntu Linux, sara ershadi, 01/31/2013
- Re: Re: [cgal-discuss] running a demo on ubuntu Linux, Laurent Rineau (CGAL/GeometryFactory), 01/31/2013
- Re: [cgal-discuss] running a demo on ubuntu Linux, sara ershadi, 01/31/2013
- Re: Re: [cgal-discuss] running a demo on ubuntu Linux, Laurent Rineau (CGAL/GeometryFactory), 01/31/2013
- Re: [cgal-discuss] running a demo on ubuntu Linux, sara ershadi, 01/30/2013
- Re: [cgal-discuss] running a demo on ubuntu Linux, sara ershadi, 01/30/2013
- Re: [cgal-discuss] running a demo on ubuntu Linux, Laurent Rineau (CGAL/GeometryFactory), 01/29/2013
Archive powered by MHonArc 2.6.18.