Subject: CGAL users discussion list
List archive
- From: Eric Le Goff <>
- To:
- Subject: Re: [cgal-discuss] building CGAL on cygwin/windows
- Date: Fri, 2 Sep 2011 10:17:09 +0200
Hi Sebastien,
Thanks for your quick answer.
I actually installed libQGLViewer (both from source and from libQGLViewer.exe
My problem would them be to not being able to configure cmake to find it.
From your pointed documentation , we have indeed :
Variable | Description | Type |
QGLVIEWERROOT | Root directory of the QGViewer library | Environment |
QGLVIEWER_INCLUDE_DIR | Directory containing the QGLViewer/qglviewer.h file | CMake |
QGLVIEWER_LIBRARY_RELEASE | Full pathname to a release build of the QGLViewer library | CMake |
QGLVIEWER_LIBRARY_DEBUG | Full pathname to a debug build of the QGLViewer library | CMake |
I set the QGLVIEWERROOT variable as described
I guess the issue remains in the cmake configuration
In my CMakeCache.txt I have
[...]
//Path to a file.
QGLVIEWER_INCLUDE_DIR:PATH=QGLVIEWER_INCLUDE_DIR-NOTFOUND
//The QGLViewer library
QGLVIEWER_LIBRARIES:FILEPATH=/usr/lib/libQGLViewer.dll.a
//Path to a library.
QGLVIEWER_LIBRARY_DEBUG:FILEPATH=QGLVIEWER_LIBRARY_DEBUG-NOTFOUND
//Path to a library.
QGLVIEWER_LIBRARY_RELEASE:FILEPATH=/usr/lib/libQGLViewer.dll.a
[..]
I have no idea which value I should set for the two missing cmake variables
Any idea ?
Regards.
--
Eric Le Goff
http://gplus.to/elegoff
On Thu, Sep 1, 2011 at 5:55 PM, Sebastien Loriot (GeometryFactory) <> wrote:
> Did you install libQGLViewer and configure cmake to find it?
>
> Look here:
> http://www.cgal.org/Manual/latest/doc_html/installation_manual/Chapter_installation_manual.html#Subsection_4.12
> and to the section QGLViewer library on the same page
> (with the array on cmake variables)
>
>
> Sebastien.
>
> Eric Le Goff wrote:
>>
>> Sorry if this has been asked already since I am new to CGAL
>>
>> I am attempting to build CGAL (I am using 3-9 beta1) on my windows box.
>> I am using cygwin.
>>
>> So far I was able to build the CGAL DLL correctly(so it seems) and to
>> build/run the examples
>>
>> But to run the demos, my cmake fails because of the dependency on
>> QGLViewer
>>
>> I have built libQLViewer.dll from source through cygwin (that seems
>> succesful) but still i am failing to build the demos
>> ("NOTICE: This demo requires QGLViewer, and will not be compiled")
>>
>> (My attempt was to build from C:\Program
>> Files\CGAL-3.9-beta1\demo\AABB_tree, i.e /cygdrive/c/Program
>> Files/CGAL-3.9-beta1/demo/AABB_tree
>>
>> Was anyone already able to build CGAL demos on Windows/cygwin ?
>> If so, would there be a step I was missing ?
>>
>>
>> Here is my console in case it helps
>>
>> elegoff@myHost /cygdrive/c/Program Files/CGAL-3.9-beta1/demo/AABB_tree
>> $ cmake .
>> -- The C compiler identification is GNU
>> -- The CXX compiler identification is GNU
>> -- Check for working C compiler: /usr/bin/gcc.exe
>> -- Check for working C compiler: /usr/bin/gcc.exe -- works
>> -- Detecting C compiler ABI info
>> -- Detecting C compiler ABI info - done
>> -- Check for working CXX compiler: /usr/bin/c++.exe
>> -- Check for working CXX compiler: /usr/bin/c++.exe -- works
>> -- Detecting CXX compiler ABI info
>> -- Detecting CXX compiler ABI info - done
>> -- Build type: Release
>> -- USING CXXFLAGS = ' -frounding-math -O3 -DNDEBUG'
>> -- USING EXEFLAGS = ' '
>> -- Targetting Unix Makefiles
>> -- Using /usr/bin/c++.exe compiler.
>> -- Looking for Q_WS_X11
>> -- Looking for Q_WS_X11 - found
>> -- Looking for Q_WS_WIN
>> -- Looking for Q_WS_WIN - not found.
>> -- Looking for Q_WS_QWS
>> -- Looking for Q_WS_QWS - not found.
>> -- Looking for Q_WS_MAC
>> -- Looking for Q_WS_MAC - not found.
>> -- Found Qt-Version 4.5.3 (using /usr/bin/qmake)
>> -- Looking for XOpenDisplay in
>> /usr/lib/libX11.dll.a;/usr/lib/libXext.dll.a
>> -- Looking for XOpenDisplay in
>> /usr/lib/libX11.dll.a;/usr/lib/libXext.dll.a - found
>> -- Looking for gethostbyname
>> -- Looking for gethostbyname - found
>> -- Looking for connect
>> -- Looking for connect - found
>> -- Looking for remove
>> -- Looking for remove - found
>> -- Looking for shmat
>> -- Looking for shmat - found
>> -- Looking for IceConnectionNumber in ICE
>> -- Looking for IceConnectionNumber in ICE - found
>> -- Found X11: /usr/lib/libX11.dll.a
>> -- Found OpenGL: /usr/lib/libGL.dll.a
>> -- NOTICE: This demo requires QGLViewer, and will not be compiled.
>> -- Configuring done
>> -- Generating done
>> -- Build files have been written to: /cygdrive/c/Program
>> Files/CGAL-3.9-beta1/demo/AABB_tree
>>
>> Kind regards,
>>
>>
>> --
>> Eric Le Goff
>> http://gplus.to/elegoff
>>
>
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://lists-sop.inria.fr/wws/info/cgal-discuss
>
>
- [cgal-discuss] building CGAL on cygwin/windows, Eric Le Goff, 09/01/2011
- Re: [cgal-discuss] building CGAL on cygwin/windows, Sebastien Loriot (GeometryFactory), 09/01/2011
- Re: [cgal-discuss] building CGAL on cygwin/windows, Eric Le Goff, 09/02/2011
- Re: [cgal-discuss] building CGAL on cygwin/windows, Sebastien Loriot (GeometryFactory), 09/02/2011
- Re: [cgal-discuss] building CGAL on cygwin/windows, Eric Le Goff, 09/02/2011
- Re: [cgal-discuss] building CGAL on cygwin/windows, Sebastien Loriot (GeometryFactory), 09/02/2011
- Re: [cgal-discuss] building CGAL on cygwin/windows, Eric Le Goff, 09/02/2011
- Re: [cgal-discuss] building CGAL on cygwin/windows, Sebastien Loriot (GeometryFactory), 09/01/2011
Archive powered by MHonArc 2.6.16.