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

Building on WSL Ubuntu 24.04 #1553

Open
vdyma opened this issue Jul 7, 2024 · 0 comments
Open

Building on WSL Ubuntu 24.04 #1553

vdyma opened this issue Jul 7, 2024 · 0 comments

Comments

@vdyma
Copy link

vdyma commented Jul 7, 2024

Hi! I'm trying to build Instant-NGP with Ubuntu 24.04 on WSL and getting an error. I created conda environment where I installed cuda-toolkit 12.5 from the nvidia channel. I installed other python dependencies with conda as well. Python version in the environment is 3.10.

I installed all the necessary dependencies for building on Linux and additionally installed xorg-dev as suggested somewhere on the interwebs. I also installed all the dependencies needed to build OpenXR-SDK.

This is what I get when trying to build:

-- Obtained CUDA architectures automatically from installed GPUs
-- Targeting CUDA architectures: 89
-- Module support is disabled.
-- Version: 9.1.1
-- Build type: RelWithDebInfo
-- Could NOT find Vulkan (missing: Vulkan_LIBRARY) (found version "1.3.275")
CMake Warning at CMakeLists.txt:117 (message):
  Vulkan was not found.  Instant neural graphics primitives will still
  compile and run correctly, but DLSS will not be supported.


CMake Deprecation Warning at dependencies/OpenXR-SDK/CMakeLists.txt:24 (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.


CMake Warning (dev) at dependencies/OpenXR-SDK/CMakeLists.txt:27 (find_package):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY)
-- Could NOT find Vulkan (missing: Vulkan_LIBRARY) (found version "1.3.275")
-- Could NOT find JsonCpp (missing: JsonCpp_INCLUDE_DIR JsonCpp_LIBRARY)
-- Presentation backend selected for hello_xr, loader_test, conformance: xlib
-- Could NOT find X11 (missing: X11_X11_LIB)
-- BUILD_WITH_XLIB_HEADERS: OFF
-- BUILD_WITH_XCB_HEADERS: OFF
-- BUILD_WITH_WAYLAND_HEADERS: OFF
CMake Error at dependencies/OpenXR-SDK/src/cmake/presentation.cmake:47 (message):
  xlib backend selected, but BUILD_WITH_XLIB_HEADERS either disabled or
  unavailable due to missing dependencies.
Call Stack (most recent call first):
  dependencies/OpenXR-SDK/src/CMakeLists.txt:189 (include)


-- Configuring incomplete, errors occurred!

The error says that xlib backend is selected, although it's missing. I ran apt install libx11-dev and also installed xorg-dev as mentioned above just in case. None of it helped.

How do I build Instant-NGP on WSL Ubuntu 24.04 properly? Is there anything I'm missing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant