Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Using Qt with CGAL

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Using Qt with CGAL


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Using Qt with CGAL
  • Date: Mon, 09 Jan 2012 10:23:56 +0100
  • Organization: GeometryFactory

Le lundi 09 janvier 2012 05:14:25 Apurv Verma a écrit :
> Hello,
> I am working on building a "Robot Localization Visualizer" using CGAL and
> Qt. I already installed Qt using the Synaptic package manager.
> The examples given in the examples directory also work fine.
>
> But the one's given in the demo/ folder don't work. The following is the
> message which I get when I qmake.
>
>
> apurv@deepu:~/ProgramFiles/CGAL-3.8/demo/AABB_tree$
> cmake .
> -- Build type: Release
> -- USING CXXFLAGS = ' -frounding-math -O3 -DNDEBUG'
> -- USING EXEFLAGS = ' '
> -- Targetting Unix Makefiles
> -- Using /usr/bin/c++ compiler.
> *-- NOTICE: This demo requires QGLViewer, Qt4, and will not be compiled.*
> -- Configuring done
> -- Generating done
> -- Build files have been written to:
> /home/apurv/ProgramFiles/CGAL-3.8/demo/AABB_tree
>
>
> It appears CGAL can't these libraries though I have already installed both
> using the Synaptic package manager.
> What settings do I need to do?

Have a look at the CMake variables
- QMAKE_EXECUTABLE (use to find Qt4 files),
- QGLVIEWER_INCLUDE_DIR (path to the header files)
- QGLVIEWER_LIBRARY_RELEASE (full path of the libQGLViewer.so file)

By the way, what is your Linux distribution? Debian? Ubuntu?

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