MinGW 环境下,Qt 编译出错求大神解救!!!
mingw32-make[1]:Leavingdirectory`C:/Users/Tz/Desktop/build-qt-map-Local_PC-Debug'g++:...
mingw32-make[1]: Leaving directory `C:/Users/Tz/Desktop/build-qt-map-Local_PC-Debug'
g++: ./mitab/cpl.lib: No such file or directory
g++: ./mitab/mitab_i.lib: No such file or directory
g++: ./mitab/ogr.lib: No such file or directory
g++: ./mitab/mitab.lib: No such file or directory
mingw32-make[1]: *** [debug\qt-map.exe] Error 1
mingw32-make: *** [debug] Error 2
21:04:43: 进程"D:\MinGW\bin\mingw32-make.exe"退出,退出代码 2 。
Error while building/deploying project qt-map (kit: Local PC)
当执行步骤 'Make'时 展开
g++: ./mitab/cpl.lib: No such file or directory
g++: ./mitab/mitab_i.lib: No such file or directory
g++: ./mitab/ogr.lib: No such file or directory
g++: ./mitab/mitab.lib: No such file or directory
mingw32-make[1]: *** [debug\qt-map.exe] Error 1
mingw32-make: *** [debug] Error 2
21:04:43: 进程"D:\MinGW\bin\mingw32-make.exe"退出,退出代码 2 。
Error while building/deploying project qt-map (kit: Local PC)
当执行步骤 'Make'时 展开
展开全部
如果是一启动就报错,一般是DLL文件找不到。不使用GDB直接运行看看。不行就用Depends。
(Dependency Walker)。看看缺少的DLL
(Dependency Walker)。看看缺少的DLL
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
g++: ./mitab/cpl.lib: No such file or directory
g++: ./mitab/mitab_i.lib: No such file or directory
g++: ./mitab/ogr.lib: No such file or directory
g++: ./mitab/mitab.lib: No such file or directory
先把这四个库加到工程里面再看。
具体方法:
SOURCES += \
main.cpp \
LIBS +=D:\Qt\4.8.5\lib\QtGuid4.lib
LIBS +=D:\Qt\4.8.5\lib\QtGui4.lib
LIBS +=D:\Qt\4.8.5\lib\QtSql4.lib
在pro文件里面修改。
g++: ./mitab/mitab_i.lib: No such file or directory
g++: ./mitab/ogr.lib: No such file or directory
g++: ./mitab/mitab.lib: No such file or directory
先把这四个库加到工程里面再看。
具体方法:
SOURCES += \
main.cpp \
LIBS +=D:\Qt\4.8.5\lib\QtGuid4.lib
LIBS +=D:\Qt\4.8.5\lib\QtGui4.lib
LIBS +=D:\Qt\4.8.5\lib\QtSql4.lib
在pro文件里面修改。
本回答被提问者和网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询