Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] CGAL demos on Windows won't configure

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] CGAL demos on Windows won't configure


Chronological Thread 
  • From: "Laurent Rineau (CGAL/GeometryFactory)" <>
  • To: "" <>
  • Subject: Re: [cgal-discuss] CGAL demos on Windows won't configure
  • Date: Thu, 31 Jan 2013 09:04:39 +0100
  • Organization: GeometryFactory

Le mercredi 30 janvier 2013 16:23:22 Jeffrey Bush a écrit :
> Hi,
>
> When trying to build the CGAL demos CMAKE fails. If doing everything
> besides the demos (core, ImageIO, examples) it works fine. Not all of the
> demos cause errors, but most (~25 do). They all seem to be about not being
> able to access certain paths, which are paths that are like C:/.../C:/.../
> - notice it trying to re-root itself there? It shouldn't be doing that.
> Running with CMAKE_USE_RELATIVE_PATHS does not help.
>
> An example error message that is shown here and the entire cmake log is
> attached.
>
> == Generating build files for demos ==
>
> -- Configuring demo in demo/C:/Program Files (x86)/CGAL-4.1/demo/AABB_tree
>
> Requested component: Qt4
>
> Requested component: MPFR
>
> Requested component: GMP
>
> Found QGLViewer:
> C:/Qt/libQGLViewer-2.3.17/QGLViewer/release64/QGLViewer2.lib
>
> CMake Error at C:/Program Files (x86)/CMake
> 2.8/share/cmake-2.8/Modules/Qt4Macros.cmake:111 (file):
>
> file Internal CMake error when trying to open file: C:/Program Files
>
> (x86)/CGAL-4.1/demo/C:/Program Files
>
> (x86)/CGAL-4.1/demo/AABB_tree/MainWindow_moc.cpp_parameters for writing.

Do not use a sub-directory of "C:\Program Files (x86)" as binary directory
for
CMake. That causes a bug in Qt4 CMake macros.

Anyway, you should compile CGAL in your user directory, and not in the system
directory "C:\Program Files (x86)". Note that you can at the end, *install*
the compiled CGAL libraries there.

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

Top of Page