View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0002795 | CMake | CMake | public | 2006-01-30 15:02 | 2006-08-01 15:36 | ||||
Reporter | Steve Pieper | ||||||||
Assigned To | Bill Hoffman | ||||||||
Priority | high | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | no change required | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0002795: Can't compile test program on VS8 (VC++ Express 2005) | ||||||||
Description | Emails from the cmake list: Hi Bill, Karthik - I've done all the steps on that setup page (including step 5, and confirmed that a Win32 application will build and run). Even so, with cmake 2.2.3 I get the message: "The C compiler "cl" 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." I'm putting this into the cmake bug tracker. Any other ideas of things to try? Thanks, Steve Karthik Krishnan wrote: > And after intsalling Platform SDK, you need to go through the steps in > > http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/ [^] > > -karthik > > William A. Hoffman wrote: > >> At 07:10 PM 1/26/2006, Steve Pieper wrote: >> >> >>> Hi - >>> >>> Is anyone using the VC++ Express 2005? We're running into the >>> problems listed below. Unless there's a known workaround I'll put >>> this in the bugtracker. >>> >>> Andy, >>> >>> Just a little more information. CMake 2.1 (sometime during that >>> development lifetime) >>> was able to perform its try/compiles and configure the project with >>> the VS8 compiler. >>> My ITK build with that could not locate windows.h but otherwise >>> things built. >>> >> >> >> I just checked and someone here at Kitware is using vs express IDE >> builds for >> VTK/ITK with no problems. I think the clue is that it could not >> locate windows.h. >> In addtion to installing VC++ Express 2005, you have to correctly >> install the SDK >> for windows. The instructions are here: >> >> http://msdn.microsoft.com/vstudio/express/visualc/download/ [^] >> >> I think if you follow all 4 steps it works fine. >> >> -Bill >> >> _______________________________________________ >> CMake mailing list >> CMake@cmake.org >> http://www.cmake.org/mailman/listinfo/cmake [^] >> >> >> | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0003624) Steve Pieper (reporter) 2006-01-30 15:03 |
Contents of CMakeError.log: Determining if the C compiler works failed with the following output: Determining if the C compiler works failed with the following output: Determining if the C compiler works failed with the following output: |
(0003625) Steve Pieper (reporter) 2006-01-30 15:04 |
Contents of CMakeOutput.log The system is: Windows - 5.1 - x86 |
(0003672) Brad King (manager) 2006-02-02 18:53 |
The reason there is no output is because VCExpress.exe does not produce any output for a build no matter what happens. This will have to be addressed separately, such as getting the build logs it writes. This can be debugged by running cmake with the "--debug-trycompile" option and then loading the CMAKE_TRY_COMPILE.sln project that is left behind. Building it through the IDE reveals that it cannot find the odbc32.lib library. CMake has always added this library to the standard set of libraries used in linking any executable. This may be the wrong thing to do. |
(0003674) Brad King (manager) 2006-02-02 20:16 |
These changes should help with this problem: /cvsroot/CMake/CMake/Modules/Platform/Windows-cl.cmake,v <-- Windows-cl.cmake new revision: 1.48; previous revision: 1.47 |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |