Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] compiling CGAL in windows

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] compiling CGAL in windows


Chronological Thread 
  • From: Laurent Saboret <>
  • To:
  • Subject: Re: [cgal-discuss] compiling CGAL in windows
  • Date: Mon, 10 Jan 2011 18:34:14 +0100

Hi Dror,

I recommend you to use cmake-gui. Select the folder where CGAL code is
located (C:/Program Files
(x86)/CGAL-3.7) and your compiler (visual studio 9). Then hit the "configure" and
"generate" buttons.
cmake-gui will create a file CGAL.sln.

Open CGAL.sln with visual studio 9 and compile it.

Regards,
Laurent Saboret


Le 08/01/2011 13:05, drorsh a écrit :

Hello,
I am a total newbie to CGAL, and this is actually the first time I'm tryint
to use C++ on my private computer (I am using visual studio 9.0, installed
on Windows 7).

I am trying to follow the instructions in the installation guide, but have
problems right on start.
When I get to the part of "Configuring CGAL" and try to either use
cmake-gui, or simply type "cmake ." in the command line (under the correct
directory of course), I get a long list of errors, the first one being:

-- Building for: NMake Makefiles
CMake Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeDet
ermineSystem.cmake:157 (FILE):
file Internal CMake error when trying to open file: C:/Program Files
(x86)/CGAL-3.7/CMakeFiles/CMakeOutput.log for writing.
Call Stack (most recent call first):
CMakeLists.txt:6 (project)

CMake Error: Could not open file for write in copy operation C:/Program
Files (x
86)/CGAL-3.7/CMakeFiles/CMakeSystem.cmake.tmp
CMake Error: : System Error: No such file or directory
CMake Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeDet
ermineSystem.cmake:169 (CONFIGURE_FILE):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:6 (project)

And this goes on and on.

Previous to trying to do this I downloaded and installed visual studio 9,
downloaded cmake and boost. I also ran a simple program in visual studio 9
just to see that everything works correctly.

I'd appreciate any help.

Thanks!
Dror




Archive powered by MHonArc 2.6.16.

Top of Page