Closed bchoineubility closed 1 week ago
Are you using the standard way to build using cmake?
What is your OS?
Anyway, I just pushed a commit that might fix it, but it's really weird that this error never happened to us or to any of the CI builds :-) So, if you have cloned the repo, please do "git pull" for the develop branch and try again.
@jlblancoc Many thanks for the help
I will test your push and get back to you.
Thanks again. 👍
BR, Mark
@jlblancoc , I can build all apps without issue.
Thanks.
BR, Mark
Thanks @jlblancoc and @bchoineubility! I ran into this when building with https://github.com/ros/meta-ros. I can confirm that this fixes the issue.
The version of gcc was: gcc version 14.1.0 (GCC). There were no special compiler options in play that I could tell, I managed to reproduce it simply with:
aarch64-oe-linux-g++ --sysroot=/path/to/sysroot -mcpu=cortex-a72+crc apps/2d-slam-demo/CMakeFiles/2d-slam-demo.dir/slamdemoApp.cpp.o apps/2d-slam-demo/CMakeFiles/2d-slam-demo.dir/slamdemoMain.cpp.o apps/2d-slam-demo/CMakeFiles/2d-slam-demo.dir/batch_experiments.cpp.o apps/2d-slam-demo/CMakeFiles/2d-slam-demo.dir/CDlgParams.cpp.o apps/2d-slam-demo/CMakeFiles/2d-slam-demo.dir/CLogView.cpp.o -o bin/2d-slam-demo -L/ala-lpggp31/rwoolley/pr1144/build/tmp-glibc/work/cortexa72-oe-linux/mrpt2/2.13.1-1/build/lib -L/ala-lpggp31/rwoolley/pr1144/build/tmp-glibc/work/cortexa72-oe-linux/mrpt2/2.13.1-1/recipe-sysroot/usr/lib -pthread -lwx_baseu-3.2 -lwx_gtk3u_core-3.2 -lwx_gtk3u_gl-3.2 -lwx_gtk3u_aui-3.2 -lwx_gtk3u_html-3.2 lib/libmrpt-nanogui.so.2.13.1 -lglfw -lmrpt-vision -lmrpt-obs -lmrpt-opengl -lmrpt-img -l mrpt-io -lmrpt-poses -lmrpt-math -lmrpt-serialization -lmrpt-random -lmrpt-config -lmrpt-system -lmrpt-core -lmrpt-gui -lmrpt-slam
Awesome! Thanks for the additional feedback, @robwoolley :+1: So, it seems our (and OSRF's ROS) CI has a blind spot regarding testing for Yocto... :-)
For the records: Using MRPT >= v2.13.2 should avoid the error.
@robwoolley 👍
Hi community,
I am brandnew for mrpt2 and trying to build mrpt2 for humble edition now. by the way, I have an issue for building apps which include header file, libs/gui/include/mrpt/3rdparty/mathplot/mathplot.h.
error log tell
undefined reference to mpMovableObject::~mpMovableObject()
.error log is the followinng:
I have to do workarround by removing apps which include the header file in the
apps/CMakeLists.txt
as follows:Can you please help me?
BR, Mark