Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

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


Chronological Thread 
  • From: Jeffrey Bush <>
  • To: "" <>
  • Subject: [cgal-discuss] CGAL demos on Windows won't configure
  • Date: Wed, 30 Jan 2013 16:23:22 -0800

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.

Call Stack (most recent call first):

C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/Qt4Macros.cmake:134 (QT4_CREATE_MOC_COMMAND)

demo/AABB_tree/CMakeLists.txt:45 (qt4_generate_moc)

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/Viewer_moc.cpp_parameters for writing.

Call Stack (most recent call first):

C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/Qt4Macros.cmake:134 (QT4_CREATE_MOC_COMMAND)

demo/AABB_tree/CMakeLists.txt:48 (qt4_generate_moc)

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/Scene_moc.cpp_parameters for writing.

Call Stack (most recent call first):

C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/Qt4Macros.cmake:134 (QT4_CREATE_MOC_COMMAND)

demo/AABB_tree/CMakeLists.txt:51 (qt4_generate_moc)

CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/Qt4Macros.cmake:64 (file):

file problem creating directory: C:/Program Files

(x86)/CGAL-4.1/demo/C:/Program Files (x86)/CGAL-4.1/demo/AABB_tree

Call Stack (most recent call first):

C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/Qt4Macros.cmake:204 (QT4_MAKE_OUTPUT_FILE)

demo/AABB_tree/CMakeLists.txt:54 (qt4_add_resources)

CMake Error: Could not open file for write in copy operation C:/Program Files (x86)/CGAL-4.1/demo/C:/Program Files (x86)/CGAL-4.1/demo/AABB_tree.tmp

CMake Error: : System Error: Invalid argument

CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/Qt4Macros.cmake:205 (configure_file):

configure_file Problem configuring file

Call Stack (most recent call first):

demo/AABB_tree/CMakeLists.txt:54 (qt4_add_resources)


Thanks,

Jeff

Attachment: cgal-cmake-log.rtf.gz
Description: GNU Zip compressed data




Archive powered by MHonArc 2.6.18.

Top of Page