Skip to content
New issue

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

Error building the instant-ngp project #22

Open
maitreygram opened this issue Nov 28, 2023 · 3 comments
Open

Error building the instant-ngp project #22

maitreygram opened this issue Nov 28, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@maitreygram
Copy link

Hi. I followed your installation process from the readme. I am using windows 10. But got an error when I tried running this command

cmake . -B build

This is the error I got

-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.19045.
-- Targeting GPU architectures: 86
-- Module support is disabled.
-- Version: 9.0.0
-- Build type: RelWithDebInfo
-- CXX_STANDARD: 14
-- Required features: cxx_variadic_templates
-- Using Win32 for window creation
CMake Warning at CMakeLists.txt:184 (find_package):
  By not providing "FindOptiX.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "OptiX", but
  CMake did not find one.

  Could not find a package configuration file provided by "OptiX" with any of
  the following names:

    OptiXConfig.cmake
    optix-config.cmake

  Add the installation prefix of "OptiX" to CMAKE_PREFIX_PATH or set
  "OptiX_DIR" to a directory containing one of the above files.  If "OptiX"
  provides a separate development package or SDK, be sure it has been
  installed.


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.


CMake Deprecation Warning at dependencies/pybind11/CMakeLists.txt:8 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- pybind11 v2.7.1
CMake Error at dependencies/pybind11/tools/pybind11NewTools.cmake:108 (message):
  pybind11 could not query the module file extension, likely the
  'distutils'package is not installed.  Full error message:

  Traceback (most recent call last):

    File "<string>", line 1, in <module>

  ModuleNotFoundError: No module named 'distutils'

Call Stack (most recent call first):
  dependencies/pybind11/tools/pybind11Common.cmake:200 (include)
  dependencies/pybind11/CMakeLists.txt:191 (include)


-- Configuring incomplete, errors occurred!

Note that I tried building the original instant-ngp project - https://github.com/NVlabs/instant-ngp. I was able to build that without any errors. I was also able to build the original instant-ngp project from the commit you have mentioned in your readme. But I wasn't able to find these files in their build folder - ngp_shared.dll, ngp_shared.pdb

Please recommend what I can try to fix this issue. Thanks!

@AvishkarArjan
Copy link

Hi I'm having the same error, did you find a solutions ?? Please let me know.

@maitreygram
Copy link
Author

Haven’t been able to find a solution yet.

@TheTimmy
Copy link
Collaborator

Hey, I'm trying to reproduce your error. Could you just provide me with some information on your machine and environment? I would be especially interested in the version of visual studio, cmake, and cuda.

@TheTimmy TheTimmy added help wanted Extra attention is needed bug Something isn't working and removed help wanted Extra attention is needed labels Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants