Qt MingW编译程序,遇见如下错误提示:
1、:-1: error: cannot find crt2.o: No such file or directory
2、:-1: error: cannot find crtbegin.o: No such file or directory
3、:-1: error: cannot find crtend.o: No such file or directory
解决办法:
从其他电脑拷贝一份缺失的文件,放到对应的目录下即可。
文件的目录:C:\Qt\MingW\Tools\mingw530_32\i686-w64-mingw32\lib(参考目录,以自己电脑Qt安装的实际路径为准)
标签:Qt,No,cannot,file,directory,such,find From: https://blog.51cto.com/u_15907770/5926118