Malhotra, Anupam wrote:
Hi
I created a solution for Visual Studio 8 2005 Win64 using CMake. The sln
has various projects all of which are to be built using VS 2005 for x64.
When the sln is opened, the x64 configuration is selected by default for
all projects.I have set some project dependencies (say project x is
dependent on projects a,b,c,d,e, project e is dependent of project f and
so on) among the various projects in the sln. Now, a weird issue is
occurring when I am building all the projects using devenv command line.
All the projects build successfully except for one project (say project
x). Project x has dependencies on say 10 different projects. Each time
project x is built using the command line, some of the dependent
projects start failing with the following error:
6>CMake Error: The C compiler "F:/Program Files (x86)/Microsoft Visual
Studio 8/VC/bin/amd64/cl.exe" is not able to compile a simple test program.
6>It fails with the following output:
6>
6>Microsoft (R) Visual Studio Version 8.0.50727.42.
6>Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
8>CMake Error: The C compiler "F:/Program Files (x86)/Microsoft Visual
Studio 8/VC/bin/amd64/cl.exe" is not able to compile a simple test program.
6>1>------ Build started: Project: cmTryCompileExec, Configuration:
Debug Win32 ------
8>It fails with the following output:
6>1>Compiling...
It is possible that cmake is re-running during the build and somehow
switching generators. Can you send me the complete output of the build
off the list?
-Bill
--
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
[EMAIL PROTECTED]
http://www.kitware.com
518-371-3971 (phone and fax)
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake