Open vinesmsuic opened 3 years ago
Thank you for reporting. Jetpack includes a different version of OpenCV than ROS Melodic traditionally expects, which causes some issues when building projects that traditionally target Melodic. To support this scenario, the code needs to be updated to detect the OpenCV version difference - not just the distro difference.
Pull requests to fix this issue are appreciated.
In case people encountered the same problem as me, I found a hack to solve this error.
add an extra vision_opencv
package in src
folder then catkin_make
again
git clone https://github.com/MartinNievas/vision_opencv.git
cd vision_opencv/
git checkout compile_oCV4
cd ../
cd ../
catkin_make
@vinesmsuic Thank you for following up and posting the workaround!
Describe the bug I tried to install ros driver on 2 Nvidia Jetson Xavier NX machines but both yield the same error when executing
catkin_make
.To Reproduce Steps to reproduce the behavior:
Expected behavior successful catkin_make
Logs
Desktop (please complete the following information): Device: Nvidia Jetson Xavier NX, Azure Kinect OS: Ubuntu 18.04 ROS Version: ROS Melodic K4A SDK Version: 1.4.0
Additional context Tried on two Nvidia Jetson Xavier NX devices, both yield the same error. It seems to be a linker issue of OpenCV but I have no clue how to fix it.