-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined reference #34
Comments
CMakeError.log Determining if the pthread_create exist failed with the following output: Run Build Command:"/usr/bin/make" "cmTC_19694/fast" File /home/kitty/Guidance-SDK-master/demo/catkin_ws/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: int main(int argc, char** argv) Determining if the function pthread_create exists in the pthreads failed with the following output: Run Build Command:"/usr/bin/make" "cmTC_71697/fast" |
I am having this same issue @lemonL. Were you able to get around it? |
/home/kitty/Guidance-SDK-master/demo/catkin_ws/src/include/libDJI_guidance.so:对‘libusb_get_device_descriptor’未定义的引用
/home/kitty/Guidance-SDK-master/demo/catkin_ws/src/include/libDJI_guidance.so:对‘libusb_init’未定义的引用
/home/kitty/Guidance-SDK-master/demo/catkin_ws/src/include/libDJI_guidance.so:对‘libusb_detach_kernel_driver’未定义的引用
/home/kitty/Guidance-SDK-master/demo/catkin_ws/src/include/libDJI_guidance.so:对‘libusb_open’未定义的引用
/home/kitty/Guidance-SDK-master/demo/catkin_ws/src/include/libDJI_guidance.so:对‘libusb_get_device_list’未定义的引用
/home/kitty/Guidance-SDK-master/demo/catkin_ws/src/include/libDJI_guidance.so:对‘libusb_exit’未定义的引用
/home/kitty/Guidance-SDK-master/demo/catkin_ws/src/include/libDJI_guidance.so:对‘libusb_get_device’未定义的引用
/home/kitty/Guidance-SDK-master/demo/catkin_ws/src/include/libDJI_guidance.so:对‘libusb_get_active_config_descriptor’未定义的引用
/home/kitty/Guidance-SDK-master/demo/catkin_ws/src/include/libDJI_guidance.so:对‘libusb_bulk_transfer’未定义的引用
/home/kitty/Guidance-SDK-master/demo/catkin_ws/src/include/libDJI_guidance.so:对‘libusb_free_device_list’未定义的引用
/home/kitty/Guidance-SDK-master/demo/catkin_ws/src/include/libDJI_guidance.so:对‘libusb_claim_interface’未定义的引用
/home/kitty/Guidance-SDK-master/demo/catkin_ws/src/include/libDJI_guidance.so:对‘libusb_free_config_descriptor’未定义的引用
collect2: error: ld returned 1 exit status
CMakeFiles/dji_sdk_node.dir/build.make:519: recipe for target '/home/kitty/Guidance-SDK-master/demo/catkin_ws/devel/lib/dji_sdk/dji_sdk_node' failed
make[2]: *** [/home/kitty/Guidance-SDK-master/demo/catkin_ws/devel/lib/dji_sdk/dji_sdk_node] Error 1
CMakeFiles/Makefile2:707: recipe for target 'CMakeFiles/dji_sdk_node.dir/all' failed
make[1]: *** [CMakeFiles/dji_sdk_node.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed
The text was updated successfully, but these errors were encountered: