2

阿木币

0

精华

38 小时

在线时间

应届白菜

Rank: 1

发表于 2022-5-19 10:49:25 2964 浏览 7 回复

[新手上路] 入门编译promethues项目

prometheus问答
提问前请先确定以下问题:: ./compile control.sh时出现报错
第一步:问题BUG描述: Base path: /home/zgm/Prometheus1
Source space: /home/zgm/Prometheus1/Modules/common/msgs
Build space: /home/zgm/Prometheus1/build/msgs
Devel space: /home/zgm/Prometheus1/devel
Install space: /home/zgm/Prometheus1/install
####
#### Running command: "cmake /home/zgm/Prometheus1/Modules/common/msgs -DCATKIN_DEVEL_PREFIX=/home/zgm/Prometheus1/devel -DCMAKE_INSTALL_PREFIX=/home/zgm/Promet"eus1/install -G Unix Makefiles" in "/home/zgm/Prometheus1/build/msgs
####
CMake Error: The current CMakeCache.txt directory /home/zgm/Prometheus1/build/ms/CMakeCache.txt is different than the directory /home/zgm/Prometheus/build/msgs where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt
CMake Error: The source "/home/zgm/Prometheus1/Modules/common/msgs/CMakeLists.txt" does not match the source "/home/zgm/Prometheus/Modules/common/msgs/CMakeLists.txt" used to generate cache. Re-run cmake with a different source directory.
Invoking "cmake" failed
Base path: /home/zgm/Prometheus1
Source space: /home/zgm/Prometheus1/Modules/control
Build space: /home/zgm/Prometheus1/build/control
Devel space: /home/zgm/Prometheus1/devel
Install space: /home/zgm/Prometheus1/install
####
#### Running command: "cmake /home/zgm/Prometheus1/Modules/control -DCATKIN_DEVEL_PREFIX=/home/zgm/Prometheus1/devel -DCMAKE_INSTALL_PREFIX=/home/zgm/Prometheus"/install -G Unix Makefiles" in "/home/zgm/Prometheus1/build/control
####
CMake Error: The current CMakeCache.txt directory /home/zgm/Prometheus1/build/co/CMakeCache.txt is different than the directory /home/zgm/Prometheus/build/control where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt
CMake Error: The source "/home/zgm/Prometheus1/Modules/control/CMakeLists.txt" does not match the source "/home/zgm/Prometheus/Modules/control/CMakeLists.txt" used to generate cache. Re-run cmake with a different source directory.
Invoking "cmake" failed
Base path: /home/zgm/Prometheus1
Source space: /home/zgm/Prometheus1/Modules/ground_station
Build space: /home/zgm/Prometheus1/build/ground_station
Devel space: /home/zgm/Prometheus1/devel
Install space: /home/zgm/Prometheus1/install
####
#### Running command: "cmake /home/zgm/Prometheus1/Modules/ground_station -DCATKIN_DEVEL_PREFIX=/home/zgm/Prometheus1/devel -DCMAKE_INSTALL_PREFIX=/home/zgm/Prometheus1/install -G Unix Makefiles" in "/home/zgm/Prometheus1/build/ground_stati"n
####
CMake Error: The current CMakeCache.txt directory /home/zgm/Prometheus1/build/gr/CMakeCache.txt is different than the directory /home/zgm/Prometheus/build/ground_station where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt
CMake Error: The source "/home/zgm/Prometheus1/Modules/ground_station/CMakeLists.txt" does not match the source "/home/zgm/Prometheus/Modules/ground_station/CMakeLists.txt" used to generate cache. Re-run cmake with a different source directory.
Invoking "cmake" failed
Base path: /home/zgm/Prometheus1
Source space: /home/zgm/Prometheus1/Modules/ugv_control
Build space: /home/zgm/Prometheus1/build/ugv_control
Devel space: /home/zgm/Prometheus1/devel
Install space: /home/zgm/Prometheus1/install
####
#### Running command: "cmake /home/zgm/Prometheus1/Modules/ugv_control -DCATKIN_DEVEL_PREFIX=/home/zgm/Prometheus1/devel -DCMAKE_INSTALL_PREFIX=/home/zgm/Promet"eus1/install -G Unix Makefiles" in "/home/zgm/Prometheus1/build/ugv_control
####
CMake Error: The current CMakeCache.txt directory /home/zgm/Prometheus1/build/ug/CMakeCache.txt is different than the directory /home/zgm/Prometheus/build/ugv_control where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt
CMake Error: The source "/home/zgm/Prometheus1/Modules/ugv_control/CMakeLists.txt" does not match the source "/home/zgm/Prometheus/Modules/ugv_control/CMakeLists.txt" used to generate cache. Re-run cmake with a different source directory.
Invoking "cmake" failed
第二步:PX4版本是否为Prometheus_PX4_V1.11.1分支?: 是 Prometheus_PX4_V1.11.1
第三步:测试prometheus_px4是否正常: 不正常
第四步:Prometheus版本是否为最新master?: 是master版本
第五步:测试Prometheus是否正常:

blueboats已获得悬赏 3 阿木币

最佳答案

下载压缩包是不可以的 因为有些git信息没有了 编译我试过通过不了 这个可能是github的一个保护机制吧。。。

扫一扫浏览分享
回复

使用道具 举报

255

阿木币

1

精华

55 小时

在线时间

老司机

Rank: 2

发表于 2022-5-19 16:03:47
此帖仅作者可见

使用道具 举报

2

阿木币

0

精华

38 小时

在线时间

应届白菜

Rank: 1

 楼主| 发表于 2022-5-19 16:06:18 来自手机
此帖仅作者可见

使用道具 举报

149

阿木币

1

精华

425 小时

在线时间

技术大V

Rank: 4

发表于 2022-5-20 09:06:07
此帖仅作者可见

使用道具 举报

188

阿木币

3

精华

71 小时

在线时间

技术大V

Rank: 4

发表于 2022-5-20 10:00:34
此帖仅作者可见

使用道具 举报

255

阿木币

1

精华

55 小时

在线时间

老司机

Rank: 2

发表于 2022-5-20 12:14:26
此帖仅作者可见

使用道具 举报

2

阿木币

0

精华

38 小时

在线时间

应届白菜

Rank: 1

 楼主| 发表于 2022-5-20 14:32:06 来自手机
此帖仅作者可见

使用道具 举报

2

阿木币

0

精华

38 小时

在线时间

应届白菜

Rank: 1

 楼主| 发表于 2022-5-20 14:33:07 来自手机
此帖仅作者可见

使用道具 举报

返回列表
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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