-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
In order to build the optix Python module correctly on Windows, please modify target_link_libraries
Change CUDA::cuda_driver to CUDA::cudart
https://github.com/NVIDIA/optix-toolkit/blob/master/PyOptiX/optix/CMakeLists.txt#L42-L45
Otherwise this error occurs:
main.obj : error LNK2001: unresolved external symbol cudaFree
I used a conda environment to set things up before building.
https://github.com/NVIDIA/optix-toolkit/tree/master/PyOptiX#conda-environment
My environment:
OptiX SDK 7.5.0
CUDA Toolkit 11.8
CMake 3.24.2
Windows 10 Enterprise 21H2 64 bit
Visual Studio 2019
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels