Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] building CGAL on cygwin/windows

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] building CGAL on cygwin/windows


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] building CGAL on cygwin/windows
  • Date: Thu, 01 Sep 2011 17:55:43 +0200

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





Archive powered by MHonArc 2.6.16.

Top of Page