我正在使用 Win10-x64。
我按顺序安装了 Visual Studio 2010、CUDA 7.5、OptiX SDK 3.9.0 和 CMake 3.5。
然后我按照 OptiX/SDK/ 中的 INSTALL-WIN.txt 并尝试编译示例。我按配置,然后:
CMake Error at CMake/FindOptiX.cmake:75 (message):
optix library not found. Please locate before proceeding.
Call Stack (most recent call first):
CMake/FindOptiX.cmake:84 (OptiX_report_error)
CMakeLists.txt:189 (find_package)
然后我复制/../lib64/*
到/../lib/*
和/../bin64/*
到/../bin/*
上面的错误似乎已修复,但新的错误:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CUDA_cufft_LIBRARY (ADVANCED)
linked by target "ocean" in directory C:/ProgramData/NVIDIA Corporation/OptiX SDK 3.9.0/SDK/ocean
我尝试 CMake3.0 并得到相同的结果。