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: Pablo Fernández Cuadros <>
  • To:
  • Subject: Re: [cgal-discuss] compiling CGAL in windows
  • Date: Tue, 11 Jan 2011 00:18:23 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=EIWTI2RAAJeKF/M2Il36gpog3omV5EegKjAC0i2587d1j/4womaeb0tDFdbBTbiW1A JfWmPQRNnNyuTpyEChYY+Gal1MeJhNh3PYEJyweojbgimkaSwUiswaBx1LASHF9emU+n JHHwP1OUZ6my3FbCBXCiDEOEG9BSeZOpBSL5k=

The control access to cmake directories may deny writing into them with the permission levels your user has...

Try to run cmake-gui from a administrator shell (cmd run as administrator).

2011/1/10 Laurent Saboret <>
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


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