I'm having a couple of problems using CMake on a 64-bit Vista system.
The first is using the 32-bit binary download of CMake to build vxl.
The vxl build tries a number of times to use TRY_RUN. The try (compile)
part works, but the run part always fails with message complaining about a
bad side-by-side configuration:

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.21022.8. 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.21022.08 for x64
1>Copyright (C) Microsoft Corporation.  All rights reserved.
1>cl /Od /D "WIN32" /D "_WINDOWS" /D "VXL_HAS_TYPE_OF_SIZE" /D "_DEBUG" /D "CMAKE_INTDIR=\"Debug\"" /D "_MBCS" /FD /EHsc /RTC1 /MDd /Fo"cmTryCompileExec.dir\Debug\\" /Fd"C:/projects/reface/vxlbin-x64/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.pdb" /W3 /c /Zi /TP /Zm1000 -IC:/projects/reface/vxlbin-x64/CMakeTmp 1> "..\..\..\fbi\Code\vxl\config\cmake\config\vxl_platform_tests.cxx" 1>vxl_platform_tests.cxx
1>Compiling manifest to resources...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0 1>Copyright (C) Microsoft Corporation. All rights reserved.
1>Linking...
1>Embedding manifest...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0 1>Copyright (C) Microsoft Corporation. All rights reserved. 1>Build log was saved at "file://c:\projects\reface\vxlbin-x64\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug\BuildLog.htm" 1>cmTryCompileExec - 0 error(s), 0 warning(s) ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ========== The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail

Anyway, I figured it was an issue with a 32-bit CMake trying to run a 64-bit program (why it want to compile it with a DEBUG flag is another issue). So I tried to build a 64-bit version of CMake with Visual Studio 2008. I was able to run CMake on CMake without any problems; however, the compile failed with many errors in the header files. This occurred whether or not I checked the build testing option.

Any ideas to either one of these problems.  Thanks.

Barry Hathaway

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to