MantisBT - CMake
View Issue Details
0014440CMakeCMakepublic2013-09-25 07:542014-03-05 09:58
mar-na 
Patrick R. Gansterer 
normalmajoralways
closedfixed 
 
CMake 2.8.12CMake 2.8.12 
0014440: Could not generated VS project file for WinCE sh4
I try to compile a HelloWorld console application for WinCE STANDARDSDK_500 (SH4) with VS 2008.

It breaks with:

CMake Error at c:/data/cmake_wince/cmake-trunk/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:443 (execute_process):
  execute_process given COMMAND argument with no value.
Call Stack (most recent call first):
  c:/data/cmake_wince/cmake-trunk/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:48 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
  c:/data/cmake_wince/cmake-trunk/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake:131 (CMAKE_DETERMINE_COMPILER_ID)
  CMakeLists.txt:1 (project)


The C compiler identification is unknown
CMake Error at c:/data/cmake_wince/cmake-trunk/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:443 (execute_process):
  execute_process given COMMAND argument with no value.
Call Stack (most recent call first):
  c:/data/cmake_wince/cmake-trunk/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:48 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
  c:/data/cmake_wince/cmake-trunk/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake:127 (CMAKE_DETERMINE_COMPILER_ID)
  CMakeLists.txt:1 (project)


The CXX compiler identification is unknown
Configuring incomplete, errors occurred!
See also "C:/data/cmake_wince/HelloWorld/build-trunk/vs-2008-sh4/CMakeFiles/CMakeOutput.log".
See also "C:/data/cmake_wince/HelloWorld/build-trunk/vs-2008-sh4/CMakeFiles/CMakeError.log".




cmake verison: 2.8.11.20130923


For other platforms e.g. STANDARDSDK_500 (ARMV41) it works.
No tags attached.
related to 0014436closed Patrick R. Gansterer Missing ARCHFAM preprocessor definition in WinCE Visual Studio generators (armv41) 
zip vs-2008-sh4.zip (20,277) 2013-09-25 07:55
https://public.kitware.com/Bug/file/4888/vs-2008-sh4.zip
Issue History
2013-09-25 07:54mar-naNew Issue
2013-09-25 07:55mar-naFile Added: vs-2008-sh4.zip
2013-09-25 08:00mar-naNote Added: 0033888
2013-09-25 08:12Brad KingAssigned To => Patrick R. Gansterer
2013-09-25 08:12Brad KingStatusnew => assigned
2013-09-25 08:14Brad KingRelationship addedrelated to 0014436
2013-09-25 08:19Patrick R. GanstererNote Added: 0033889
2013-09-25 08:29Brad KingNote Added: 0033891
2013-09-25 08:29Brad KingStatusassigned => resolved
2013-09-25 08:29Brad KingResolutionopen => fixed
2013-09-25 08:29Brad KingFixed in Version => CMake 2.8.12
2013-09-25 08:29Brad KingTarget Version => CMake 2.8.12
2014-03-05 09:58Robert MaynardNote Added: 0035268
2014-03-05 09:58Robert MaynardStatusresolved => closed

Notes
(0033888)
mar-na   
2013-09-25 08:00   
From CMake log:

Compiling...
CMakeCCompilerId.c
Linking...
LINK : fatal error LNK1195: target machine 'SH4' requires '/SUBSYSTEM:WINDOWSCE'
(0033889)
Patrick R. Gansterer   
2013-09-25 08:19   
I've fixed that with wince-subsystem branch (http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=bfab533e6a68350f65bd0ff3f516fd0935ea242c [^]).
(0033891)
Brad King   
2013-09-25 08:29   
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=bcb75852 [^]
(0035268)
Robert Maynard   
2014-03-05 09:58   
Closing resolved issues that have not been updated in more than 4 months