<div>I can using qmake + MSVC via Wine on Ubuntu 12.04, but when I want switch to cmake build system, it's broken.<br>Any comments?<br><br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
D:\qpSOFT\Projects\WineTest\build>cmake ..<br>fixme:heap:HeapSetInformation 0xbe0000 0 0xacfd50 4<br>-- Building for: NMake Makefiles<br>fixme:heap:HeapSetInformation 0x240000 0 0x23fd20 4<br>fixme:heap:HeapSetInformation (nil) 1 (nil) 0<br>
fixme:heap:HeapSetInformation 0x240000 0 0x23fd20 4<br>-- The C compiler identification is MSVC 16.0.40219.1<br>fixme:heap:HeapSetInformation 0x240000 0 0x23fd20 4<br>fixme:heap:HeapSetInformation (nil) 1 (nil) 0<br>fixme:heap:HeapSetInformation 0x240000 0 0x23fd20 4<br>
-- The CXX compiler identification is MSVC 16.0.40219.1<br>-- Check for CL compiler version<br>fixme:heap:HeapSetInformation 0x240000 0 0x23fd20 4<br>fixme:heap:HeapSetInformation (nil) 1 (nil) 0<br>-- Check for CL compiler version - 1600<br>
-- Check if this is a free VC compiler<br>fixme:heap:HeapSetInformation 0x240000 0 0x23fd20 4<br>fixme:heap:HeapSetInformation (nil) 1 (nil) 0<br>fixme:heap:HeapSetInformation 0x240000 0 0x23fd20 4<br>-- Check if this is a free VC compiler - no<br>
-- Check for working C compiler: D:/qpSOFT/MyDEV/bin/amd64/cl.exe<br>fixme:heap:HeapSetInformation 0x240000 0 0x23fd20 4<br>fixme:heap:HeapSetInformation (nil) 1 (nil) 0<br>fixme:heap:HeapSetInformation 0x240000 0 0x23fd20 4<br>
fixme:heap:HeapSetInformation (nil) 1 (nil) 0<br>fixme:heap:HeapSetInformation 0xbe0000 0 0xacfd50 4<br>fixme:file:NeedCurrentDirectoryForExePathW (L"echo"): partial stub<br>fixme:heap:HeapSetInformation 0x240000 0 0x23fd20 4<br>
fixme:heap:HeapSetInformation (nil) 1 (nil) 0<br>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.<br>
fixme:rpc:RpcBindingSetAuthInfoExW unsupported AuthnSvc 10<br>-- Check for working C compiler: D:/qpSOFT/MyDEV/bin/amd64/cl.exe -- broken<br>CMake Error at D:/qpSOFT/MyDEV/tool/cmake/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):<br>
The C compiler "D:/qpSOFT/MyDEV/bin/amd64/cl.exe" is not able to compile a<br> simple test program.<br><br> It fails with the following output:<br><br> Change Dir: D:/qpSOFT/Projects/WineTest/build/CMakeFiles/CMakeTmp<br>
<br> <br><br> Run Build Command:nmake /NOLOGO "cmTryCompileExec1719599140\fast"<br><br> D:\qpSOFT\MyDEV\bin\amd64\nmake.exe -f<br> CMakeFiles\cmTryCompileExec1719599140.dir\build.make /nologo -L<br> CMakeFiles\cmTryCompileExec1719599140.dir\build<br>
<br> D:\qpSOFT\MyDEV\tool\cmake\cmake.exe -E cmake_progress_report<br> D:\qpSOFT\Projects\WineTest\build\CMakeFiles\CMakeTmp\CMakeFiles 1<br><br> Building C object<br> CMakeFiles/cmTryCompileExec1719599140.dir/testCCompiler.c.obj<br>
<br> D:\qpSOFT\MyDEV\bin\amd64\cl.exe @C:\users\loaden\Temp\nm1afb.tmp<br><br> testCCompiler.c<br><br> D:\qpSOFT\Projects\WineTest\build\CMakeFiles\CMakeTmp\testCCompiler.c :<br> fatal error C1902: Program database manager mismatch; please check your<br>
installation<br><br> NMAKE : fatal error U1077: 'D:\qpSOFT\MyDEV\bin\amd64\cl.exe' : return code<br> '0x2'<br><br> Stop.<br><br> NMAKE : fatal error U1077: 'D:\qpSOFT\MyDEV\bin\amd64\nmake.exe' : return<br>
code '0x2'<br><br> Stop.<br><br> <br><br> <br><br> CMake will not be able to correctly generate this project.<br>Call Stack (most recent call first):<br> CMakeLists.txt:1 (project)<br><br><br>-- Configuring incomplete, errors occurred!<br>
<br clear="all"><br></blockquote>-- <br><div>Best Regards</div>
<div>Yuchen</div><br>