public
Created

cmake output when trying to cross compiler from linux to windows

  • Download Gist
cmake output
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
-- The C compiler identification is MSVC 16.0.30319.1
-- The CXX compiler identification is MSVC 16.0.30319.1
-- Check for CL compiler version
CMakeTestNMakeCLVersion.cersion - 1600
-- Check if this is a free VC compiler
-- Check if this is a free VC compiler - no
-- Check for working C compiler: /usr/bin/cl
-- Check for working C compiler: /usr/bin/cl -- broken
CMake Error at /synth1/home/drussel/cmake-2.8.9-Linux-i386/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
The C compiler "/usr/bin/cl" is not able to compile a simple test program.
 
It fails with the following output:
 
Change Dir: /synth1/home/drussel/rmf-build/CMakeFiles/CMakeTmp
 
 
Run Build Command:/usr/bin/gmake "cmTryCompileExec3161846472/fast"
 
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec3161846472.dir/build.make
CMakeFiles/cmTryCompileExec3161846472.dir/build
 
gmake[1]: Entering directory
`/synth1/home/drussel/rmf-build/CMakeFiles/CMakeTmp'
 
/synth1/home/drussel/cmake-2.8.9-Linux-i386/bin/cmake -E
cmake_progress_report
/synth1/home/drussel/rmf-build/CMakeFiles/CMakeTmp/CMakeFiles 1
 
Building C object
CMakeFiles/cmTryCompileExec3161846472.dir/testCCompiler.c.obj
 
/usr/bin/cl /nologo /DWIN32 /D_WINDOWS /W3 /Zm1000 /D_DEBUG /MDd /Zi /Ob0
/Od /RTC1 /FoCMakeFiles/cmTryCompileExec3161846472.dir/testCCompiler.c.obj
/Fd/synth1/home/drussel/rmf-build/CMakeFiles/CMakeTmp/cmTryCompileExec3161846472.pdb
-c /synth1/home/drussel/rmf-build/CMakeFiles/CMakeTmp/testCCompiler.c
 
cl : Command line warning D9002 : ignoring unknown option
'/synth1/home/drussel/rmf-build/CMakeFiles/CMakeTmp/testCCompiler.c'
 
cl : Command line error D8003 : missing source filename
 
gmake[1]: Leaving directory
`/synth1/home/drussel/rmf-build/CMakeFiles/CMakeTmp'
 
gmake[1]: ***
[CMakeFiles/cmTryCompileExec3161846472.dir/testCCompiler.c.obj] Error 2
 
gmake: *** [cmTryCompileExec3161846472/fast] Error 2
 
 
 
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:2 (project)
 
 
-- Configuring incomplete, errors occurred!

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.