|
发表于 2023-4-29 14:36:02
3143 浏览 1 回复
px4环境配置问题,新手
prometheus-px4 环境配置出现如下错误该如解决
jasong@jasong-virtual-machine:~/prometheus_px4$ make amovlab_sitl_default gazebo_p450
[0/5] Performing build step for 'sitl_gazebo'
[2/89] Building CXX object CMakeFiles/...n.dir/src/gazebo_airspeed_plugin.cpp.o
FAILED: CMakeFiles/gazebo_airspeed_plugin.dir/src/gazebo_airspeed_plugin.cpp.o
/usr/bin/ccache /usr/bin/c++ -DLIBBULLET_VERSION=2.87 -DLIBBULLET_VERSION_GT_282 -Dgazebo_airspeed_plugin_EXPORTS -isystem /usr/include/gazebo-9 -isystem /usr/include/bullet -isystem /usr/include/simbody -isystem /usr/include/sdformat-6.3 -isystem /usr/include/ignition/math4 -isystem /usr/include/OGRE -isystem /usr/include/OGRE/Terrain -isystem /usr/include/OGRE/Paging -isystem /usr/include/ignition/transport4 -isystem /usr/include/ignition/msgs1 -isystem /usr/include/ignition/common1 -isystem /usr/include/ignition/fuel_tools1 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/home/jasong/prometheus_px4/Tools/sitl_gazebo/include -I. -I/usr/include/eigen3 -I/usr/include/eigen3/eigen3 -I/usr/include/gazebo-9/gazebo/msgs -I/home/jasong/prometheus_px4/mavlink/include -I/usr/include/Paging -isystem /usr/include/opencv -I/home/jasong/prometheus_px4/Tools/sitl_gazebo/external/OpticalFlow/include -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /usr/include/uuid -isystem /usr/include/x86_64-linux-gnu -O2 -g -DNDEBUG -fPIC -Wno-deprecated-declarations -Wno-address-of-packed-member -I/usr/include/uuid -I/usr/include/x86_64-linux-gnu -std=gnu++1z -MD -MT CMakeFiles/gazebo_airspeed_plugin.dir/src/gazebo_airspeed_plugin.cpp.o -MF CMakeFiles/gazebo_airspeed_plugin.dir/src/gazebo_airspeed_plugin.cpp.o.d -o CMakeFiles/gazebo_airspeed_plugin.dir/src/gazebo_airspeed_plugin.cpp.o -c /home/jasong/prometheus_px4/Tools/sitl_gazebo/src/gazebo_airspeed_plugin.cpp
c++: internal compiler error: 已杀死 (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
[3/89] Building CXX object CMakeFiles/...src/gazebo_camera_manager_plugin.cpp.o
FAILED: CMakeFiles/gazebo_camera_manager_plugin.dir/src/gazebo_camera_manager_plugin.cpp.o
/usr/bin/ccache /usr/bin/c++ -DLIBBULLET_VERSION=2.87 -DLIBBULLET_VERSION_GT_282 -Dgazebo_camera_manager_plugin_EXPORTS -isystem /usr/include/gazebo-9 -isystem /usr/include/bullet -isystem /usr/include/simbody -isystem /usr/include/sdformat-6.3 -isystem /usr/include/ignition/math4 -isystem /usr/include/OGRE -isystem /usr/include/OGRE/Terrain -isystem /usr/include/OGRE/Paging -isystem /usr/include/ignition/transport4 -isystem /usr/include/ignition/msgs1 -isystem /usr/include/ignition/common1 -isystem /usr/include/ignition/fuel_tools1 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/home/jasong/prometheus_px4/Tools/sitl_gazebo/include -I. -I/usr/include/eigen3 -I/usr/include/eigen3/eigen3 -I/usr/include/gazebo-9/gazebo/msgs -I/home/jasong/prometheus_px4/mavlink/include -I/usr/include/Paging -isystem /usr/include/opencv -I/home/jasong/prometheus_px4/Tools/sitl_gazebo/external/OpticalFlow/include -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /usr/include/uuid -isystem /usr/include/x86_64-linux-gnu -O2 -g -DNDEBUG -fPIC -Wno-deprecated-declarations -Wno-address-of-packed-member -I/usr/include/uuid -I/usr/include/x86_64-linux-gnu -std=gnu++1z -MD -MT CMakeFiles/gazebo_camera_manager_plugin.dir/src/gazebo_camera_manager_plugin.cpp.o -MF CMakeFiles/gazebo_camera_manager_plugin.dir/src/gazebo_camera_manager_plugin.cpp.o.d -o CMakeFiles/gazebo_camera_manager_plugin.dir/src/gazebo_camera_manager_plugin.cpp.o -c /home/jasong/prometheus_px4/Tools/sitl_gazebo/src/gazebo_camera_manager_plugin.cpp
c++: internal compiler error: 已杀死 (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
ninja: build stopped: subcommand failed.
[1/5] Generating ../../logs
FAILED: external/Stamp/sitl_gazebo/sitl_gazebo-build
cd /home/jasong/prometheus_px4/build/amovlab_sitl_default/build_gazebo && /usr/bin/cmake --build /home/jasong/prometheus_px4/build/amovlab_sitl_default/build_gazebo -- -j 2
ninja: build stopped: subcommand failed.
Makefile:224: recipe for target 'amovlab_sitl_default' failed
make: *** [amovlab_sitl_default] Error 1
amov-辰星已获得悬赏 3 阿木币最佳答案
https://wiki.amovlab.com/public/prometheus-wiki
参考wiki教程重装一下呢
|
扫一扫浏览分享
|
|
|
|
|
|
|