You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
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
i compile darknet_ros with darknet@ 59ed171
in darknet Makefile i set this:
GPU=1
CUDNN=1
OPENCV=1
DEBUG=1
then i get some errors as follow:
[ 70%] Building NVCC (Device) object darknet_ros/darknet_ros/CMakeFiles/darknet_ros_lib.dir/__/darknet/src/darknet_ros_lib_generated_col2im_kernels.cu.o /usr/include/string.h: In function ‘void* __mempcpy_inline(void*, const void*, size_t)’: /usr/include/string.h:652:42: error: ‘memcpy’ was not declared in this scope return (char *) memcpy (__dest, __src, __n) + __n;
solve it by this:
change darnet_ros/CMakeList.txt line 23, below it add a new line:
-D_FORCE_INLINES
works for me fine!
The text was updated successfully, but these errors were encountered: