天嵌 ARM开发社区

 找回密码
 注册
查看: 4859|回复: 19

qtcreator编译arm版本程序问题

[复制链接]
月骅 发表于 2012-3-7 09:16:08 | 显示全部楼层 |阅读模式
编译一个示例程序的时候出了这种错误。新手表示不懂怎么回事。求解。
linking ../bin/curvdemo1
/opt/EmbedSky/4.3.3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot open output file ../bin/curvdemo1: Permission denied
collect2: ld returned 1 exit status
make[2]: Leaving directory `/home/author/qwt-6.0.1/examples/curvdemo1'
make[1]: Leaving directory `/home/author/qwt-6.0.1/examples'
make: Leaving directory `/home/author/qwt-6.0.1'
make[2]: *** [../bin/curvdemo1] Error 1
make[1]: *** [sub-curvdemo1-make_default] Error 2
make: *** [sub-examples-make_default-ordered] Error 2
08:53:12: The process "/usr/bin/make" exited with code 2.
Error while building project qwt (target: )
When executing build step 'Make'

wyz365889 发表于 2012-3-7 09:33:12 | 显示全部楼层

回帖奖励 +2

configure配置怎么配置的?

 楼主| 月骅 发表于 2012-3-7 10:12:40 | 显示全部楼层
wyz365889 发表于 2012-3-7 09:33
configure配置怎么配置的?

设置如下面两张图所示:

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
wyz365889 发表于 2012-3-7 10:20:50 | 显示全部楼层
qte你编译好了的?
 楼主| 月骅 发表于 2012-3-7 10:23:30 | 显示全部楼层
wyz365889 发表于 2012-3-7 10:20
qte你编译好了的?

我从诺基亚官网下载的qt-everywhere-opensource-src-4.8.0,解压成arm和x86两个版本,分别编译安装都成功了。
wyz365889 发表于 2012-3-7 10:31:47 | 显示全部楼层
qmake.conf你设置了没有
 楼主| 月骅 发表于 2012-3-7 10:32:57 | 显示全部楼层
wyz365889 发表于 2012-3-7 10:31
qmake.conf你设置了没有

这个没有设置。是在哪里设置的呢。
wyz365889 发表于 2012-3-7 10:38:46 | 显示全部楼层
你搜寻一下就可以找到了
 楼主| 月骅 发表于 2012-3-7 10:39:56 | 显示全部楼层
wyz365889 发表于 2012-3-7 10:31
qmake.conf你设置了没有

是不是usr/local/Trolltech/Qt-everywhere-opensource-src-4.8.0-arm/mkspecs/linux-g++/qmake.conf?
要怎么设置啊。
wyz365889 发表于 2012-3-7 10:44:17 | 显示全部楼层
我忘记了,百度一下很多的啊,很好设置的
 楼主| 月骅 发表于 2012-3-7 10:47:04 | 显示全部楼层
wyz365889 发表于 2012-3-7 10:44
我忘记了,百度一下很多的啊,很好设置的

用什么关键词呢,我试了qmake.conf,貌似没看到什么满意的答案啊。qmake设置也不行。我是不是太菜了。。。
wyz365889 发表于 2012-3-7 10:55:50 | 显示全部楼层
月骅 发表于 2012-3-7 10:47
用什么关键词呢,我试了qmake.conf,貌似没看到什么满意的答案啊。qmake设置也不行。我是不是太菜了。。。 ...

http://wenku.baidu.com/view/4817df4c2b160b4e767fcf4f.html


qtcreator qmake.conf arm
 楼主| 月骅 发表于 2012-3-7 11:04:20 | 显示全部楼层
wyz365889 发表于 2012-3-7 10:55
http://wenku.baidu.com/view/4817df4c2b160b4e767fcf4f.html

那片文章中的工作我都做过,主要和我目前这个编译出来的错误貌似没什么关系。汗。
 楼主| 月骅 发表于 2012-3-7 11:08:09 | 显示全部楼层
wyz365889 发表于 2012-3-7 10:55
http://wenku.baidu.com/view/4817df4c2b160b4e767fcf4f.html

还是要谢谢你,这么耐心的帮我解决问题。
 楼主| 月骅 发表于 2012-3-10 10:35:25 | 显示全部楼层
问题解决了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-10-5 05:18 , Processed in 1.034219 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表