Open redisitic opened 2 months ago
I managed to build Q2RTX-MOD just now
When you first use CMake to 'configure' the Q2RTX-Mod folder, you will get the error about GLSlang - this is part of the process You need to download GLSlang https://github.com/KhronosGroup/glslang/releases/tag/main-tot , and unzip it into a folder
then, as it says in the CMake text output, you need to point the GLSLANG_COMPILER entry to the directory you unzipped GlSlang, specifically /bin/glslangValidator.exe
You then need to download the DLSS SDK, I successfully built using https://github.com/NVIDIA/DLSS/releases/tag/v3.7.10... As it says in CMake, you need to have the DLSS_SDK_PATH set in your Windows environment variables , which is pointed to where you unzipped the DLSS SDK download.... You need to close and restart CMake for this to take effect
Then you click on 'Generate' in CMake, then click on 'Open Project' which should launch Visual Studio ... At this point you should be done with CMake
But the source code has some problems, and you will need to make some changes to some files in both the DLSS SDK source code , as well as the Q2RTX-Mod source code, as I have done https://github.com/mstewart248/Q2RTX-MOD/issues/1#issuecomment-2296613339
Once you have edited the files, go back to Visual Studio, right click on the main solution, select Properties -> Configuration Manager -> change Active Solution Configuration to 'Release' Then right click on the solution again, and select 'Build Solution'
Can you make a guide to build from source code for non-technical users. I have the sdks setup but get errors on cmake.