[QBS] Qbs can't work with Windows SDK 7.1
Loaden
loaden at gmail.com
Wed Apr 11 06:18:10 CEST 2012
*ERROR:* The process 'D:\qpSOFT\DEVx86*\VC\*bin\lib.exe' could not be
started: Process failed to start:
No such file or directory
*Same issue with lib.exe, please see the log show below:*
> D:\qpSOFT\Projects\Qbs\tests\manual\link_staticlib>qbs platforms list
> Platforms:
> - WinSDK7.1.7600.0.30514
> D:\qpSOFT\Projects\Qbs\tests\manual\link_staticlib>qbs platforms probe
> Detecting MSVC toolchains...
> Windows SDK detected:
> version 7.1.7600.0.30514
> installed in D:\qpSOFT\DEVx86
> This SDK contains C++ compiler(s).
> This is the default SDK on this machine.
> Setting up platform WinSDK7.1.7600.0.30514
> D:\qpSOFT\Projects\Qbs\tests\manual\link_staticlib>qbs config --list
> local variables:
> global variables:
> profile: 5
> profiles.4.qbs.platform: WinSDK7.1.7600.0.30514
> profiles.4.qt.core.path: D:\qpSOFT\Projects\Qt4
> profiles.5.qbs.platform: WinSDK7.1.7600.0.30514
> profiles.5.qt.core.path: D:\qpSOFT\DEVx86\qt
> profiles.5.qt.core.version: 5.0.0
> D:\qpSOFT\Projects\Qbs\tests\manual\link_staticlib>qbs
> Found project file
> D:\qpSOFT\Projects\Qbs\tests\manual\link_staticlib\link_staticlib.qbp
> loading project took: 47 ms
> build graph took: 8 ms
> for debug:
> - [hpp, staticlibrary] mystaticlib as debug
> - [hpp, application] HelloWorld as debug
> - [hpp, staticlibrary] helperlib as debug
> compiling helper.cpp
> compiling mystaticlib.cpp
> creating helperlib.lib
> D:\qpSOFT\DEVx86/VC/bin/lib.exe /nologo
> /OUT:D:\qpSOFT\Projects\Qbs\tests\manual\link_staticlib\buil
> d\debug\helperlib.lib
> D:\qpSOFT\Projects\Qbs\tests\manual\link_staticlib\build\debug\.obj\helperlib\
> helper\helper.obj
> *ERROR:* The process 'D:\qpSOFT\DEVx86*\VC\*bin\lib.exe' could not be
> started: Process failed to start:
> No such file or directory
> ERROR: The following products could not be built: mystaticlib, helperlib,
> HelloWorld.
> Build failed.
> D:\qpSOFT\Projects\Qbs\tests\manual\link_staticlib>
>
2012/3/12 <joerg.bornemann at nokia.com>
> Heh right. The prober must store the path to VC itself and not the
> Visual Studio location and msvc.js should not add the VC subdir.
> Will fix.
>
> Jörg
>
> ------------------------------
> *From:* qbs-bounces+joerg.bornemann=nokia.com at qt-project.org[qbs-bounces+joerg.bornemann=
> nokia.com at qt-project.org] on behalf of ext Loaden [loaden at gmail.com]
> *Sent:* 08 March 2012 02:59
> *To:* qbs at qt-project.org
> *Subject:* [QBS] Qbs can't work with Windows SDK 7.1
>
> Hi, All! After build the latest of master branch, I found Qbs still
> not work with Windows SDK.
>
>>
>> D:\qpSOFT\Sources\Qbs\tests\manual\pch>qbs platforms probe
>> Detecting MSVC toolchains...
>> Windows SDK detected:
>> version 7.1.7600.0.30514
>> installed in D:\qpSOFT\DEVx86
>> This SDK contains C++ compiler(s).
>> This is the default SDK on this machine.
>> Setting up platform WinSDK7.1.7600.0.30514
>> Platform 'mingw32' detected in 'D:\qpSOFT\MinGW\MinGW32'.
>> D:\qpSOFT\Sources\Qbs\tests\manual\pch>qbs
>> Found project file D:\qpSOFT\Sources\Qbs\tests\manual\pch\pch.qbp
>> loading project took: 30 ms
>> build graph took: 6 ms
>> for debug:
>> - [hpp, application] pch as debug
>>
>> Scanning for file dependencies...
>> precompiling stable.h
>> D:\qpSOFT\DEVx86/*VC/*bin/cl.exe /nologo /c /Zm200 /Zc:wchar_t- /EHsc
>> /Zi /MDd /DUNICODE /DWIN32 /Yc /
>> FpD:\qpSOFT\Sources\Qbs\tests\manual\pch\build\debug\.obj\pch\pch.pch
>> /FoD:\qpSOFT\Sources\Qbs\tests
>> \manual\pch\build\debug\.obj\pch\stable.obj /TP
>> D:\qpSOFT\Sources\Qbs\tests\manual\pch\stable.h /FoD
>> :\qpSOFT\Sources\Qbs\tests\manual\pch\build\debug\.obj\pch\stable.obj
>> D:\qpSOFT\Sources\Qbs\tests\ma
>> nual\pch\stable.h
>> ERROR: Process could not be started.
>> ERROR: The following products could not be built: pch.
>> Build failed.
>> --
>>
> See D:\qpSOFT\DEVx86/*VC/*bin/cl.exe, It's wrong, It should be
> D:\qpSOFT\DEVx86/bin/cl.exe
> In msvc.js, We can see there add a token 'VC/', So someone can help to
> solved it?
> I try to remove 'VC', then works well.
> But this is not the realy solution.
>
> Regards
> Loaden
>
>
--
Regards
Loaden
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20120411/ec97d3d7/attachment.html>
More information about the Qbs
mailing list