[ 74%] Linking CXX executable bin\returncode_example.exe
D:/Qt/Qt5.3.2/Tools/mingw482_32/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lWIN32_SETUPAPI_LIB-NOTFOUND
D:/Qt/Qt5.3.2/Tools/mingw482_32/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lWIN32_WS2_32_LIB-NOTFOUND
collect2.exe: error: ld returned 1 exit status
CMakeFiles\returncode_example.dir\build.make:108: recipe for target 'bin/returncode_example.exe' failed
mingw32-make[2]: *** [bin/returncode_example.exe] Error 1
CMakeFiles\Makefile2:187: recipe for target 'CMakeFiles/returncode_example.dir/all' failed
mingw32-make[1]: *** [CMakeFiles/returncode_example.dir/all] Error 2
Makefile:89: recipe for target 'all' failed
mingw32-make: *** [all] Error 2
MengAo Zeng:
版本错误:
不能用64位i686-w64-mingw32
要用X86版本的。
,
lei jiang:
您好,我就是下的这个版本的qt,却依然显示这个错误,请问是哪里出了问题呢?
,
MengAo Zeng:
你好,请参考这个文档检验:https://www.ti.com/lit/ug/dlpu042/dlpu042.pdf?ts=1648171368686&ref_url=https%253A%252F%252Fwww.ti.com%252Fsitesearch%252Fen-us%252Fdocs%252Funiversalsearch.tsp%253FlangPref%253Den-US%2526searchTerm%253Ddlpu042%2526nr%253D33
是否缺了这一步:
,
lei jiang:
您好,我就是按照这个文档一步一步来的,并没有缺失这一步。