Subject: CGAL users discussion list
List archive
- From: Jeffrey Bush <>
- To: "" <>
- Subject: [cgal-discuss] Re: CGAL demos on Windows won't configure
- Date: Wed, 30 Jan 2013 17:38:14 -0800
CMake Error: Cannot open file for write: C:/Program Files (x86)/CGAL-4.1/examples/C:/Program Files (x86)/CGAL-4.1/examples/AABB_tree/AABB_custom_example.vcxproj.tmp
CMake Error: : System Error: Invalid argument
CMake Error: Cannot open file for write: C:/Program Files (x86)/CGAL-4.1/examples/C:/Program Files (x86)/CGAL-4.1/examples/AABB_tree/AABB_custom_example.vcxproj.filters.tmp
CMake Error: : System Error: Invalid argument
....
Thanks,
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
- [cgal-discuss] CGAL demos on Windows won't configure, Jeffrey Bush, 01/31/2013
- [cgal-discuss] Re: CGAL demos on Windows won't configure, Jeffrey Bush, 01/31/2013
- Re: [cgal-discuss] CGAL demos on Windows won't configure, Laurent Rineau (CGAL/GeometryFactory), 01/31/2013
- Re: [cgal-discuss] CGAL demos on Windows won't configure, Jeffrey Bush, 01/31/2013
- Re: [cgal-discuss] CGAL demos on Windows won't configure, Jeffrey Bush, 01/31/2013
- Re: [cgal-discuss] CGAL demos on Windows won't configure, Andreas Fabri, 01/31/2013
- Re: [cgal-discuss] CGAL demos on Windows won't configure, Jeffrey Bush, 01/31/2013
- Re: [cgal-discuss] CGAL demos on Windows won't configure, Philipp Moeller, 01/31/2013
- Re: [cgal-discuss] CGAL demos on Windows won't configure, Andreas Fabri, 01/31/2013
- Re: Re: [cgal-discuss] CGAL demos on Windows won't configure, Laurent Rineau (CGAL/GeometryFactory), 01/31/2013
- Re: [cgal-discuss] CGAL demos on Windows won't configure, Jeffrey Bush, 01/31/2013
- Re: [cgal-discuss] CGAL demos on Windows won't configure, Jeffrey Bush, 01/31/2013
Archive powered by MHonArc 2.6.18.