Subject: CGAL users discussion list
List archive
- From: Joachim Reichel <>
- To:
- Subject: Re: Compiling the Polyhedron demo on Debian GNU/Linux Re: [cgal-discuss]
- Date: Thu, 02 Apr 2009 19:16:09 +0200
Hi,
>> I did the trick you told me (and I also installed lapack and atlas).
>> It compiles now, thank you very much. But it doesn't link. Still
>> problems with Qt locations. I'll try to make it tonight.
>
> Maybe the packaging of Qt4 is quite tricky also.
>
> Joachim, did you have any problem to compile CGAL demos that depend on
> Qt4+QGLViewer, on Debian?
yes, the QGLViewer packaging in Debian is quite strange.
Alejandro, I used the following flags when invoking cmake:
-DQGLVIEWER_INCLUDE_DIR=$HOME/local/include
-DQGLVIEWER_LIBRARY_RELEASE=/usr/lib/libqglviewer-qt4.so
-DQGLVIEWER_LIBRARY_DEBUG=/usr/lib/libqglviewer-qt4.so
-DCGAL_EXE_LINKER_FLAGS=-lCGAL_Qt4
The first one is equivalent to what Laurent already told you, but you
don't need to manually edit the CMakeCache.txt file. The next two are
required because the QGLViewer library name is non-standard in the
Debian package. The last flag is finally needed because there seems to
be a problem in the cmake setup of this demo.
Now all linker errors except one (undefined reference to "dgelss") are
gone. I don't have LAPACK/BLAS/TAUCS installed. Maybe this link error
does not show up if you have these libraries installed.
Joachim
- Re: Compiling the Polyhedron demo on Debian GNU/Linux Re: [cgal-discuss], Alejandro Aguilar Sierra, 04/01/2009
- Re: Compiling the Polyhedron demo on Debian GNU/Linux Re: [cgal-discuss], Laurent Rineau (GeometryFactory), 04/02/2009
- Re: Compiling the Polyhedron demo on Debian GNU/Linux Re: [cgal-discuss], Joachim Reichel, 04/02/2009
- Re: Compiling the Polyhedron demo on Debian GNU/Linux Re: [cgal-discuss], Laurent Rineau (GeometryFactory), 04/02/2009
- Re: Compiling the Polyhedron demo on Debian GNU/Linux Re: [cgal-discuss], Alejandro Aguilar Sierra, 04/03/2009
- Re: Compiling the Polyhedron demo on Debian GNU/Linux Re: [cgal-discuss], Laurent Rineau (GeometryFactory), 04/03/2009
- Re: Compiling the Polyhedron demo on Debian GNU/Linux Re: [cgal-discuss], Alejandro Aguilar Sierra, 04/03/2009
- Re: Compiling the Polyhedron demo on Debian GNU/Linux Re: [cgal-discuss], Laurent Rineau (GeometryFactory), 04/02/2009
- Re: Compiling the Polyhedron demo on Debian GNU/Linux Re: [cgal-discuss], Joachim Reichel, 04/02/2009
- Re: Compiling the Polyhedron demo on Debian GNU/Linux Re: [cgal-discuss], Laurent Rineau (GeometryFactory), 04/02/2009
Archive powered by MHonArc 2.6.16.