Skip to Content.
Sympa Menu

cgal-discuss - RE: [cgal-discuss] compile CGAL

Subject: CGAL users discussion list

List archive

RE: [cgal-discuss] compile CGAL


Chronological Thread 
  • From: Sergio NNX <>
  • To: <>
  • Subject: RE: [cgal-discuss] compile CGAL
  • Date: Sun, 29 Jan 2012 20:03:37 +0000
  • Importance: Normal

Ciao Арсентий Нерушев.

I've successfully built the latest version of CGAL using MinGW. I don't know much about how to do that VS, but I could try!

Cheers.

Sergio.


Date: Sun, 29 Jan 2012 21:54:13 +0600
From:
To:
Subject: Re: [cgal-discuss] compile CGAL

Are you sure you've chosen "Visual Studio 2008" as working compiler? Because this message "Check for working C compiler using: Visual Studio 8 2005" means that you've chosen the compiler for Visual Studio 2005. I think you've might mix it up.

2012/1/29 Zeineb Abderrahim <>
I am a new user of CGAL. I have not been able to compile CGAL. I followed the following steps :
1 - Open CMake - cmake-gui
2 - For both "Where is the source code" and "Where to build the binaries" Specify the CGAL installation folder (C: / Program Files/CGAL-3.7)
3 - Click Configure and then Choose "Visual Studio 2008
I found this in the compilation :  


Check for working C compiler using: Visual Studio 8 2005
Check for working C compiler using: Visual Studio 8 2005 -- broken
CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
The C compiler "cl" is not able to compile a simple test program.
It fails with the following output:
Change Dir: C:/Program Files/CGAL-3.8/CMakeFiles/CMakeTmp
Run Build Command:C:\PROGRA~1\MICROS~4\Common7\IDE\VCExpress.exe
CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec
Microsoft (R) Visual C++ Express Version 8.0.50727.867.
Copyright (C) Microsoft Corp 1984-2005. Tous droits réservés.
1>------ Dbut de la gnrationÿ: Projetÿ: cmTryCompileExec,
Configurationÿ: Debug Win32 ------
1>Compilation en cours...
1>Compilateur d'optimisation Microsoft (R) 32ÿbits C/C++
versionÿ14.00.50727.762 pour 80x86
1>Copyright (C) Microsoft Corporation. Tous droits rservs.
1>cl /Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "CMAKE_INTDIR=\"Debug\""
/D "_MBCS" /FD /RTCs /MDd /Fo"cmTryCompileExec.dir\Debug\\" /Fd"C:\Program
Files\CGAL-3.8\CMakeFiles\CMakeTmp\Debug/cmTryCompileExec.pdb" /W3 /c /Zi
/TC /Zm1000
1> ".\testCCompiler.c"
1>testCCompiler.c
1>Compilation du manifeste en ressources en cours...
1>dition des liens en cours...
1>LINK : fatal error LNK1104: impossible d'ouvrir le fichier 'user32.lib'
1>Le journal de gnration a t enregistr … l'emplacement
"file://c:\Program
Files\CGAL-3.8\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug\BuildLog.htm"
1>cmTryCompileExec - 1 erreur(s), 0 avertissement(s)
========== Gnrationÿ: 0 a russi, 1 a chou, 0 mis … jour, 0 a t
ignor ==========
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:6 (project)
Configuring incomplete, errors occurred!

Please what is the problem ???
Thanks 



--
Арсентий Нерушев




Archive powered by MHonArc 2.6.16.

Top of Page