Error building UE5-main from Visual Studio 2022

Hi! I’m trying to build UE from code (UE5-main branch). First I tried it using VS 2019 but I got some .NET 6 issues so I decided to move to VS2022.

I got rid of the .NET messages but I’ve got now these two compilation errors:

Unable to instantiate module ‘zstd’: System.IO.FileNotFoundException: ThirdParty\vcpkg\Win64\x64-windows-static-v142\zstd_x64-windows-static-v142\lib\zstd_static.lib

and

Could not find definition for module ‘LowLevel’, (referenced via LowLevelTests.Target.cs) LowLevelTests

Any clue??

Thanks!

For zstd, rename ThirdParty\vcpkg\Win64\x64-windows-static-v142\zstd_x64-windows-static-v142\lib\zstd.lib to zstd_static.lib.

For LowLevel, just ignore that because you do not need it atm I think.

In fact, your do not need to concern about all these warnings. You can get ur Engine compiled as usual.

Thanks @MinyiZhou !!

I didn’t notice that the lib has a different name :man_facepalming: so that its fixed. Regarding the LowLevel module issue, the only thing I could do was just remove that project from the solution. VS treated those as errors, not warnings, that is why I was stuck.

Everything sorted now, Thanks again!

1 Like