Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Error in CMake Configuration

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Error in CMake Configuration


Chronological Thread 
  • From: Sweety Pie <>
  • To:
  • Subject: Re: [cgal-discuss] Error in CMake Configuration
  • Date: Sat, 21 Apr 2012 09:44:51 +0300

Thank you all for your help. I did that and it worked perfectly. However, when I check the box where it says with demos or the one says with examples am getting this kind of error:

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-3.9/demo/C:/Program Files (x86)/CGAL-3.9/demo/Triangulation_2

Call Stack (most recent call first):

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

demo/Triangulation_2/CMakeLists.txt:88 (qt4_add_resources)

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

CMake Error: : System Error: Invalid argument

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

configure_file Problem configuring file

Call Stack (most recent call first):

demo/Triangulation_2/CMakeLists.txt:88 (qt4_add_resources)

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-3.9/demo/C:/Program Files

(x86)/CGAL-3.9/demo/Triangulation_2/Regular_triangulation_2.moc_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/Triangulation_2/CMakeLists.txt:91 (qt4_generate_moc)


Any ideas??

Thanks


On 17 April 2012 18:14, Jasmin Formont <> wrote:
I had this problem too, setting BOOST_ROOT was not enough, I had to set BOOST_LIBDIR to make Cmake happy.


2012/4/17 Zoltán Váradi <>
"No Boost libraries were found. You may need to set Boost_LIBRARYDIR to the

directory containing Boost libraries or BOOST_ROOT to the location of

Boost."

As it says, you should set the Boost_LIBRARYDIR or BOOST_ROOT in your path.This tutorial tells you how:http://geekswithblogs.net/renso/archive/2009/10/21/how-to-set-the-windows-path-in-windows-7.aspx

2012. április 17. 16:49 Laurent Rineau (GeometryFactory) írta, <>:
Le mardi 17 avril 2012 17:39:10 Sweety Pie a écrit :
> Dear all,
> Can you please check the following errors am getting while configuring the
> Cmake with VS10 to compile the CGAL libraries:
>
> _
>
> CMake Error at cmake/modules/FindBoost.cmake:515 (FILE):
>
> file Internal CMake error when trying to open file: C:/Program Files
>
> (x86)/boost/boost/version.hpp for reading.

Do you have a file "C:/Program Files (x86)/boost/boost/version.hpp"?

If the CMake cache, do you have anything about Boost?

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory           http://www.geometryfactory.com/
Release Manager of the CGAL Project       http://www.cgal.org/


--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss







Archive powered by MHonArc 2.6.16.

Top of Page