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 を試してみましたが、同じ結果が得られました。