[CMake] Wine + CMake + MSVC : Broken to check the working C compiler

Loaden loaden at gmail.com
Sat Sep 15 20:40:06 EDT 2012


I can using qmake +  MSVC via Wine on Ubuntu 12.04, but when I want switch
to cmake build system, it's broken.
Any comments?

D:\qpSOFT\Projects\WineTest\build>cmake ..
> fixme:heap:HeapSetInformation 0xbe0000 0 0xacfd50 4
> -- Building for: NMake Makefiles
> fixme:heap:HeapSetInformation 0x240000 0 0x23fd20 4
> fixme:heap:HeapSetInformation (nil) 1 (nil) 0
> fixme:heap:HeapSetInformation 0x240000 0 0x23fd20 4
> -- The C compiler identification is MSVC 16.0.40219.1
> fixme:heap:HeapSetInformation 0x240000 0 0x23fd20 4
> fixme:heap:HeapSetInformation (nil) 1 (nil) 0
> fixme:heap:HeapSetInformation 0x240000 0 0x23fd20 4
> -- The CXX compiler identification is MSVC 16.0.40219.1
> -- Check for CL compiler version
> fixme:heap:HeapSetInformation 0x240000 0 0x23fd20 4
> fixme:heap:HeapSetInformation (nil) 1 (nil) 0
> -- Check for CL compiler version - 1600
> -- Check if this is a free VC compiler
> fixme:heap:HeapSetInformation 0x240000 0 0x23fd20 4
> fixme:heap:HeapSetInformation (nil) 1 (nil) 0
> fixme:heap:HeapSetInformation 0x240000 0 0x23fd20 4
> -- Check if this is a free VC compiler - no
> -- Check for working C compiler: D:/qpSOFT/MyDEV/bin/amd64/cl.exe
> fixme:heap:HeapSetInformation 0x240000 0 0x23fd20 4
> fixme:heap:HeapSetInformation (nil) 1 (nil) 0
> fixme:heap:HeapSetInformation 0x240000 0 0x23fd20 4
> fixme:heap:HeapSetInformation (nil) 1 (nil) 0
> fixme:heap:HeapSetInformation 0xbe0000 0 0xacfd50 4
> fixme:file:NeedCurrentDirectoryForExePathW (L"echo"): partial stub
> fixme:heap:HeapSetInformation 0x240000 0 0x23fd20 4
> fixme:heap:HeapSetInformation (nil) 1 (nil) 0
> err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated.
> Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find
> it in the winbind package of your distribution.
> fixme:rpc:RpcBindingSetAuthInfoExW unsupported AuthnSvc 10
> -- Check for working C compiler: D:/qpSOFT/MyDEV/bin/amd64/cl.exe -- broken
> CMake Error at
> D:/qpSOFT/MyDEV/tool/cmake/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
>   The C compiler "D:/qpSOFT/MyDEV/bin/amd64/cl.exe" is not able to compile
> a
>   simple test program.
>
>   It fails with the following output:
>
>    Change Dir: D:/qpSOFT/Projects/WineTest/build/CMakeFiles/CMakeTmp
>
>
>
>   Run Build Command:nmake /NOLOGO "cmTryCompileExec1719599140\fast"
>
>       D:\qpSOFT\MyDEV\bin\amd64\nmake.exe -f
>   CMakeFiles\cmTryCompileExec1719599140.dir\build.make /nologo -L
>   CMakeFiles\cmTryCompileExec1719599140.dir\build
>
>       D:\qpSOFT\MyDEV\tool\cmake\cmake.exe -E cmake_progress_report
>   D:\qpSOFT\Projects\WineTest\build\CMakeFiles\CMakeTmp\CMakeFiles 1
>
>   Building C object
>   CMakeFiles/cmTryCompileExec1719599140.dir/testCCompiler.c.obj
>
>       D:\qpSOFT\MyDEV\bin\amd64\cl.exe @C:\users\loaden\Temp\nm1afb.tmp
>
>   testCCompiler.c
>
>   D:\qpSOFT\Projects\WineTest\build\CMakeFiles\CMakeTmp\testCCompiler.c :
>   fatal error C1902: Program database manager mismatch; please check your
>   installation
>
>   NMAKE : fatal error U1077: 'D:\qpSOFT\MyDEV\bin\amd64\cl.exe' : return
> code
>   '0x2'
>
>   Stop.
>
>   NMAKE : fatal error U1077: 'D:\qpSOFT\MyDEV\bin\amd64\nmake.exe' : return
>   code '0x2'
>
>   Stop.
>
>
>
>
>
>   CMake will not be able to correctly generate this project.
> Call Stack (most recent call first):
>   CMakeLists.txt:1 (project)
>
>
> -- Configuring incomplete, errors occurred!
>
>
> --
Best Regards
Yuchen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120916/f82c6704/attachment.htm>


More information about the CMake mailing list