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