Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Build Error #1

Closed
acxz opened this issue Feb 16, 2020 · 9 comments
Closed

Build Error #1

acxz opened this issue Feb 16, 2020 · 9 comments

Comments

@acxz
Copy link
Member

acxz commented Feb 16, 2020

I am getting the following build error: yay -Syu ros-melodic-mavros

[ 56%] Building CXX object CMakeFiles/mavros_plugins.dir/src/plugins/command.cpp.o
In file included from /home/acxz/.cache/yay/ros-melodic-mavros/src/mavros-release-release-melodic-mavros-0.26.3-0/include/mavros/utils.h:22,
                 from /home/acxz/.cache/yay/ros-melodic-mavros/src/mavros-release-release-melodic-mavros-0.26.3-0/include/mavros/mavros_uas.h:29,
                 from /home/acxz/.cache/yay/ros-melodic-mavros/src/mavros-release-release-melodic-mavros-0.26.3-0/include/mavros/mavros_plugin.h:25,
                 from /home/acxz/.cache/yay/ros-melodic-mavros/src/mavros-release-release-melodic-mavros-0.26.3-0/src/plugins/command.cpp:19:
/opt/ros/melodic/include/mavros_msgs/mavlink_convert.h: In function ‘bool mavros_msgs::mavlink::convert(const Mavlink&, mavlink::mavlink_message_t&)’:
/opt/ros/melodic/include/mavros_msgs/mavlink_convert.h:74:63: warning: taking address of packed member of ‘mavlink::__mavlink_message’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   74 |  std::copy(rmsg.payload64.begin(), rmsg.payload64.end(), mmsg.payload64);
      |                                                          ~~~~~^~~~~~~~~
In file included from /home/acxz/.cache/yay/ros-melodic-mavros/src/mavros-release-release-melodic-mavros-0.26.3-0/include/mavros/utils.h:22,
                 from /home/acxz/.cache/yay/ros-melodic-mavros/src/mavros-release-release-melodic-mavros-0.26.3-0/include/mavros/mavros_uas.h:29,
                 from /home/acxz/.cache/yay/ros-melodic-mavros/src/mavros-release-release-melodic-mavros-0.26.3-0/include/mavros/mavros_plugin.h:25,
                 from /home/acxz/.cache/yay/ros-melodic-mavros/src/mavros-release-release-melodic-mavros-0.26.3-0/src/plugins/command.cpp:19:
/opt/ros/melodic/include/mavros_msgs/mavlink_convert.h: In function ‘bool mavros_msgs::mavlink::convert(const mavlink_message_t&, mavros_msgs::Mavlink&, uint8_t)’:
/opt/ros/melodic/include/mavros_msgs/mavlink_convert.h:108:72: warning: taking address of packed member of ‘mavlink::__mavlink_message’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  108 |  rmsg.payload64 = std::move(mavros_msgs::Mavlink::_payload64_type(mmsg.payload64, mmsg.payload64 + payload64_len));
      |                                                                   ~~~~~^~~~~~~~~
/home/acxz/.cache/yay/ros-melodic-mavros/src/mavros-release-release-melodic-mavros-0.26.3-0/src/plugins/command.cpp: In member function ‘bool mavros::std_plugins::CommandPlugin::trigger_control_cb(mavros_msgs::CommandTriggerControl::Request&, mavros_msgs::CommandTriggerControl::Response&)’:
/home/acxz/.cache/yay/ros-melodic-mavros/src/mavros-release-release-melodic-mavros-0.26.3-0/src/plugins/command.cpp:368:9: error: ‘mavros_msgs::CommandTriggerControl::Request’ {aka ‘struct mavros_msgs::CommandTriggerControlRequest_<std::allocator<void> >’} has no member named ‘cycle_time’
  368 |     req.cycle_time,
      |         ^~~~~~~~~~
@acxz
Copy link
Member Author

acxz commented Feb 16, 2020

Should be resolved once #2 gets merged and synced to AUR

@acxz
Copy link
Member Author

acxz commented Feb 18, 2020

@bionade24 can you check the sync status of this package as well?

@bionade24
Copy link
Member

Sorry, not built yet. You have to wait a bit, some mavros deps are already built.

@acxz
Copy link
Member Author

acxz commented Feb 19, 2020

@bionade24 the sync has still not happened

@bionade24
Copy link
Member

geographiclib wasn't in build packages, fixed now.

@acxz
Copy link
Member Author

acxz commented Feb 22, 2020

Can we still keep this open until the sync actually occurs though?

@bionade24
Copy link
Member

Runs in the current build circle, so will only take some minutes.

@acxz acxz removed the build error label Feb 22, 2020
@acxz
Copy link
Member Author

acxz commented Feb 22, 2020

kk

@acxz
Copy link
Member Author

acxz commented Feb 22, 2020

Still not synced :(

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants