HISE Logo Forum
    • Categories
    • Register
    • Login

    Trying to compile the develop branch....

    Scheduled Pinned Locked Moved General Questions
    49 Posts 3 Posters 1.8k 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.
    • LindonL
      Lindon
      last edited by

      OK so I',m having my first try at compiling the develop branch. I have down loaded the source, copied over my old SDK files (ASIO, AAX VST3 etc.)

      ..opened the the new projucer and reset my path to JUCE to :

      C:\HISE\JUCE

      and

      JUCE Modules to:

      C:\HISE\JUCE\modules

      opened the HISE stand lone in Visual Stuio 2017 and run a compile.

      I get a lot of errors like these:

      1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2825: 'IndexType': must be a class or namespace when followed by '::' (compiling source file ..\..\JuceLibraryCode\include_hi_dsp_library_01.cpp)
      
      1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2510: 'IndexType': left of '::' must be a class/struct/union (compiling source file ..\..\JuceLibraryCode\include_hi_dsp_library_01.cpp)
      1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2672: 'snex::Types::index::Helpers::canReturnReference': no matching overloaded function found (compiling source file ..\..\JuceLibraryCode\include_hi_dsp_library_01.cpp)
      1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2783: 'bool snex::Types::index::Helpers::canReturnReference(void)': could not deduce template argument for 'IndexType' (compiling source file ..\..\JuceLibraryCode\include_hi_dsp_library_01.cpp)
      
      1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2825: 'IndexType': must be a class or namespace when followed by '::' (compiling source file ..\..\JuceLibraryCode\include_hi_dsp_library_02.cpp)
      
      1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2510: 'IndexType': left of '::' must be a class/struct/union (compiling source file ..\..\JuceLibraryCode\include_hi_dsp_library_02.cpp)
      1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2672: 'snex::Types::index::Helpers::canReturnReference': no matching overloaded function found (compiling source file ..\..\JuceLibraryCode\include_hi_dsp_library_02.cpp)
      1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2783: 'bool snex::Types::index::Helpers::canReturnReference(void)': could not deduce template argument for 'IndexType' (compiling source file ..\..\JuceLibraryCode\include_hi_dsp_library_02.cpp)
      
      1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2825: 'IndexType': must be a class or namespace when followed by '::' (compiling source file ..\..\JuceLibraryCode\include_hi_components.cpp)
      
      1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2510: 'IndexType': left of '::' must be a class/struct/union (compiling source file ..\..\JuceLibraryCode\include_hi_components.cpp)
      1>c:\hise\hi_scripting\scripting\scriptnode\api\dspnetwork.h(425): warning C4100: 'value': unreferenced formal parameter (compiling source file ..\..\JuceLibraryCode\include_hi_core.cpp)
      1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2672: 'snex::Types::index::Helpers::canReturnReference': no matching overloaded function found (compiling source file ..\..\JuceLibraryCode\include_hi_components.cpp)
      1>c:\hise\hi_scripting\scripting\scriptnode\api\dspnetwork.h(425): warning C4100: 'parameterIndex': unreferenced formal parameter (compiling source file ..\..\JuceLibraryCode\include_hi_core.cpp)
      1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2783: 'bool snex::Types::index::Helpers::canReturnReference(void)': could not deduce template argument for 'IndexType' (compiling source file ..\..\JuceLibraryCode\include_hi_components.cpp)
      1>c:\hise\hi_scripting\scripting\scriptnode\api\dspnetwork.h(426): warning C4100: 'initialParameters': unreferenced formal parameter (compiling source file ..\..\JuceLibraryCode\include_hi_core.cpp)
      
      1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2825: 'IndexType': must be a class or namespace when followed by '::' (compiling source file ..\..\JuceLibraryCode\include_hi_dsp.cpp)
      
      1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2510: 'IndexType': left of '::' must be a class/struct/union (compiling source file ..\..\JuceLibraryCode\include_hi_dsp.cpp)
      1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2672: 'snex::Types::index::Helpers::canReturnReference': no matching overloaded function found (compiling source file ..\..\JuceLibraryCode\include_hi_dsp.cpp)
      1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2783: 'bool snex::Types::index::Helpers::canReturnReference(void)': could not deduce template argument for 'IndexType' (compiling source file ..\..\JuceLibraryCode\include_hi_dsp.cpp)
      1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(59): note: see declaration of 'snex::Types::index::Helpers::canReturnReference' (compiling source file ..\..\JuceLibraryCode\include_hi_dsp.cpp)
      
      1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2825: 'IndexType': must be a class or namespace when followed by '::' (compiling source file ..\..\Source\Main.cpp)
      
      1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2510: 'IndexType': left of '::' must be a class/struct/union (compiling source file ..\..\Source\Main.cpp)
      1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2672: 'snex::Types::index::Helpers::canReturnReference': no matching overloaded function found (compiling source file ..\..\Source\Main.cpp)
      1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2783: 'bool snex::Types::index::Helpers::canReturnReference(void)': could not deduce template argument for 'IndexType' (compiling source file ..\..\Source\Main.cpp)
      
      1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2825: 'IndexType': must be a class or namespace when followed by '::' (compiling source file ..\..\JuceLibraryCode\include_hi_backend.cpp)
      
      1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2510: 'IndexType': left of '::' must be a class/struct/union (compiling source file ..\..\JuceLibraryCode\include_hi_backend.cpp)
      1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2672: 'snex::Types::index::Helpers::canReturnReference': no matching overloaded function found (compiling source file ..\..\JuceLibraryCode\include_hi_backend.cpp)
      1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2783: 'bool snex::Types::index::Helpers::canReturnReference(void)': could not deduce template argument for 'IndexType' (compiling source file ..\..\JuceLibraryCode\include_hi_backend.cpp)
      
      1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2825: 'IndexType': must be a class or namespace when followed by '::' (compiling source file ..\..\JuceLibraryCode\include_hi_core.cpp)
      
      
      1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2510: 'IndexType': left of '::' must be a class/struct/union (compiling source file ..\..\JuceLibraryCode\include_hi_core.cpp)
      1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2672: 'snex::Types::index::Helpers::canReturnReference': no matching overloaded function found (compiling source file ..\..\JuceLibraryCode\include_hi_core.cpp)
      1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2783: 'bool snex::Types::index::Helpers::canReturnReference(void)': could not deduce template argument for 'IndexType' (compiling source file ..\..\JuceLibraryCode\include_hi_core.cpp)
      
      1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2825: 'IndexType': must be a class or namespace when followed by '::' (compiling source file ..\..\Source\MainComponent.cpp)
      
      1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2510: 'IndexType': left of '::' must be a class/struct/union (compiling source file ..\..\Source\MainComponent.cpp)
      1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2672: 'snex::Types::index::Helpers::canReturnReference': no matching overloaded function found (compiling source file ..\..\Source\MainComponent.cpp)
      1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2783: 'bool snex::Types::index::Helpers::canReturnReference(void)': could not deduce template argument for 'IndexType' (compiling source file ..\..\Source\MainComponent.cpp)
      
      

      Do I need to update JUCE? Anything else I'm missing?

      HISE Development for hire.
      www.channelrobot.com

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @Lindon
        last edited by

        @lindon said in Trying to compile the develop branch....:

        I have down loaded the source,

        Using git?

        alt text

        ..opened the the new projucer and reset my path to JUCE to :

        C:\HISE\JUCE

        and

        JUCE Modules to:

        C:\HISE\JUCE\modules

        Why do this? Everything should be setup correctly by default.

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

        LindonL 1 Reply Last reply Reply Quote 0
        • LindonL
          Lindon @d.healey
          last edited by Lindon

          @d-healey said in Trying to compile the develop branch....:

          Why do this? Everything should be setup correctly by default.

          Because Projucer said my default paths were wrong...

          so I reset the paths back to the "defaults"

          C:\JUCE etc.

          ran the compile again -- same error set.

          Projucer is complaining (or telling me) theres a more up to date version of JUCE to downlaod - should I do that? - I'm pretty sure the One I have is very old...

          HISE Development for hire.
          www.channelrobot.com

          d.healeyD 2 Replies Last reply Reply Quote 0
          • d.healeyD
            d.healey @Lindon
            last edited by

            @lindon Are the HISE module paths correct? Mine are set to ../../

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

            LindonL 1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey @Lindon
              last edited by

              @lindon said in Trying to compile the develop branch....:

              I'm pretty sure the One I have is very old

              6.1.3 is included with the develop branch

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

              1 Reply Last reply Reply Quote 0
              • LindonL
                Lindon @d.healey
                last edited by

                @d-healey said in Trying to compile the develop branch....:

                @lindon Are the HISE module paths correct? Mine are set to ../../

                "HISE module paths"??? Where are they ?

                HISE Development for hire.
                www.channelrobot.com

                d.healeyD 1 Reply Last reply Reply Quote 0
                • d.healeyD
                  d.healey @Lindon
                  last edited by

                  @lindon

                  d34a3238-ecf4-452f-873f-b1480ceee33e-image.png

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

                  LindonL 1 Reply Last reply Reply Quote 0
                  • LindonL
                    Lindon @d.healey
                    last edited by

                    @d-healey - oh yes - silly me...

                    yep they are set to: ../../

                    HISE Development for hire.
                    www.channelrobot.com

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

                      @d-healey

                      So all of the HISE paths seem correct but the JUCE ones tell me this:
                      8e38bf35-4784-4bab-82fd-019e0843d793-image.png

                      but as soon as a reset the global path to
                      :C\HISE\JUCE\modules

                      these resolve..

                      HISE Development for hire.
                      www.channelrobot.com

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

                        Ok so I deleted HISE from my system (a slightly unsettling moment) and reinstalled from the latest develop commit.

                        I ignored Projucers complaints about the HISE path not being set, and there being a newer version of JUCE to install.

                        Now Projucer is no longer complaining about failing to find the JUCE modules - so that's progress.

                        But... when I compile I get the same errors I did at the start, which all look like errors in the HISE source code - but that cant be correct can it? It seems VS2017 is finding all the files it needs to find but doesnt like the contents of
                        snex_indextypes.h

                        • perhaps there is a more reliable earlier commit I could use? Can someone point me at such a beast?

                        HISE Development for hire.
                        www.channelrobot.com

                        d.healeyD 1 Reply Last reply Reply Quote 0
                        • d.healeyD
                          d.healey @Lindon
                          last edited by

                          @lindon Maybe the version of Projucer is wrong (I haven't tested on Windows yet). What version do you get with the develop branch?

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

                          LindonL 1 Reply Last reply Reply Quote 0
                          • LindonL
                            Lindon @d.healey
                            last edited by

                            @d-healey said in Trying to compile the develop branch....:

                            @lindon Maybe the version of Projucer is wrong (I haven't tested on Windows yet). What version do you get with the develop branch?

                            I see this when I ask:

                            b724c76d-23c5-47ad-a3b1-c2c57f10490e-image.png

                            HISE Development for hire.
                            www.channelrobot.com

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

                              Well I'm not getting any further with this...

                              Can anyone confirm they have built the latest develop branch on windows?

                              HISE Development for hire.
                              www.channelrobot.com

                              Matt_SFM 1 Reply Last reply Reply Quote 0
                              • Matt_SFM
                                Matt_SF @Lindon
                                last edited by

                                @lindon Confirmed : Latest commit of dec. 22 builds just fine. Until you solve the issue, I can send you the built version if you want to try it...

                                Develop branch
                                Win10 & VS17 / Ventura & Xcode 14. 3

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

                                  @matt_sf thanks for the offer but i have a fairly high tempo build cycle for the plugins so having a HISE that works but where I cant build my own products inst really much help to me...

                                  sigh, OK well maybe its the zip thats not correct - let me go try the git based install - is there a helpful @d-healey video covering this specifically I wonder...

                                  edit; oh there it is:... https://www.patreon.com/posts/git-version-59469186

                                  HISE Development for hire.
                                  www.channelrobot.com

                                  LindonL 1 Reply Last reply Reply Quote 2
                                  • LindonL
                                    Lindon @Lindon
                                    last edited by

                                    ...sadly no, its not the zip. So I git cloned HISE and branch(ed) to develop and unpacked the SDKs and ran a compile(ignoring projucers complaints).

                                    I get the same output - syntax problems in snex_indextypes.h

                                    1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2825: 'IndexType': must be a class or namespace when followed by '::' (compiling source file ....\JuceLibraryCode\include_hi_dsp_library_01.cpp)

                                    Can someone point me at a recent commit that reliably works on Windows?

                                    HISE Development for hire.
                                    www.channelrobot.com

                                    d.healeyD 1 Reply Last reply Reply Quote 0
                                    • d.healeyD
                                      d.healey @Lindon
                                      last edited by

                                      @lindon I'll test develop branch on my Windows system in an hour and let you know what I find out.

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

                                      LindonL 1 Reply Last reply Reply Quote 0
                                      • LindonL
                                        Lindon @d.healey
                                        last edited by

                                        @d-healey said in Trying to compile the develop branch....:

                                        @lindon I'll test develop branch on my Windows system in an hour and let you know what I find out.

                                        thanks mate..

                                        HISE Development for hire.
                                        www.channelrobot.com

                                        d.healeyD Matt_SFM 2 Replies Last reply Reply Quote 0
                                        • d.healeyD
                                          d.healey @Lindon
                                          last edited by

                                          @lindon It compiled for me without issue. I downloaded the latest develop (via zip file). The only change I made was to disable IPP. Also I'm using Visual Studio 2019 but that shouldn't make any difference.

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

                                          1 Reply Last reply Reply Quote 0
                                          • Matt_SFM
                                            Matt_SF @Lindon
                                            last edited by

                                            @lindon Also, HISE is compiling here on VS17 with IPP

                                            Develop branch
                                            Win10 & VS17 / Ventura & Xcode 14. 3

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

                                            33

                                            Online

                                            1.8k

                                            Users

                                            12.0k

                                            Topics

                                            104.1k

                                            Posts