Libflycapture.so: undefined reference to ‘powf@GLIBC_2.27’
Hello, my system info: x86_64, Ubuntu 16.04.6, kernel 4.15.0-54-generic, gcc5.4.0, g++5.4.0, autoware-1.11.1.
Installed flycapture2-2.13.3.31-amd64-pkg_xenial, LaydbugSDK_1.16.3.48_amd64 and spinnaker-1.21.0.61-amd64-Ubuntu16.04, then reboot to build autoware. when building with AUTOWARE_COMPILE_WITH_CUDA=1 ./colcon_release
, output:
/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libflycapture.so: undefined reference to ‘powf@GLIBC_2.27’
collect2: error: ld returned 1 exit status
make[2]: *** [devel/lib/autoware_pointgrey_drivers/grasshopper3_camera] Error 1
make[1]: *** [CMakeFiles/grasshopper3_camera.dir/all] Error 2
make[1]: *** Waiting for unfinished tasks....
/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libladybug.so: undefined reference to ‘FlyCapture2::AVIRecorder::AVIRecorder()’
/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libflycapture.so: undefined reference to ‘powf@GLIBC_2.27’
collect2: error: ld returned 1 exit status
make[2]: *** [devel/lib/autoware_pointgrey_drivers/ladybug_camera] Error 1
make[1]: *** [CMakeFiles/ladybug_camera.dir/all] Error 2
make: *** [all] Error 2
---
Failed <<< autoware_pointgrey_drivers [ Exited with code 2 ]
In Autoware/ros/src/sensing/drivers/camera/packages/pointgrey
, the README file doesn't specify the three matched SDK(flycapture, ladybug, spinnaker) version. How to fix this this problem? Did i missing something, thanks for your help!