NVIDIA-RTX / NVIDIA-RTX/RTXDI

Errors paths lower case errors - lfs Assets link - can not build in Linux

Open
#37 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HLSL
Stars
545
Forks
100
Avg merge
14d 6h
Merged PRs (30d)
1

Description

context is Linux only

cmake:

https://github.com/NVIDIA-RTX/RTXDI/blob/main/External/NRD.cmake#L11

    add_subdirectory(external/NRD)

to

    add_subdirectory(External/NRD)

https://github.com/NVIDIA-RTX/RTXDI/blob/main/External/DLSS.cmake#L2

set(dlss_sdk "${CMAKE_CURRENT_SOURCE_DIR}/external/DLSS")

to

set(dlss_sdk "${CMAKE_CURRENT_SOURCE_DIR}/External/DLSS")

https://github.com/NVIDIA-RTX/RTXDI/blob/main/Samples/FullSample/Source/CMakeLists.txt#L27

	"RenderPasses/RaytracingPass.cpp"
	"RenderPasses/RaytracingPass.h"

replace with

    "RenderPasses/RayTracingPass.cpp"
    "RenderPasses/RayTracingPass.h"

https://github.com/NVIDIA-RTX/RTXDI/blob/main/Samples/FullSample/Shaders/CMakeLists.txt#L46

   HelperFunctions.hlsli
   GlassPass.hlsl
   Helperfunctions.hlsli

Helperfunctions.hlsli delete


C++:

all cpp files in https://github.com/NVIDIA-RTX/RTXDI/tree/main/Samples
like this https://github.com/NVIDIA-RTX/RTXDI/blob/main/Samples/MinimalSample/Source/RenderPass.cpp#L24

#include "../shaders/ShaderParameters.h"

to

#include "../Shaders/ShaderParameters.h"

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with External/NRD.cmake, External/DLSS.cmake, Samples/FullSample/Source/CMakeLists.txt, and Samples/FullSample/Shaders/CMakeLists.txt, then inspect the include paths in the Samples C++ files. Build the project on Linux to reproduce the case-sensitive path failures. Done means the corrected paths and shader file list allow the Linux build to complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system, computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.