Forum
    • Categories
    • Register
    • Login

    [URGENT] Build Fail: 66 Errors in SharedCode (math.h, ctype.h missing) - Windows 11 / VS2022

    Scheduled Pinned Locked Moved Scripting
    2 Posts 2 Posters 19 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MZLY
      last edited by

      H1 p.png 2 p.png 3 p.png 4 p.png 5.png net.png

      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

      David HealeyD 1 Reply Last reply Reply Quote 0
      • David HealeyD
        David Healey @MZLY
        last edited by

        @MZLY Have you compiled HISE?

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        16

        Online

        2.2k

        Users

        13.4k

        Topics

        116.5k

        Posts