设为首页收藏本站
查看: 197|回复: 7

按手册设置编译环境,编译出错

[复制链接]

18

主题

32

回帖

222

积分

中级会员

积分
222
Zhangyubiao 发表于 2024-2-26 15:31:59 | 显示全部楼层 |阅读模式
02:22:53: Running steps for project hello...
02:22:53: Could not create directory "/home/test/build-hello-Generic_Linux_Device-Debug"
Error while building/deploying project hello (kit: Generic Linux Device)
The kit Generic Linux Device has configuration issues which might be the root cause for this problem.
When executing step "qmake"
02:22:53: Elapsed time: 00:00.

回复

使用道具 举报

18

主题

32

回帖

222

积分

中级会员

积分
222
 楼主| Zhangyubiao 发表于 2024-2-26 15:51:37 | 显示全部楼层






设置了 3 处,设置有问题吗?
回复 支持 反对

使用道具 举报

0

主题

12

回帖

78

积分

注册会员

积分
78
米尔小超人 发表于 2024-2-26 17:04:15 | 显示全部楼层
你看下这里是不是设置错误
回复 支持 反对

使用道具 举报

0

主题

12

回帖

78

积分

注册会员

积分
78
米尔小超人 发表于 2024-2-26 17:05:17 | 显示全部楼层
本帖最后由 米尔小超人 于 2024-2-26 17:38 编辑

我看下你的设置是否正确
回复 支持 反对

使用道具 举报

0

主题

12

回帖

78

积分

注册会员

积分
78
米尔小超人 发表于 2024-2-26 17:44:52 | 显示全部楼层
1.看你的配置都是正常的,应该没啥问题。
2.这里有这么一句话,The kit Generic Linux Device has configuration issues which might be the root cause for this problem.
When executing step "qmake"。我怀疑是你的环境不能运行qmake。
3.你需要这样操作一下,到你安装的目录下手动运行下 ./qmake 看是不是也是报glibc版本问题
回复 支持 反对

使用道具 举报

18

主题

32

回帖

222

积分

中级会员

积分
222
 楼主| Zhangyubiao 发表于 2024-2-26 17:50:19 | 显示全部楼层

回复 支持 反对

使用道具 举报

0

主题

8

回帖

50

积分

注册会员

积分
50
米尔小助手4 发表于 2024-2-26 18:20:30 | 显示全部楼层

你这个是路径错误,正确路径是这个
/opt/remi-sdk/sysroots/x86_64-pokysdk-linux/usr/bin$ ./qmake -v
QMake version 3.1
Using Qt version 5.15.0 in /opt/remi-sdk/sysroots/aarch64-poky-linux/usr/lib64

回复 支持 反对

使用道具 举报

18

主题

32

回帖

222

积分

中级会员

积分
222
 楼主| Zhangyubiao 发表于 2024-2-26 18:44:51 | 显示全部楼层

回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录

本版积分规则

Archiver|手机版|小黑屋|米尔科技论坛   

GMT+8, 2024-4-28 16:21 , Processed in 0.084580 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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