The build system fails to find the windows sdk headers. Any help to get this working would be appreciated
visual studio version:
Microsoft Visual Studio Community 2019
Version 16.11.2
Windows SDK versions installed:
10.0.18362.0
10.0.19041.0
When I click F12 in the IDE it manges to find the correct header.
My goal was to merge in this to make a more recent version of the software compatible with rocket league packages:
https://github.com/AltimorTASDK/UModel/commit/3dae13f10afb0df0c95a4045c4d6251ce71e2129Build Log:
>------ Build started: Project: umodel, Configuration: ------
Visual Studio Community 2019 toolset 142 (14.29.30133) [64 bit] found at "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community" ...
Generating makefile from UmodelTool/umodel.project ...
./libs/oodle/lib/Win64/oo2core_win64.lib doesn't exist
jom ./obj/umodel-vc-win64.mak
SDL2Loader.cpp
C:\Projects\UEViewer\libs\SDL2\SDL2Loader.cpp(1): fatal error C1083: Cannot open include file: 'Windows.h': No such file or directory
ExportMd5.cpp
C:\Projects\UEViewer\Core\Core.h(8): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
ExportGLTF.cpp
C:\Projects\UEViewer\Core\Core.h(8): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
GameDatabase.cpp
C:\Projects\UEViewer\Core\Core.h(8): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
ExportMaterial.cpp
C:\Projects\UEViewer\Core\Core.h(8): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
ExportSound.cpp
C:\Projects\UEViewer\Core\Core.h(8): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
Exporters.cpp
C:\Projects\UEViewer\Core\Core.h(8): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
ExportTexture.cpp
C:\Projects\UEViewer\libs\nvtt\nvcore\Debug.h(13): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
jom: C:\Projects\UEViewer\./obj/umodel-vc-win64.mak [.\obj\libs-win64\SDL2Loader.obj] Error 2
Export3D.cpp
C:\Projects\UEViewer\Core\Core.h(8): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
ExportPsk.cpp
C:\Projects\UEViewer\Core\Core.h(8): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
ExportThirdParty.cpp
C:\Projects\UEViewer\Core\Core.h(8): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
TypeInfo.cpp
C:\Projects\UEViewer\Core\Core.h(8): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
jom: C:\Projects\UEViewer\./obj/umodel-vc-win64.mak [.\obj\umodel-win64\Export3D.obj] Error 2
jom: C:\Projects\UEViewer\./obj/umodel-vc-win64.mak [.\obj\umodel-win64\ExportPsk.obj] Error 2
jom: C:\Projects\UEViewer\./obj/umodel-vc-win64.mak [.\obj\umodel-win64\TypeInfo.obj] Error 2
jom: C:\Projects\UEViewer\./obj/umodel-vc-win64.mak [.\obj\umodel-win64\ExportThirdParty.obj] Error 2
jom: C:\Projects\UEViewer\./obj/umodel-vc-win64.mak [.\obj\umodel-win64\ExportMd5.obj] Error 2
jom: C:\Projects\UEViewer\./obj/umodel-vc-win64.mak [.\obj\umodel-win64\Exporters.obj] Error 2
jom: C:\Projects\UEViewer\./obj/umodel-vc-win64.mak [.\obj\umodel-win64\ExportGLTF.obj] Error 2
jom: C:\Projects\UEViewer\./obj/umodel-vc-win64.mak [.\obj\umodel-win64\ExportMaterial.obj] Error 2
jom: C:\Projects\UEViewer\./obj/umodel-vc-win64.mak [.\obj\umodel-win64\ExportSound.obj] Error 2
jom: C:\Projects\UEViewer\./obj/umodel-vc-win64.mak [.\obj\umodel-win64\ExportTexture.obj] Error 2
jom: C:\Projects\UEViewer\./obj/umodel-vc-win64.mak [.\obj\umodel-win64\GameDatabase.obj] Error 2
Build time: 0.4 sec
Build failed.