Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: Problems making CGAL demos - libQtOpenGL - on Ubuntu 11.10

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: Problems making CGAL demos - libQtOpenGL - on Ubuntu 11.10


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Re: Problems making CGAL demos - libQtOpenGL - on Ubuntu 11.10
  • Date: Wed, 25 Apr 2012 11:44:11 +0200
  • Organization: GeometryFactory

Le mardi 24 avril 2012 20:45:05 stupormundi a écrit :
> I realized that cmake indicated that it DID find the libs:
> -- Found QGLViewer: /usr/lib/x86_64-linux-gnu/libqglviewer-qt4.so
>
> I then checked CMakeCache.txt and found these entries :
>
> //Path to a file.
> QGLVIEWER_INCLUDE_DIR:PATH=/usr/include
>
> //The QGLViewer library
> QGLVIEWER_LIBRARIES:FILEPATH=/usr/lib/x86_64-linux-gnu/libqglviewer-qt4.so
>
> //Path to a library.
> QGLVIEWER_LIBRARY_DEBUG:FILEPATH=QGLVIEWER_LIBRARY_DEBUG-NOTFOUND
>
> //Path to a library.
> QGLVIEWER_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libqglviewer-qt
> 4.so

QGLviewer is indeed found, at least the release version, that can be used
also
in Debug builds (on Linux the distribution usually do not ship debug
versions,
but only the release version, plus separate debug symbols).

That is fine.

> and :
>
> //Path to a file.
> QT_QTOPENGL_INCLUDE_DIR:PATH=/usr/include/qt4/QtOpenGL
>
> //The Qt QTOPENGL library
> QT_QTOPENGL_LIBRARY:STRING=/usr/lib/x86_64-linux-gnu/libQtOpenGL.so
>
> //Path to a library.
> QT_QTOPENGL_LIBRARY_DEBUG:FILEPATH=QT_QTOPENGL_LIBRARY_DEBUG-NOTFOUND
>
> //Path to a library.
> QT_QTOPENGL_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libQtOpenGL.s
> o

Same: QtOpenGL is found, and the library is is /usr/lib/x86_64-linux-gnu/.

> To compare, the complaint from make is :
> make[2]: *** No rule to make target `/usr/lib/libQtOpenGL.so', needed by
> `AABB_tree/AABB_demo'. Stop.

Really strange. Have you started the CMake configuration from an empty cache?
Could it be that libQtOpenGL.so was in /usr/lib/ in a previous version of
your
Linux distribution, and you have not cleared the CMake cache since?

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

Top of Page