[CMake] Wine + CMake + MSVC : Broken to check the working C compiler
Loaden
loaden at gmail.com
Sat Sep 15 20:48:47 EDT 2012
Follow this link:
http://appdb.winehq.org/objectManager.php?sClass=version&iId=19444&iTestingId=63699&bShowAll=true
I see:
> *Steam Client crashes when authenticating Steam User Account*
>
> This problem can be caused by WINE requiring the native *ntlm_auth*library to be installed (in order to authentic your login). On most
> Linux-based distributions this library is included in the *Samba*(server) package - typically this package includes
> *winbind*.
>
> If you have this issue then you will see an error similar to the following:
>
> 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.
>
> in the console (debug) output - when you launch the Steam client from a
> terminal.
>
Then I install the winbind package.
sudo apt-get install winbind
>
It seems the error go away. but cmake never return, it's seems waiting some
thing for a long time.
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.
>
>
2012/9/16 Loaden <loaden at gmail.com>
> 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
>
>
--
Best Regards
Yuchen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120916/2cae5929/attachment-0001.htm>
More information about the CMake
mailing list