ethz-asl / cad-percept

Bringing meshes to robotics.
BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

Export also `tbbmalloc` from `gtsam_catkin` for unit tests #96

Open francescomilano172 opened 4 years ago

francescomilano172 commented 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).

I'm using Ubuntu 18.04 and ccache.