Closed alexdewar closed 3 years ago
I've just noticed that this git tree appears to be at least one commit behind the AUR one. Let me know if you'd like me to rebase my commit.
Thanks for this @alexdewar !
@AchmadFathoni can you update the AUR package with this?
@acxz I've added you as co-maintainer. You should be able to update it yourself.
Sweet, just updated it!
Wait, actually the AUR already has the patch. https://github.com/AchmadFathoni/ros-noetic-gazebo-ros-control/commit/1b1ae38813bff915cd21b30a11a435826ede1426
Now there are two -DCMAKE_CXX_STANDARD=17
.
Without this PR, the previous AUR can be build successfully already. Also no_GAZEBO_CXX_FLAGS.patch
remove all GAZEBO_CXX_FLAGS
. @alexdewar are you sure there is no important flag in GAZEBO_CXX_FLAGS
?
@alexdewar can you build https://aur.archlinux.org/cgit/aur.git/commit/?h=ros-noetic-gazebo-ros-control&id=1b1ae38813bff915cd21b30a11a435826ede1426 without error?
Yeah, it builds for me. And yes there are no other flags besides the one to set the C++ standard in GAZEBO_CXX_FLAGS
.
Fixes #1.
There seem to be two issues here:
GAZEBO_CXX_FLAGS
CMake variable is added toCXXFLAGS
, which adds-std=c++11
This PR fixes these issues and now the package happily builds again.