Open Reyoann opened 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.
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