Closed eppravitra closed 1 year ago
@eppravitra what was the last commit you successfully built? (you've provided the same commit twice above).
The most recent changes have not altered the C++ code - an unused file was removed, but otherwise the changes affect the SDF model files not the plugin code.
I built a clean Ubuntu 22.04 VM hosted on macOS VMware 13.0.1. Gazebo Garden is a binary install. All packages updated and upgraded. The ardupilot plugin builds clean. The iris runway world launches and runs as expected.
The link error you are getting seems to be a problem with your std library / gcc installation. Your version of gcc is different to the one I have from a standard install - that may be causing runtime library conflicts. All I can suggest is to check that all dependent packages are updated and upgraded. AFAICT there does not appear to be a problem with the plugin on Ubuntu Jammy.
Hi @srmainwaring The last commit that I got it to work was 1baf84290a3af63a0ce92bc4d8af2696d5940045. It was right before the upgrade from Fotress to Garden.
Thanks for the suggestion. I'll try to hunt down what's going on with my std library and gcc.
Hi @srmainwaring
I got it work! Thank you!
Unfortunately, I have no idea what I did that really got it to work. I think it's because I uninstall all gcc and g++ versions and then reinstall gcc/g++12.
I can confirm that the plugin works for gcc12.
@eppravitra - great to hear. It may have been some stale paths from the previous version of gcc and / or an out of sync cmake cache in the build directory. I've seen similar issues when updating Xcode on macOS - it generally requires an equivalent of sudo apt-get autoremove
followed by deleting the build directory to ensure all the old cmake intermediate files are purged.
Bug report
Issue details
I couldn't solve this link error. The plugin at commit 5b4d5a7 compiled just fine
Version ardupilot_gazebo commit 5b4d5a7 Gazebo Garden Ubuntu 22.04 gcc 12.1.0
Any help would be greatly appreciated.