Open omarbo4k4 opened 5 days ago
What is the version of ubuntu you are using ? Is it a fresh install of ubuntu ? What is the error with matplotlib>=3.10.* ? There is no "requirment.text" file in this repo. Where is stored the requirment.text file you modified ?
I am using Ubuntu 22.04 And the problem appears in the line of installing from the .sh after debugging the installation stops at the line of “ make px4_sitl” this line gets an error
also yes this repo doesn’t have requirements.text however the get clone of the px4 autopilot have a requirement.text and it have a problem in it and i modified the file then re ran the .SH file on your repo again in order to complete my installation however i got an error in the line mentioned above I hope my explanation was clear this time.
matplotlib>=3.10.* is giving an error after resolving it by deleting everything after the > sign it gives me that issues
Relogin or reboot computer before attempting to build NuttX targets [1/296] Building CXX object src/modules/simulation/gz_bridge/CMakeFiles/modules__simulation__gz_bridge.dir/GZBridge.cpp.o FAILED: src/modules/simulation/gz_bridge/CMakeFiles/modules__simulation__gz_bridge.dir/GZBridge.cpp.o /usr/bin/c++ -DCONFIG_ARCH_BOARD_PX4_SITL -DENABLE_LOCKSTEP_SCHEDULER -DMODULE_NAME=\"gz_bridge\" -DPROTOBUF_USE_DLLS -DPX4_MAIN=gz_bridge_app_main -D__CUSTOM_FILE_IO__ -D__PX4_LINUX -D__PX4_POSIX -D__STDC_FORMAT_MACROS -Dnoreturn_function="__attribute__((noreturn))" -I/home/bo4k4/PX4-Autopilot/boards/px4/sitl/src -I/home/bo4k4/PX4-Autopilot/platforms/posix/src/px4/common/include -I/home/bo4k4/PX4-Autopilot/build/px4_sitl_default -I/home/bo4k4/PX4-Autopilot/build/px4_sitl_default/src/lib -I/home/bo4k4/PX4-Autopilot/platforms/posix/src/px4/generic/generic/include -I/home/bo4k4/PX4-Autopilot/platforms/common -I/home/bo4k4/PX4-Autopilot/platforms/common/include -I/home/bo4k4/PX4-Autopilot/src -I/home/bo4k4/PX4-Autopilot/src/include -I/home/bo4k4/PX4-Autopilot/src/lib -I/home/bo4k4/PX4-Autopilot/src/lib/matrix -I/home/bo4k4/PX4-Autopilot/src/modules -I/home/bo4k4/PX4-Autopilot/platforms/posix/include -I/home/bo4k4/PX4-Autopilot/build/px4_sitl_default/external/Install/include -isystem /usr/include/gz/transport13 -isystem /home/bo4k4/anaconda3/include -isystem /usr/include/gz/utils2 -isystem /usr/include/gz/msgs10 -isystem /usr/include/gz/math7 -isystem /usr/include/uuid -O2 -g -DNDEBUG -fPIC -g -fdata-sections -ffunction-sections -fomit-frame-pointer -fmerge-all-constants -fno-signed-zeros -fno-trapping-math -freciprocal-math -fno-math-errno -fno-strict-aliasing -fvisibility=hidden -include visibility.h -Wall -Wextra -Werror -Warray-bounds -Wcast-align -Wdisabled-optimization -Wdouble-promotion -Wfatal-errors -Wfloat-equal -Wformat-security -Winit-self -Wlogical-op -Wpointer-arith -Wshadow -Wuninitialized -Wunknown-pragmas -Wunused-variable -Wno-missing-field-initializers -Wno-missing-include-dirs -Wno-unused-parameter -fdiagnostics-color=always -Wno-stringop-truncation -fno-builtin-printf -fno-strength-reduce -Wformat=1 -Wunused-but-set-variable -Wno-format-truncation -fcheck-new -Wreorder -Wno-overloaded-virtual -frtti -fexceptions -O2 -I/usr/include/uuid -std=gnu++17 -MD -MT src/modules/simulation/gz_bridge/CMakeFiles/modules__simulation__gz_bridge.dir/GZBridge.cpp.o -MF src/modules/simulation/gz_bridge/CMakeFiles/modules__simulation__gz_bridge.dir/GZBridge.cpp.o.d -o src/modules/simulation/gz_bridge/CMakeFiles/modules__simulation__gz_bridge.dir/GZBridge.cpp.o -c /home/bo4k4/PX4-Autopilot/src/modules/simulation/gz_bridge/GZBridge.cpp In file included from /usr/include/gz/msgs10/gz/msgs/vector3d.pb.h:12, from /usr/include/gz/msgs10/gz/msgs/convert/Vector3.hh:21, from /usr/include/gz/msgs10/gz/msgs/convert/AxisAlignedBox.hh:20, from /usr/include/gz/msgs10/gz/msgs.hh:23, from /home/bo4k4/PX4-Autopilot/src/modules/simulation/gz_bridge/GZMixingInterfaceESC.hpp:38, from /home/bo4k4/PX4-Autopilot/src/modules/simulation/gz_bridge/GZBridge.hpp:36, from /home/bo4k4/PX4-Autopilot/src/modules/simulation/gz_bridge/GZBridge.cpp:34: /usr/include/gz/msgs10/gz/msgs/details/vector3d.pb.h:17:2: error: #error This file was generated by an older version of protoc which is 17 | #error This file was generated by an older version of protoc which is | ^~~~~ compilation terminated due to -Wfatal-errors. [2/296] Building CXX object src/modules/simulation/gz_bridge/CMakeFiles/modules__simulation__gz_bridge.dir/GZMixingInterfaceESC.cpp.o FAILED: src/modules/simulation/gz_bridge/CMakeFiles/modules__simulation__gz_bridge.dir/GZMixingInterfaceESC.cpp.o /usr/bin/c++ -DCONFIG_ARCH_BOARD_PX4_SITL -DENABLE_LOCKSTEP_SCHEDULER -DMODULE_NAME=\"gz_bridge\" -DPROTOBUF_USE_DLLS -DPX4_MAIN=gz_bridge_app_main -D__CUSTOM_FILE_IO__ -D__PX4_LINUX -D__PX4_POSIX -D__STDC_FORMAT_MACROS -Dnoreturn_function="__attribute__((noreturn))" -I/home/bo4k4/PX4-Autopilot/boards/px4/sitl/src -I/home/bo4k4/PX4-Autopilot/platforms/posix/src/px4/common/include -I/home/bo4k4/PX4-Autopilot/build/px4_sitl_default -I/home/bo4k4/PX4-Autopilot/build/px4_sitl_default/src/lib -I/home/bo4k4/PX4-Autopilot/platforms/posix/src/px4/generic/generic/include -I/home/bo4k4/PX4-Autopilot/platforms/common -I/home/bo4k4/PX4-Autopilot/platforms/common/include -I/home/bo4k4/PX4-Autopilot/src -I/home/bo4k4/PX4-Autopilot/src/include -I/home/bo4k4/PX4-Autopilot/src/lib -I/home/bo4k4/PX4-Autopilot/src/lib/matrix -I/home/bo4k4/PX4-Autopilot/src/modules -I/home/bo4k4/PX4-Autopilot/platforms/posix/include -I/home/bo4k4/PX4-Autopilot/build/px4_sitl_default/external/Install/include -isystem /usr/include/gz/transport13 -isystem /home/bo4k4/anaconda3/include -isystem /usr/include/gz/utils2 -isystem /usr/include/gz/msgs10 -isystem /usr/include/gz/math7 -isystem /usr/include/uuid -O2 -g -DNDEBUG -fPIC -g -fdata-sections -ffunction-sections -fomit-frame-pointer -fmerge-all-constants -fno-signed-zeros -fno-trapping-math -freciprocal-math -fno-math-errno -fno-strict-aliasing -fvisibility=hidden -include visibility.h -Wall -Wextra -Werror -Warray-bounds -Wcast-align -Wdisabled-optimization -Wdouble-promotion -Wfatal-errors -Wfloat-equal -Wformat-security -Winit-self -Wlogical-op -Wpointer-arith -Wshadow -Wuninitialized -Wunknown-pragmas -Wunused-variable -Wno-missing-field-initializers -Wno-missing-include-dirs -Wno-unused-parameter -fdiagnostics-color=always -Wno-stringop-truncation -fno-builtin-printf -fno-strength-reduce -Wformat=1 -Wunused-but-set-variable -Wno-format-truncation -fcheck-new -Wreorder -Wno-overloaded-virtual -frtti -fexceptions -O2 -I/usr/include/uuid -std=gnu++17 -MD -MT src/modules/simulation/gz_bridge/CMakeFiles/modules__simulation__gz_bridge.dir/GZMixingInterfaceESC.cpp.o -MF src/modules/simulation/gz_bridge/CMakeFiles/modules__simulation__gz_bridge.dir/GZMixingInterfaceESC.cpp.o.d -o src/modules/simulation/gz_bridge/CMakeFiles/modules__simulation__gz_bridge.dir/GZMixingInterfaceESC.cpp.o -c /home/bo4k4/PX4-Autopilot/src/modules/simulation/gz_bridge/GZMixingInterfaceESC.cpp In file included from /usr/include/gz/msgs10/gz/msgs/vector3d.pb.h:12, from /usr/include/gz/msgs10/gz/msgs/convert/Vector3.hh:21, from /usr/include/gz/msgs10/gz/msgs/convert/AxisAlignedBox.hh:20, from /usr/include/gz/msgs10/gz/msgs.hh:23, from /home/bo4k4/PX4-Autopilot/src/modules/simulation/gz_bridge/GZMixingInterfaceESC.hpp:38, from /home/bo4k4/PX4-Autopilot/src/modules/simulation/gz_bridge/GZMixingInterfaceESC.cpp:34: /usr/include/gz/msgs10/gz/msgs/details/vector3d.pb.h:17:2: error: #error This file was generated by an older version of protoc which is 17 | #error This file was generated by an older version of protoc which is | ^~~~~ compilation terminated due to -Wfatal-errors. [3/296] Building CXX object src/modules/simulation/gz_bridge/CMakeFiles/modules__simulation__gz_bridge.dir/GZMixingInterfaceWheel.cpp.o FAILED: src/modules/simulation/gz_bridge/CMakeFiles/modules__simulation__gz_bridge.dir/GZMixingInterfaceWheel.cpp.o /usr/bin/c++ -DCONFIG_ARCH_BOARD_PX4_SITL -DENABLE_LOCKSTEP_SCHEDULER -DMODULE_NAME=\"gz_bridge\" -DPROTOBUF_USE_DLLS -DPX4_MAIN=gz_bridge_app_main -D__CUSTOM_FILE_IO__ -D__PX4_LINUX -D__PX4_POSIX -D__STDC_FORMAT_MACROS -Dnoreturn_function="__attribute__((noreturn))" -I/home/bo4k4/PX4-Autopilot/boards/px4/sitl/src -I/home/bo4k4/PX4-Autopilot/platforms/posix/src/px4/common/include -I/home/bo4k4/PX4-Autopilot/build/px4_sitl_default -I/home/bo4k4/PX4-Autopilot/build/px4_sitl_default/src/lib -I/home/bo4k4/PX4-Autopilot/platforms/posix/src/px4/generic/generic/include -I/home/bo4k4/PX4-Autopilot/platforms/common -I/home/bo4k4/PX4-Autopilot/platforms/common/include -I/home/bo4k4/PX4-Autopilot/src -I/home/bo4k4/PX4-Autopilot/src/include -I/home/bo4k4/PX4-Autopilot/src/lib -I/home/bo4k4/PX4-Autopilot/src/lib/matrix -I/home/bo4k4/PX4-Autopilot/src/modules -I/home/bo4k4/PX4-Autopilot/platforms/posix/include -I/home/bo4k4/PX4-Autopilot/build/px4_sitl_default/external/Install/include -isystem /usr/include/gz/transport13 -isystem /home/bo4k4/anaconda3/include -isystem /usr/include/gz/utils2 -isystem /usr/include/gz/msgs10 -isystem /usr/include/gz/math7 -isystem /usr/include/uuid -O2 -g -DNDEBUG -fPIC -g -fdata-sections -ffunction-sections -fomit-frame-pointer -fmerge-all-constants -fno-signed-zeros -fno-trapping-math -freciprocal-math -fno-math-errno -fno-strict-aliasing -fvisibility=hidden -include visibility.h -Wall -Wextra -Werror -Warray-bounds -Wcast-align -Wdisabled-optimization -Wdouble-promotion -Wfatal-errors -Wfloat-equal -Wformat-security -Winit-self -Wlogical-op -Wpointer-arith -Wshadow -Wuninitialized -Wunknown-pragmas -Wunused-variable -Wno-missing-field-initializers -Wno-missing-include-dirs -Wno-unused-parameter -fdiagnostics-color=always -Wno-stringop-truncation -fno-builtin-printf -fno-strength-reduce -Wformat=1 -Wunused-but-set-variable -Wno-format-truncation -fcheck-new -Wreorder -Wno-overloaded-virtual -frtti -fexceptions -O2 -I/usr/include/uuid -std=gnu++17 -MD -MT src/modules/simulation/gz_bridge/CMakeFiles/modules__simulation__gz_bridge.dir/GZMixingInterfaceWheel.cpp.o -MF src/modules/simulation/gz_bridge/CMakeFiles/modules__simulation__gz_bridge.dir/GZMixingInterfaceWheel.cpp.o.d -o src/modules/simulation/gz_bridge/CMakeFiles/modules__simulation__gz_bridge.dir/GZMixingInterfaceWheel.cpp.o -c /home/bo4k4/PX4-Autopilot/src/modules/simulation/gz_bridge/GZMixingInterfaceWheel.cpp In file included from /usr/include/gz/msgs10/gz/msgs/vector3d.pb.h:12, from /usr/include/gz/msgs10/gz/msgs/convert/Vector3.hh:21, from /usr/include/gz/msgs10/gz/msgs/convert/AxisAlignedBox.hh:20, from /usr/include/gz/msgs10/gz/msgs.hh:23, from /home/bo4k4/PX4-Autopilot/src/modules/simulation/gz_bridge/GZMixingInterfaceWheel.hpp:38, from /home/bo4k4/PX4-Autopilot/src/modules/simulation/gz_bridge/GZMixingInterfaceWheel.cpp:34: /usr/include/gz/msgs10/gz/msgs/details/vector3d.pb.h:17:2: error: #error This file was generated by an older version of protoc which is 17 | #error This file was generated by an older version of protoc which is | ^~~~~ compilation terminated due to -Wfatal-errors. [4/296] Building CXX object src/modules/simulation/gz_bridge/CMakeFiles/modules__simulation__gz_bridge.dir/GZMixingInterfaceServo.cpp.o FAILED: src/modules/simulation/gz_bridge/CMakeFiles/modules__simulation__gz_bridge.dir/GZMixingInterfaceServo.cpp.o /usr/bin/c++ -DCONFIG_ARCH_BOARD_PX4_SITL -DENABLE_LOCKSTEP_SCHEDULER -DMODULE_NAME=\"gz_bridge\" -DPROTOBUF_USE_DLLS -DPX4_MAIN=gz_bridge_app_main -D__CUSTOM_FILE_IO__ -D__PX4_LINUX -D__PX4_POSIX -D__STDC_FORMAT_MACROS -Dnoreturn_function="__attribute__((noreturn))" -I/home/bo4k4/PX4-Autopilot/boards/px4/sitl/src -I/home/bo4k4/PX4-Autopilot/platforms/posix/src/px4/common/include -I/home/bo4k4/PX4-Autopilot/build/px4_sitl_default -I/home/bo4k4/PX4-Autopilot/build/px4_sitl_default/src/lib -I/home/bo4k4/PX4-Autopilot/platforms/posix/src/px4/generic/generic/include -I/home/bo4k4/PX4-Autopilot/platforms/common -I/home/bo4k4/PX4-Autopilot/platforms/common/include -I/home/bo4k4/PX4-Autopilot/src -I/home/bo4k4/PX4-Autopilot/src/include -I/home/bo4k4/PX4-Autopilot/src/lib -I/home/bo4k4/PX4-Autopilot/src/lib/matrix -I/home/bo4k4/PX4-Autopilot/src/modules -I/home/bo4k4/PX4-Autopilot/platforms/posix/include -I/home/bo4k4/PX4-Autopilot/build/px4_sitl_default/external/Install/include -isystem /usr/include/gz/transport13 -isystem /home/bo4k4/anaconda3/include -isystem /usr/include/gz/utils2 -isystem /usr/include/gz/msgs10 -isystem /usr/include/gz/math7 -isystem /usr/include/uuid -O2 -g -DNDEBUG -fPIC -g -fdata-sections -ffunction-sections -fomit-frame-pointer -fmerge-all-constants -fno-signed-zeros -fno-trapping-math -freciprocal-math -fno-math-errno -fno-strict-aliasing -fvisibility=hidden -include visibility.h -Wall -Wextra -Werror -Warray-bounds -Wcast-align -Wdisabled-optimization -Wdouble-promotion -Wfatal-errors -Wfloat-equal -Wformat-security -Winit-self -Wlogical-op -Wpointer-arith -Wshadow -Wuninitialized -Wunknown-pragmas -Wunused-variable -Wno-missing-field-initializers -Wno-missing-include-dirs -Wno-unused-parameter -fdiagnostics-color=always -Wno-stringop-truncation -fno-builtin-printf -fno-strength-reduce -Wformat=1 -Wunused-but-set-variable -Wno-format-truncation -fcheck-new -Wreorder -Wno-overloaded-virtual -frtti -fexceptions -O2 -I/usr/include/uuid -std=gnu++17 -MD -MT src/modules/simulation/gz_bridge/CMakeFiles/modules__simulation__gz_bridge.dir/GZMixingInterfaceServo.cpp.o -MF src/modules/simulation/gz_bridge/CMakeFiles/modules__simulation__gz_bridge.dir/GZMixingInterfaceServo.cpp.o.d -o src/modules/simulation/gz_bridge/CMakeFiles/modules__simulation__gz_bridge.dir/GZMixingInterfaceServo.cpp.o -c /home/bo4k4/PX4-Autopilot/src/modules/simulation/gz_bridge/GZMixingInterfaceServo.cpp In file included from /usr/include/gz/msgs10/gz/msgs/discovery.pb.h:12, from /usr/include/gz/transport13/gz/transport/Discovery.hh:59, from /usr/include/gz/transport13/gz/transport.hh:26, from /home/bo4k4/PX4-Autopilot/src/modules/simulation/gz_bridge/GZMixingInterfaceServo.hpp:38, from /home/bo4k4/PX4-Autopilot/src/modules/simulation/gz_bridge/GZMixingInterfaceServo.cpp:34: /usr/include/gz/msgs10/gz/msgs/details/discovery.pb.h:17:2: error: #error This file was generated by an older version of protoc which is 17 | #error This file was generated by an older version of protoc which is | ^~~~~ compilation terminated due to -Wfatal-errors. [10/296] Building CXX object src/modules/temperature_compensation/CMakeFiles/modules__temperature_compensation.dir/TemperatureCompensationModule.cpp.o ninja: build stopped: subcommand failed. make: *** [Makefile:232: px4_sitl] Error 1