Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Error configuring CMake to work with VS2008 WIN64

Subject: CGAL users discussion list

List archive

[cgal-discuss] Error configuring CMake to work with VS2008 WIN64


Chronological Thread 
  • From: Amir Vaxman <>
  • To:
  • Subject: [cgal-discuss] Error configuring CMake to work with VS2008 WIN64
  • Date: Mon, 30 Apr 2012 15:25:48 +0200

I am using Visual studio 2008 on Windows 7, and I get the following
error, when choosing the "WIN64 VISUAL STUDIO 9.0 2008"option in the
native compilers:

CMake Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:45 (MESSAGE):
The C++ compiler "C:/Program Files (x86)/Microsoft Visual Studio
10.0/VC/bin/amd64/cl.exe" is not able to compile a simple test program.

It fails with the following output:

Change Dir: C:/CGAL-4.0/CMakeFiles/CMakeTmp



Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com
CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec



Microsoft (R) Visual Studio Version 9.0.30729.1.

Copyright (C) Microsoft Corp. All rights reserved.

1>------ Build started: Project: cmTryCompileExec, Configuration: Debug x64
------

1>Compiling...

1>Microsoft (R) C/C++ Optimizing Compiler Version 15.00.30729.01 for x64

1>Copyright (C) Microsoft Corporation. All rights reserved.

1>cl /Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "CMAKE_INTDIR=\"Debug\""
/D "_MBCS" /FD /EHsc /RTC1 /MDd /Fo"cmTryCompileExec.dir\Debug\\"
/Fd"C:\CGAL-4.0\CMakeFiles\CMakeTmp\Debug/cmTryCompileExec.pdb" /W3 /c /Zi
/TP /Zm1000

1> ".\testCXXCompiler.cxx"

1>testCXXCompiler.cxx

1>Compiling manifest to resources...

1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1

1>Copyright (C) Microsoft Corporation. All rights reserved.

1>Linking...

1>Embedding manifest...

1>Project : error PRJ0003 : Error spawning 'cmd.exe'.

1>Build log was saved at

"file://c:\CGAL-4.0\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug\BuildLog.htm"



AFAIK, the Win64 is working OK, and x64 components,and the
aforementioned cl.exe file exists... Also, I do manage to generate for
VS2010, but I don't want to use it. What can be the problem here?
also, why AMD? I have an intel processor..

Thanks,
Amir.


  • [cgal-discuss] Error configuring CMake to work with VS2008 WIN64, Amir Vaxman, 04/30/2012

Archive powered by MHonArc 2.6.16.

Top of Page