We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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
target_link_libraries
CUDA::cuda_driver
CUDA::cudart
Otherwise this error occurs: main.obj : error LNK2001: unresolved external symbol cudaFree
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
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In order to build the optix Python module correctly on Windows, please modify
target_link_libraries
Change
CUDA::cuda_driver
toCUDA::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
The text was updated successfully, but these errors were encountered: