CyberFSR2 icon indicating copy to clipboard operation
CyberFSR2 copied to clipboard

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

Open honey-sorry-i-ate-a-bus opened this issue 2 years ago • 1 comments

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.

honey-sorry-i-ate-a-bus avatar Nov 08 '23 17:11 honey-sorry-i-ate-a-bus

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.

moaazassali avatar Dec 15 '23 07:12 moaazassali