carlren / gSLICr

gSLICr: Real-time super-pixel segmentation
Other
337 stars 126 forks source link

Build failing with error: ‘memcpy’ was not declared in this scope #27

Open travisoneill opened 4 years ago

travisoneill commented 4 years ago

Ubuntu 16.04 build fails with the following output

/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; ^ CMake Error at gSLICr_lib_generated_gSLICr_seg_engine_GPU.cu.o.cmake:266 (message): Error generating file /home/paperspace/gSLICr/build/CMakeFiles/gSLICr_lib.dir/gSLICr_Lib/engines/./gSLICr_lib_generated_gSLICr_seg_engine_GPU.cu.o

CMakeFiles/gSLICr_lib.dir/build.make:265: recipe for target 'CMakeFiles/gSLICr_lib.dir/gSLICr_Lib/engines/gSLICr_lib_generated_gSLICr_seg_engine_GPU.cu.o' failed make[2]: [CMakeFiles/gSLICr_lib.dir/gSLICr_Lib/engines/gSLICr_lib_generated_gSLICr_seg_engine_GPU.cu.o] Error 1 CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/gSLICr_lib.dir/all' failed make[1]: [CMakeFiles/gSLICr_lib.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2

KamalSinghKhanna commented 3 years ago

hey, I would like to work on this issue suggest me the way to proceed.