nalexandru / BlenderCompat

Windows 7 support for Blender 3.x and newer
BSD 3-Clause "New" or "Revised" License
245 stars 23 forks source link

blender 4.0.2 does not compile with the Windows 8.1 SDK #73

Closed gfernval closed 9 months ago

gfernval commented 9 months ago

Hello:

Cannot compile blender 4.0.2 with Microsoft SDK 8.1 (the one that is compatible with windows 7), with SDK 10 compiles succesfully but the executable cannot run in Windows 7 due to "The procedure entry point GetPointerInfoHistory could not be located in the dynamic library USER32.dll", I use Visual Studio 2019 for compiling, any advices?

gfernval commented 9 months ago

git apply bcompat7.patch fails with:

error: patch failed: source/creator/CMakeLists.txt:1285 error: source/creator/CMakeLists.txt: patch does not apply

nalexandru commented 9 months ago

I've updated the patch. It should work now. The patch lags behind, because i use git stash when updating the Blender source.

As stated in the release notes, i build Blender with Visual Studio 2019 and version 10.0.22621 of the Windows SDK (Windows 11 SDK, currently the latest version)

gfernval commented 9 months ago

Thanks, it works!