Boost logo

Boost Interest :

From: David Abrahams (dave_at_[hidden])
Date: 2008-06-19 16:30:13


Two problems

* on Win32, invoking cmake from inside my Visual Studio 2008 Express
command prompt window, I get

S:\xp32\build\boost-cmake>cmake .
-- The C compiler identification is MSVC
-- The CXX compiler identification is MSVC
CMake Error: your RC compiler: "CMAKE_RC_COMPILER-NOTFOUND" was not
found. Ple
ase set CMAKE_RC_COMPILER to a valid compiler path or name.
-- Using FREE VC TOOLS, NO DEBUG available
-- Check for working C compiler: C:/Program Files/Microsoft Visual
Studio 9.0/VC
/bin/cl.exe
CMake Error: your RC compiler: "CMAKE_RC_COMPILER-NOTFOUND" was not
found. Ple
ase set CMAKE_RC_COMPILER to a valid compiler path or name.
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Check for working C compiler: C:/Program Files/Microsoft Visual
Studio 9.0/VC
/bin/cl.exe -- broken
CMake Error at C:/Program Files/CMake
2.6/share/cmake-2.6/Modules/CMakeTestCComp
iler.cmake:32 (MESSAGE):
  The C compiler "C:/Program Files/Microsoft Visual Studio
9.0/VC/bin/cl.exe"
  is not able to compile a simple test program.

  It fails with the following output:

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:28 (project)

-- Configuring done

* There appear to be no 64-bit cmake binaries available, so I tried to
build them. I successfully generated a VC++ solution file, but then the
results of the build are a little less encouraging. I'm not sure how to
interpret this.

1>------ Build started: Project: cmsysProcessFwd9x, Configuration: Debug
x64 ------
2>------ Build started: Project: cmsys_c, Configuration: Debug x64 ------
1>Linking...
2>Generating cmsysProcessFwd9xEnc.c
2>'..\..\bin\cmsysEncodeExecutable.exe' is not recognized as an internal
or external command,
2>operable program or batch file.
2>Project : error PRJ0019: A tool returned an error code from
"Generating cmsysProcessFwd9xEnc.c"
2>Build log was saved at
"file://s:\xp64\cmake-2.6.0\build\Source\kwsys\cmsys_c.dir\Debug\BuildLog.htm"
1>Embedding manifest...
2>cmsys_c - 1 error(s), 0 warning(s)
3>------ Skipped Build: Project: uninstall, Configuration: Debug x64 ------
3>Project not selected to build for this solution configuration
4>------ Skipped Build: Project: RUN_TESTS, Configuration: Debug x64 ------
4>Project not selected to build for this solution configuration
1>Build log was saved at
"file://s:\xp64\cmake-2.6.0\build\Source\kwsys\cmsysProcessFwd9x.dir\Debug\BuildLog.htm"
1>cmsysProcessFwd9x - 0 error(s), 0 warning(s)
5>------ Build started: Project: cmsys, Configuration: Debug x64 ------
5>Generating cmsysProcessFwd9xEnc.c
5>'..\..\bin\cmsysEncodeExecutable.exe' is not recognized as an internal
or external command,
5>operable program or batch file.
5>Project : error PRJ0019: A tool returned an error code from
"Generating cmsysProcessFwd9xEnc.c"
5>Build log was saved at
"file://s:\xp64\cmake-2.6.0\build\Source\kwsys\cmsys.dir\Debug\BuildLog.htm"
5>cmsys - 1 error(s), 0 warning(s)
6>------ Build started: Project: cpack, Configuration: Debug x64 ------
7>------ Build started: Project: ctest, Configuration: Debug x64 ------
6>Linking...
7>Linking...
6>LINK : fatal error LNK1104: cannot open file 'kwsys\Debug\cmsys.lib'
7>LINK : fatal error LNK1104: cannot open file 'kwsys\Debug\cmsys.lib'
6>Build log was saved at
"file://s:\xp64\cmake-2.6.0\build\Source\cpack.dir\Debug\BuildLog.htm"
6>cpack - 1 error(s), 0 warning(s)
8>------ Build started: Project: cmake, Configuration: Debug x64 ------
7>Build log was saved at
"file://s:\xp64\cmake-2.6.0\build\Source\ctest.dir\Debug\BuildLog.htm"
7>ctest - 1 error(s), 0 warning(s)
9>------ Build started: Project: DumpDocumentation, Configuration: Debug
x64 ------
8>Linking...
8>LINK : fatal error LNK1104: cannot open file 'kwsys\Debug\cmsys.lib'
8>Build log was saved at
"file://s:\xp64\cmake-2.6.0\build\Source\cmake.dir\Debug\BuildLog.htm"
8>cmake - 1 error(s), 0 warning(s)
9>Linking...
10>------ Build started: Project: documentation, Configuration: Debug
x64 ------
9>LINK : fatal error LNK1104: cannot open file 'kwsys\Debug\cmsys.lib'
10>Generating ../Docs/cmake.txt
10>'..\bin\Debug\cmake.exe' is not recognized as an internal or external
command,
10>operable program or batch file.
10>Project : error PRJ0019: A tool returned an error code from
"Generating ../Docs/cmake.txt"
10>Build log was saved at
"file://s:\xp64\cmake-2.6.0\build\Utilities\documentation.dir\Debug\BuildLog.htm"
10>documentation - 1 error(s), 0 warning(s)
9>Build log was saved at
"file://s:\xp64\cmake-2.6.0\build\Source\DumpDocumentation.dir\Debug\BuildLog.htm"
9>DumpDocumentation - 1 error(s), 0 warning(s)
11>------ Build started: Project: cmw9xcom, Configuration: Debug x64 ------
11>Linking...
11>LINK : fatal error LNK1104: cannot open file 'kwsys\Debug\cmsys.lib'
11>Build log was saved at
"file://s:\xp64\cmake-2.6.0\build\Source\cmw9xcom.dir\Debug\BuildLog.htm"
11>cmw9xcom - 1 error(s), 0 warning(s)
12>------ Skipped Build: Project: PACKAGE, Configuration: Debug x64 ------
12>Project not selected to build for this solution configuration
13>------ Skipped Build: Project: INSTALL, Configuration: Debug x64 ------
13>Project not selected to build for this solution configuration
========== Build: 1 succeeded, 8 failed, 15 up-to-date, 4 skipped ==========

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

Boost-cmake list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk