MantisBT - CMake | |||||||||||||||
View Issue Details | |||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||
0014420 | CMake | CMake | public | 2013-09-17 08:20 | 2014-03-05 09:58 | ||||||||||
Reporter | mar-na | ||||||||||||||
Assigned To | Patrick R. Gansterer | ||||||||||||||
Priority | high | Severity | major | Reproducibility | always | ||||||||||
Status | closed | Resolution | fixed | ||||||||||||
Platform | OS | OS Version | |||||||||||||
Product Version | |||||||||||||||
Target Version | CMake 2.8.12 | Fixed in Version | CMake 2.8.12 | ||||||||||||
Summary | 0014420: testCCompiler failed under WinCE with linker error | ||||||||||||||
Description | In CMake 2.8.11 it works but in 2.8.11.20130916-gcfe70 failed it. Generation of VS project fles for WinCE STANDARDSDK_500 (ARMV41) failed with LNK2001: unresolved external symbol mainACRTStartup | ||||||||||||||
Steps To Reproduce | Create simple HelloWorld application and try to generate the VS 2008 project files with CMake-gui for it. Used generator: Visual Studio 2008 STANDARDSDK_500 (ARMV41) Error Message: CMake Error at C:/data/TMP/cmake-2.8.11.20130916-gcfe70-win32-x86/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message): The C compiler "C:/Programme/Microsoft Visual Studio 9.0/VC/ce/bin/x86_arm/cl.exe" is not able to compile a simple test program. It fails with the following output: Change Dir: C:/data/cmake_wince/HelloWorld/build/cmake_trunk_wince/CMakeFiles/CMakeTmp Run Build Command:C:\PROGRA~1\MICROS~1.0\Common7\IDE\devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec3766279777 Microsoft (R) Visual Studio Version 9.0.30729.1. Copyright (C) Microsoft Corp. All rights reserved. ------ Build started: Project: cmTryCompileExec3766279777, Configuration: Debug STANDARDSDK_500 (ARMV4I) ------ Compiling... Microsoft (R) C/C++ Optimizing Compiler Version 15.00.20720 for ARM Copyright (C) Microsoft Corporation. All rights reserved. cl /Od /D "_WIN32_WCE=0x500" /D "UNDER_CE" /D "THUMB" /D "_THUMB_" /D "_WINDOWS" /D "_DEBUG" /D "CMAKE_INTDIR=\"Debug\"" /D "_MBCS" /FD /MDd /fp:fast /GR- /Fo"cmTryCompileExec3766279777.dir\Debug\\" /Fd"cmTryCompileExec3766279777.dir\Debug/vc80.pdb" /W3 /c /Zi /TC .\testCCompiler.c testCCompiler.c Linking... LINK : error LNK2001: unresolved external symbol mainACRTStartup C:\data\cmake_wince\HelloWorld\build\cmake_trunk_wince\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec3766279777.exe : fatal error LNK1120: 1 unresolved externals Build log was saved at "file://c:\data\cmake_wince\HelloWorld\build\cmake_trunk_wince\CMakeFiles\CMakeTmp\cmTryCompileExec3766279777.dir\Debug\BuildLog.htm" [^] cmTryCompileExec3766279777 - 2 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:1 (project) Configuring incomplete, errors occurred! See also "C:/data/cmake_wince/HelloWorld/build/cmake_trunk_wince/CMakeFiles/CMakeOutput.log". See also "C:/data/cmake_wince/HelloWorld/build/cmake_trunk_wince/CMakeFiles/CMakeError.log". | ||||||||||||||
Additional Information | |||||||||||||||
Tags | No tags attached. | ||||||||||||||
Relationships |
| ||||||||||||||
Attached Files | HelloWorld.zip (677) 2013-09-17 08:20 https://public.kitware.com/Bug/file/4881/HelloWorld.zip | ||||||||||||||
Issue History | |||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||
2013-09-17 08:20 | mar-na | New Issue | |||||||||||||
2013-09-17 08:20 | mar-na | File Added: HelloWorld.zip | |||||||||||||
2013-09-17 08:42 | Brad King | Assigned To | => Patrick R. Gansterer | ||||||||||||
2013-09-17 08:42 | Brad King | Status | new => assigned | ||||||||||||
2013-09-23 09:06 | Brad King | Note Added: 0033864 | |||||||||||||
2013-09-23 09:06 | Brad King | Relationship added | related to 0014088 | ||||||||||||
2013-09-23 10:59 | Robert Maynard | Priority | normal => high | ||||||||||||
2013-09-23 10:59 | Robert Maynard | Target Version | => CMake 2.8.12 | ||||||||||||
2013-09-23 16:12 | Patrick R. Gansterer | Note Added: 0033865 | |||||||||||||
2013-09-23 16:34 | Brad King | Note Added: 0033866 | |||||||||||||
2013-09-23 16:39 | Patrick R. Gansterer | Note Added: 0033867 | |||||||||||||
2013-09-23 16:45 | Patrick R. Gansterer | Note Added: 0033868 | |||||||||||||
2013-09-23 17:17 | Brad King | Note Added: 0033869 | |||||||||||||
2013-09-23 17:18 | Brad King | Status | assigned => resolved | ||||||||||||
2013-09-23 17:18 | Brad King | Resolution | open => fixed | ||||||||||||
2013-09-23 17:18 | Brad King | Fixed in Version | => CMake 2.8.12 | ||||||||||||
2013-09-24 10:43 | Brad King | Relationship added | related to 0014436 | ||||||||||||
2014-03-05 09:58 | Robert Maynard | Note Added: 0035265 | |||||||||||||
2014-03-05 09:58 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|