PotatoOfDoom / CyberFSR2

FidelityFx Super Resolution 2.0 for Cyberpunk
MIT License
615 stars 66 forks source link

LINK : fatal error LNK1181: cannot open input file 'ffx_fsr2_api_dx11_x64.lib' #78

Open honey-sorry-i-ate-a-bus opened 8 months ago

honey-sorry-i-ate-a-bus commented 8 months ago

I am very new to modding, gitting, hubbing etc and I don't know any programming language whatsoever.

Decided to compile this thing and got this error: C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1134,5): error MSB6006: "link.exe" exited with code 1181. LINK : fatal error LNK1181: cannot open input file 'ffx_fsr2_api_dx11_x64.lib'

I already built both DX12 and VK versions of FSR2 included in the submodule but didn't understand steps 3 to 15 (from the official FSR2 guide) completely. I understand that it's written for certified devs but still, I want dev English to no IQ English translation...

The whole thing lacks comprehensibility for beginners. Like, none at all.

moaazassali commented 7 months ago

You have to run GenerateSolutionDX11DLL.bat in CyberFSR2\external\FidelityFX-FSR2\build and then build the solution from the newly created folder CyberFSR2\external\FidelityFX-FSR2\build\DX11. Remember to make sure that you do build it all as Release, not Debug, unless everything else is in Debug.