-
Notifications
You must be signed in to change notification settings - Fork 144
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
CMakeLists linker is missing libdl #24
Comments
Any idea on the fix so far? I've been unable to start the ray tracing tutorial. |
Hi @DannyLeWasTaken! I've just had a go at building this on Ubuntu 20.04 and CMake 3.24.1, but couldn't reproduce it (i.e. it seemed to link successfully) - here's the complete script I used to download and build:
Running
My best guess is that the mechanism that's adding the Thanks! |
@chrisdonlan what build environment are you using? I'm confused as to which sample you're attempting to build. The error message posted indicates you're attempting to build Please try building the KHR sample instead. |
@neilbickford-nv Ah, the error seemed to lie in the fact that my Windows 10 device had a space in it's user file. As such, the program ended up searching for directories in "Le" user folder which did not exist when the user folder existed in "Danny Le". I kinda ended up borking my system trying to arrogantly to fix the problem by changing my user folder name so I sadly don't have the logs with me any more. Sorry! |
@DannyLeWasTaken - ah, thanks, good to know! Best of luck with the system recovery process! |
@DannyLeWasTaken Oh, one more question: since you mentioned using a Windows 10 device, but also |
Compiles shared sources successfully, fails during the linking step:
libdl is installed via glibc-devel
I think that the fix is going to be adding:
Somewhere in a CMakeLists
target_link_library
; I'll try that, and post the fix (if I get it working).The text was updated successfully, but these errors were encountered: