turned out to be along the expected lines...

configure.vbs needed a now obsolete functionality removed (dealing with the old Platform SDK, option --with-sdk is now ignored but of course for clarity it's best to remove it entirely). This is the problem you ran into, and your attempt was in the totally wrong direction.

Also the build prerequisites needed some touch-ups. For building trunk the shopping list is now a lot less unusual (and doesn't need visiting the museum as much): Visual Studio 2019 Version 16.11 is now the recommended compiler, and the Windows 11 SDK and Windows 11 WDK will get you rather far.

Hope you'll have more luck with r93465. For me it builds again.

Klaus

On 2022-01-27 16:41, Klaus Espenlaub wrote:
Hi Martin,

On 2022-01-20 11:09, Martin Fleisz wrote:
Hi there,

I just updated to the latest OSE source code (r93349) but I can't get it
to compile on Windows. I receive following error:

Build x86 additions
C:/kBuild/kBuild/footer-inherit-uses-tools.kmk:1012: *** kBuild: Cannot
find include file for the SDK 'WINPSDK71-INCS'! Searched:
C:/kBuild/kBuild/sdks .  Stop.

Yes, sorry about that. Known issue. We're currently working on updating the build tools and SDKs for Windows, and so far we didn't find time to adapt the OSE build.

Suspect it'll need a mix of adapting the configure.vbs script and (hopefully not that much) updating the list of build prerequisites.

I checked in the kbuild folder (also updated to r3541) and I see a
WINPSDK71INCS.kmk there. Renaming the file to WINPSDK71-INCS.kmk fixes
the issue above but soon after compilation fails with tons of compiling
errors in the Windows 10 SDK headers.

This is old stuff, getting phased out. Unlikely that it'll be possible to get it working again. I think few people will miss the eliminated "old (P)SDK" requirement in the list of prerequisites.

The last version that did compile for me was r92744

Suspect you mean that you were not trying to build anything between this repository state and the current one... pretty sure that revisions in between would build just fine, but that's not really the point. The latest code should be buildable for everyone.

Hope we'll get there within less than a week...

Klaus

Any help is highly appreciated!

Thanks, Martin
_______________________________________________
vbox-dev mailing list
vbox-dev@virtualbox.org
https://www.virtualbox.org/mailman/listinfo/vbox-dev

Reply via email to