HISE Logo Forum
    • Categories
    • Register
    • Login

    DSP compiling error on WIN, works fine on MAC

    Scheduled Pinned Locked Moved General Questions
    65 Posts 9 Posters 2.9k 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.
    • d.healeyD
      d.healey @Morphoice
      last edited by

      @Morphoice Usually compilers have flags you can set to control strictness. Maybe ask Chat GPT if such flags are available on Windows

      Libre Wave - Freedom respecting instruments and effects
      My Patreon - HISE tutorials
      YouTube Channel - Public HISE tutorials

      1 Reply Last reply Reply Quote 1
      • MorphoiceM
        Morphoice @Lindon
        last edited by

        @Lindon Please no hard feelings man, you know I appreciate your help. An external drive is just not the problem here, I've already tracked it down as good as I can

        https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

        LindonL 1 Reply Last reply Reply Quote 0
        • orangeO
          orange
          last edited by orange

          Yes, looks like it's related to Airwindows.h.

          Maybe @oskarsh has an idea about this?

          develop Branch / XCode 13.1
          macOS Monterey / M1 Max

          oskarshO 1 Reply Last reply Reply Quote 0
          • LindonL
            Lindon @Morphoice
            last edited by Lindon

            @Morphoice well I have a project that uses a single AirWindows scriptNode (its Air2) and it compiles fine on windows.

            so the Additional Source code folder looks like this:

            acd47eec-732e-4b4f-b688-29077553cbf1-image.png

            the nodes folder looks like this:
            c717c356-1e9f-4a2f-a6a0-78f6a468ab83-image.png

            the Air2.h file in here looks like this:

            // This just references the real file
            
            #include "../../DspNetworks/ThirdParty/Air2.h"
            

            The DspNetworks/ThirdParty folder looks like this:

            36a962c2-5444-42e5-b9ce-e1a725fd7e41-image.png

            Where the Air2.h file looks like this:

            
            #pragma once
            
            #include <JuceHeader.h>
            
            #include "../../AdditionalSourceCode/AirWindows.h"
            
            namespace airwindows::air2_ns {
            JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE("-Wmultichar")
            #include "../../External/airwindows/plugins/LinuxVST/src/Air2/Air2.h"
            
            #include "../../External/airwindows/plugins/LinuxVST/src/Air2/Air2.cpp"
            #include "../../External/airwindows/plugins/LinuxVST/src/Air2/Air2Proc.cpp"
            JUCE_END_IGNORE_WARNINGS_GCC_LIKE
            }  // namespace airwindows::air2_ns
            
            namespace project {
            
            using namespace juce;
            using namespace hise;
            using namespace scriptnode;
            
            DECLARE_AIRWINDOWS_NODE(Air2, air2_ns);
            
            }  // namespace project
            
            

            There is an External folder at the root of my project with these included files in there...

            Im using VS2022 - I have not changed any flags in there...

            HISE Development for hire.
            www.channelrobot.com

            1 Reply Last reply Reply Quote 0
            • oskarshO
              oskarsh @orange
              last edited by

              @orange yes some nodes seem to only work on windows and some only on macOS. The source code of my project can be compiled on windows and MacOS the same. Make sure to clear the binaries folder of the dsp networks. Do not delete any other folders.

              When compiling make sure you first set all networks to not compile - then compile the dsp networks - open Hise and set your networks with Airwindows nodes to compile.

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

              18

              Online

              1.8k

              Users

              12.0k

              Topics

              104.8k

              Posts