NVlabs / instant-ngp

Instant neural graphics primitives: lightning fast NeRF and more
https://nvlabs.github.io/instant-ngp
Other
15.88k stars 1.91k forks source link

Compile Issue #1090

Open muhammadkhusairi opened 1 year ago

muhammadkhusairi commented 1 year ago

i have trouble compiling after finish setting up OptiX SDK 7.6.0, Anaconda3, CUDA 11.8 and Git Clone. After I run cmake . -B build , these messages came out


C:\ngp\instant-ngp>cmake . -B build
-- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.19044.
-- Targeting GPU architectures: 86
-- Module support is disabled.
-- Version: 9.0.0
-- Build type:
-- CXX_STANDARD: 14
-- Required features: cxx_variadic_templates
-- Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR) (found version "")
CMake Warning at CMakeLists.txt:118 (message):
  Vulkan was not found.  Neural graphics primitives will still compile and
  run correctly, but DLSS will not be supported.

-- Using Win32 for window creation
-- OptiX_INSTALL_DIR value: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\NVIDIA Corporation\OptiX SDK 7.6.0
-- OptiX headers (optix.h and friends) not found.
CMake Warning at CMakeLists.txt:194 (message):
  OptiX was not found.  Neural graphics primitives will still compile and run
  correctly.  However, SDF training in 'raystab' and 'pathescape' modes will
  be significantly slower.

-- pybind11 v2.10.1
-- Configuring done
-- Generating done
-- Build files have been written to: C:/ngp/instant-ngp/build
firebert85 commented 1 year ago

I was getting same issue with OptiX_INSTALL_DIR a bunch. I uninstalled, and reinstalled Optix just swapping "ProgramData" with "Program Files." I then added that location as a new Entry line into the environment, . Now I just get "-- OptiX_INSTALL_DIR value: C:\Program Files\NVIDIA Corporation\OptiX SDK 7.6.0" as red text. image