libomp5 for module DMP missing?
When building the binary bin/DMPControllerTest
in RobotAPI, i got following error:
/home/reither/projects/dmp/build/libdmp.so: undefined reference to `omp_in_parallel@VERSION'
/home/reither/projects/dmp/build/libdmp.so: undefined reference to `GOMP_parallel@VERSION'
/home/reither/projects/dmp/build/libdmp.so: undefined reference to `omp_get_max_threads@VERSION'
/home/reither/projects/dmp/build/libdmp.so: undefined reference to `GOMP_loop_end_nowait@VERSION'
/home/reither/projects/dmp/build/libdmp.so: undefined reference to `omp_get_num_threads@VERSION'
/home/reither/projects/dmp/build/libdmp.so: undefined reference to `GOMP_loop_ull_dynamic_start@VERSION'
/home/reither/projects/dmp/build/libdmp.so: undefined reference to `GOMP_loop_ull_dynamic_next@VERSION'
/home/reither/projects/dmp/build/libdmp.so: undefined reference to `omp_get_thread_num@VERSION'
collect2: error: ld returned 1 exit status
Was able to fix it by running
sudo apt-get install libomp5
Maybe a dependency to that library is missing?