Open francescomilano172 opened 4 years ago
Probably more related to gtsam_catkin and minkindr_gtsam, but to run the unit tests (catkin run_tests) I had to export also tbbmalloc in https://github.com/ethz-asl/gtsam_catkin/blob/7484e51353dc27a6310bcb3c61edf629942599e1/CMakeLists.txt#L43 to avoid getting the /usr/bin/ld: CMakeFiles/minkindr_gtsam_tests.dir/test/test_minkindr-gtsam.cc.o: undefined reference to symbol 'scalable_free' error. (Cf. https://community.intel.com/t5/Intel-oneAPI-Threading-Building/Undefined-reference-to-quot-scalable-free-quot/td-p/815156).
gtsam_catkin
minkindr_gtsam
catkin run_tests
tbbmalloc
/usr/bin/ld: CMakeFiles/minkindr_gtsam_tests.dir/test/test_minkindr-gtsam.cc.o: undefined reference to symbol 'scalable_free'
I'm using Ubuntu 18.04 and ccache.
Probably more related to
gtsam_catkin
andminkindr_gtsam
, but to run the unit tests (catkin run_tests
) I had to export alsotbbmalloc
in https://github.com/ethz-asl/gtsam_catkin/blob/7484e51353dc27a6310bcb3c61edf629942599e1/CMakeLists.txt#L43 to avoid getting the/usr/bin/ld: CMakeFiles/minkindr_gtsam_tests.dir/test/test_minkindr-gtsam.cc.o: undefined reference to symbol 'scalable_free'
error. (Cf. https://community.intel.com/t5/Intel-oneAPI-Threading-Building/Undefined-reference-to-quot-scalable-free-quot/td-p/815156).I'm using Ubuntu 18.04 and ccache.