当前位置: 技术问答>linux和unix
collect2: ld returned 1 exit status && ld.exe: cannot find -lSimTransfer
来源: 互联网 发布时间:2017-03-05
本文导语: mingw32-make: Leaving directory `E:/cdc_16/Astray_Tamp_behind/3.3qt520/3.3qt' c:/qt/2010.05/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lSimTransfer collect2: ld returned 1 exit status mingw32-make[1]: *** [bin/DCL_QT.exe] Error 1 ...
mingw32-make: Leaving directory `E:/cdc_16/Astray_Tamp_behind/3.3qt520/3.3qt'
c:/qt/2010.05/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lSimTransfer
collect2: ld returned 1 exit status
mingw32-make[1]: *** [bin/DCL_QT.exe] Error 1
mingw32-make: *** [debug] Error 2
The process "C:/Qt/2010.05/mingw/bin/mingw32-make.exe" exited with code %2.
Error while building project qt (target: Desktop)
When executing build step 'Make'
c:/qt/2010.05/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lSimTransfer
collect2: ld returned 1 exit status
mingw32-make[1]: *** [bin/DCL_QT.exe] Error 1
mingw32-make: *** [debug] Error 2
The process "C:/Qt/2010.05/mingw/bin/mingw32-make.exe" exited with code %2.
Error while building project qt (target: Desktop)
When executing build step 'Make'
|
应该重新设置一下 build steps
将Additional arguments 设置为“-spec C:/Qt/2010.05/qt/mkspecs/win32-g++”,其中C:/Qt/2010.05/qt/mkspecs/win32-g++是我的win32-g++所在的目录,换成你的安装目录就可以了
将Additional arguments 设置为“-spec C:/Qt/2010.05/qt/mkspecs/win32-g++”,其中C:/Qt/2010.05/qt/mkspecs/win32-g++是我的win32-g++所在的目录,换成你的安装目录就可以了