DurrLab / C3VD

Colonoscopy 3D Video Dataset (C3VD) acquired with a high definition clinical colonoscope and high-fidelity colon models for benchmarking computer vision methods in colonoscopy.
https://durrlab.github.io/C3VD/
40 stars 3 forks source link

Error when running the "make -j8" line #11

Open Reyoann opened 1 year ago

Reyoann commented 1 year ago

Hi! Thank you for this dataset! This was the error that popped out. nvlink fatal : Could not open input file '/usr/lib/x86_64-linux-gnu/librt.a' make[2]: [external/owl/owl/CMakeFiles/owl.dir/build.make:513: external/owl/owl/CMakeFiles/owl.dir/cmake_device_link.o] Error 1 make[1]: [CMakeFiles/Makefile2:937: external/owl/owl/CMakeFiles/owl.dir/all] Error 2 make: *** [Makefile:156: all] Error 2

tbobrow1 commented 1 year ago

Hi @Reyoann - it appears that in newer CUDA versions, some changes were made to the drivers that the OWL library links with. I found this workaround on the Nvidia Developer forum, and it works on my end. They suggest creating an empty library file called librt.a in your library path (something like "/usr/lib/x86_64-linux-gnu/") by running this in your terminal window while in the library path:

touch empty.c
gcc -c empty.c
ar -cq librt.a empty.o

This issue may be corrected in the latest version of OWL. I will test this soon, and push an update if it works.