File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -117,15 +117,9 @@ RUN git clone --depth 1 --recursive -b ${MAVLINK_RELEASE} https://github.com/mav
117117# - mavgen uses future.standard_library for backwards compatibility with Python2;
118118# However, this caused issues with Python 3.12 installed in "noble".
119119# Comment those lines out in mavlink.
120- #
121- # - Fix linkage for yaml-cpp in mavros_extra_plugins
122120RUN sed -i -e 's/^from future import standard_library/#from future import standard_library/' \
123121 -e 's/standard_library.install_aliases()/#standard_library.install_aliases()/' \
124- mavlink/pymavlink/generator/mavgen.py && \
125- sed -i -e 's/^# find_package(yaml_cpp REQUIRED)/find_package(yaml-cpp REQUIRED)/' \
126- -e '/^ament_target_dependencies(mavros_extras_plugins$/i target_link_libraries(mavros_extras_plugins yaml-cpp::yaml-cpp)' \
127- -e '/^ament_target_dependencies(mavros_extras$/i target_link_libraries(mavros_extras yaml-cpp::yaml-cpp)' \
128- mavros/mavros_extras/CMakeLists.txt
122+ mavlink/pymavlink/generator/mavgen.py
129123
130124WORKDIR $USER_WORKSPACE
131125RUN sudo apt-get -q update \
You can’t perform that action at this time.
0 commit comments