Code Monkey home page Code Monkey logo

Comments (7)

ArtemS2 avatar ArtemS2 commented on July 16, 2024

CMakeOutput.log

from rbdoom-3-bfg.

SRSaunders avatar SRSaunders commented on July 16, 2024

You will need to download and install DXC. See the README Compiling on Linux Step 1.

https://github.com/RobertBeckebans/RBDOOM-3-BFG#compiling-on-linux-

Given you are running on Arm64, you may need to build DXC yourself - I'm not sure if there is a pre-built binary for Linux/Arm64.

There is one other option if available: check your distro for availability of package "directx-shader-compiler" or "DirectXShaderCompiler". If present you can install it the same as any other package and it will satisfy the dependency for building RBDoom3BFG.

from rbdoom-3-bfg.

ArtemS2 avatar ArtemS2 commented on July 16, 2024

@SRSaunders Please tell me, can I roll back the commits and build a project without shaders from Microsoft?

from rbdoom-3-bfg.

SRSaunders avatar SRSaunders commented on July 16, 2024

Yes, you can use https://github.com/RobertBeckebans/RBDOOM-3-BFG/releases/tag/v1.4.0 instead. This older version is based on OpenGL (with some Vulkan support).

However, if you want to use the current master, you can try building DXC yourself using:

> git clone https://github.com/microsoft/DirectXShaderCompiler.git
> cd DirectXShaderCompiler/
> git submodule init; git submodule update
> mkdir build; cd build
> cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release -C ../cmake/caches/PredefinedParams.cmake
> ninja
> cd bin
> ./dxc --version

Then put the dxc binary in your path and build RBDoom3BFG with Robert's instructions. It should work on Linux/Arm64 since it compiles and runs successfully on Apple Silicon (also arm64).

from rbdoom-3-bfg.

ArtemS2 avatar ArtemS2 commented on July 16, 2024

Thank you, thanks to you I was able to move forward. Unfortunately, I encountered the following errors during assembly:
BUILDRB.log

from rbdoom-3-bfg.

ArtemS2 avatar ArtemS2 commented on July 16, 2024

RBDOOM-3-BFG v1.4.0 assembled successfully

from rbdoom-3-bfg.

SRSaunders avatar SRSaunders commented on July 16, 2024

dxc failed : error code 0x80004005.

I think this is a general file access error. Do you have recursive read permission at .../RBDOOM-3-BFG/neo/shaders as well as recursive write permission at .../RBDOOM-3-BFG/base/renderprogs2/spirv ?

from rbdoom-3-bfg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.