hedge-dev/LWAPI

Can't build the library

Closed this issue · 2 comments

So I've downloaded the library, linked it with my project, included Sonic2013.h in my pch.h and I'm getting some errors:
image

I've changed the language standard to C++17, but it didn't help.

As far as I'm aware this issue comes from a change introduced in Visual Studio 2022 (v143) platform toolset that @Sajidur78 hasn't fixed yet. Switching to Visual Studio 2019 (v142) toolset should allow you to compile.

Yes! The issue is fixed now!