Not sure if that helps, but i got same error with _shared_ linkage when library didn't exported any symbols due to incorrect defines passed to the linker (Q_DECL_EXPORT/Q_DECL_IMPORT); in that case linker doesn't create an empty .lib file (is that a QBS bug, btw?). So you can try checking if the library is statically build or it still tries to build a shared lib somehow.
2018-08-06 16:16 GMT+03:00 Dorian Jicquel <[email protected]>: > Here you go : > > > C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN/link.exe > /nologo /DEBUG /PDB:untitled2.pdb /MACHINE:X86 /APPCONTAINER:NO > /OSVERSION:5.01 "/SUBSYSTEM:CONSOLE,5.01" /MANIFEST:embed > C:\Users\djicquel\Documents\build-untitled2-Qt_5_4_1_Mana_ > 32-Debug\qtc_Qt_5_4_1_Mana_32_Debug\untitled2.57dd9e61\3a52ce780950d4d9\main.cpp.obj > C:\Users\djicquel\Documents\build-untitled2-Qt_5_4_1_Mana_ > 32-Debug\qtc_Qt_5_4_1_Mana_32_Debug\untitled2.57dd9e61\ > 3a52ce780950d4d9\qrc_qml.cpp.obj C:\Qt\qt-5.4.1-mana\msvc2013\lib\Qt5Cored.lib > C:\Qt\qt-5.4.1-mana\msvc2013\lib\Qt5Guid.lib > C:\Qt\qt-5.4.1-mana\msvc2013\lib\Qt5Networkd.lib > C:\Qt\qt-5.4.1-mana\msvc2013\lib\Qt5Qmld.lib > C:\Qt\qt-5.4.1-mana\msvc2013\lib\Qt5Quickd.lib > Shell32.lib C:\Qt\qt-5.4.1-mana\msvc2013\lib\qtmaind.lib > /OUT:C:\Users\djicquel\Documents\build-untitled2-Qt_ > 5_4_1_Mana_32-Debug\qtc_Qt_5_4_1_Mana_32_Debug\untitled2.57dd9e61\untitled2.exe > /LIBPATH:C:\Qt\qt-5.4.1-mana\msvc2013\lib > > LINK : fatal error LNK1104: cannot open file 'libcpmtd.lib' > > > > Dorian. > > Le 06/08/2018 à 15:14, Christian Kandeler a écrit : > > On Mon, 6 Aug 2018 14:56:48 +0200 > Dorian Jicquel <[email protected]> <[email protected]> > wrote: > > > Since Qbs 1.12 i have some troubles compiling projects with > cpp.runtimeLibrary:"static" enabled under msvc2013 ( i use build tools ). > > Everything works fine with msvc2015 so i don't know if it's related to > my setup but since it used to work before i'm not sure of it. > > Here is the error message : *cannot open file 'libcpmtd.lib'.* > > What does the command line that causes the error look like? > > > Christian > _______________________________________________ > Qbs mailing > [email protected]http://lists.qt-project.org/mailman/listinfo/qbs > > > > _______________________________________________ > Qbs mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/qbs > >
_______________________________________________ Qbs mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qbs
