[URGENT] Build Fail: 66 Errors in SharedCode (math.h, ctype.h missing) - Windows 11 / VS2022
-
H
Hi everyone,
I am urgently trying to export my first VST plugin for a presentation tomorrow, and I am completely stuck at the compilation stage.
I am running HISE on Windows 11 with Visual Studio 2022 Community. I have installed the "Desktop development with C++" workload and the Intel OneAPI Base Toolkit for IPP.
The Problem: When I try to compiling/export, the build fails with 66 Errors, all coming from the _SharedCode project. The main VST project seems to load fine, but the SharedCode cannot find standard Windows headers.
Errors include:
C1083: Cannot open include file: 'crtdbg.h': No such file or directory
C1083: Cannot open include file: 'math.h': No such file or directory
C1083: Cannot open include file: 'stddef.h': No such file or directory
C1083: Cannot open include file: 'ctype.h': No such file or directory
What I have tried so far:
Installed Visual Studio 2022 with the correct C++ workloads and Windows 10/11 SDKs.
Installed Intel OneAPI and manually added the Include/Library paths to the Property Pages for both the VST and SharedCode projects.
Path used: C:\Program Files (x86)\Intel\oneAPI\ipp\2022.2\include
Tried fixing the Path Macros:
I explicitly added $(VC_IncludePath);$(WindowsSDK_IncludePath); to the Include Directories to bring back the standard headers, but the errors persist.
I checked "Inherit from parent or project defaults," but it doesn't seem to pick up the standard paths.
Retargeted the Solution:
I have retargeted the solution to the latest SDK (10.0.26100.0) and Toolset (v143 / v145).
Fixed VST SDK:
Renamed my SDK folder to VST3 SDK and pointed Projucer to it correctly.
My Setup:
OS: Windows 11
HISE Version: (Latest/Scriptnode)
Visual Studio: 2022 Community (v17.x)
IPP: Intel OneAPI 2022.2
I have attached screenshots of my Error List and my Property Pages settings. Any help would be a lifesaver as I have a deadline tomorrow!
Thanks, Meshwa
-
@MZLY Have you compiled HISE?