Hello,
I am following the build steps: https://github.com/nvpro-samples/optix_advanced_samples/blob/master/INSTALL-WIN.txt but having trouble.
When I set the OptiX_INSTALL_DIR and press configure a second time, I receive this error:
CMake Error at CMake/FindOptiX.cmake:117 (message):
OptiX library not found. Please set OptiX_INSTALL_DIR to locate it
automatically.
Call Stack (most recent call first):
CMake/FindOptiX.cmake:126 (OptiX_report_error)
CMakeLists.txt:203 (find_package)
My CMake output looks like this:
pretty confused on what it means, the CMAKE_INSTALL_PREFIX directory doesn’t exist and I’m not sure what the optix_DLL should be pointed at.
Full CMake output:
CMake Warning (dev) at CMake/Macros.cmake:103 (SET):
implicitly converting 'CACHE' to 'STRING' type.
Call Stack (most recent call first):
CMake/ConfigCompilerFlags.cmake:57 (first_time_set)
CMake/ConfigCompilerFlags.cmake:66 (set_flags)
CMake/ConfigCompilerFlags.cmake:182 (append_and_set)
CMakeLists.txt:119 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at CMake/Macros.cmake:103 (SET):
implicitly converting 'CACHE' to 'STRING' type.
Call Stack (most recent call first):
CMake/ConfigCompilerFlags.cmake:57 (first_time_set)
CMake/ConfigCompilerFlags.cmake:66 (set_flags)
CMake/ConfigCompilerFlags.cmake:183 (append_and_set)
CMakeLists.txt:119 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at CMake/Macros.cmake:103 (SET):
implicitly converting 'CACHE' to 'STRING' type.
Call Stack (most recent call first):
CMake/ConfigCompilerFlags.cmake:57 (first_time_set)
CMake/ConfigCompilerFlags.cmake:385 (set_flags)
CMakeLists.txt:119 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at CMake/Macros.cmake:103 (SET):
implicitly converting 'CACHE' to 'STRING' type.
Call Stack (most recent call first):
CMake/ConfigCompilerFlags.cmake:57 (first_time_set)
CMake/ConfigCompilerFlags.cmake:389 (set_flags)
CMakeLists.txt:119 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
Could NOT find DevIL (missing: IL_LIBRARIES ILU_LIBRARIES IL_INCLUDE_DIR)
CMake Error at CMake/FindOptiX.cmake:117 (message):
OptiX library not found. Please set OptiX_INSTALL_DIR to locate it
automatically.
Call Stack (most recent call first):
CMake/FindOptiX.cmake:126 (OptiX_report_error)
CMakeLists.txt:203 (find_package)
Configuring incomplete, errors occurred!
I was able to build and run through this tutorial without any issues so I know optix is working on my machine if that helps: Ingo Wald / optix7course · GitLab
Thanks for any help