首页| 论坛| 消息

标题:collect2: ld returned 1 exit status
作者:tempester
日期:2011-08-08 15:19
内容:

开始用creator做了个Helloworld程序,内容是点击Helloworldbutton程序close,但是第二次我只是把大小改了下,结果就出现collect2: ld returned 1 exit status。这是什么问题?求高人指点。


#1 回 楼主(tempester) 的帖子 [jdwx 08-08 15:52]
用的mingw编译的吧,不管3721就是那么个错误。你点QtCreator最下面(4编译信息)看看。哪里详细点。
#2 [tempester 08-08 16:33]
/usr/bin/ld: plotter2.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: plotter2.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: plotter2.o: Relocations in generic ELF (EM: 40)
plotter2.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** Error 1
Exited with code 2.
Error while building project protter3
When executing build step 'Make'
你好,compile output里边显示的是这个。
#3 回 2楼(tempester) 的帖子 [wxj120bw 08-08 21:12]
重新编译下(清空编译)
#4 [tempester 08-09 11:55]
哦,对哈。可能是我之前用了qmake了,感谢

回复 发表
主题 版块