HISE Logo Forum
    • Categories
    • Register
    • Login

    Develop branch build status

    Scheduled Pinned Locked Moved General Questions
    compilebuilddeveloplatest
    300 Posts 21 Posters 42.7k 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.
    • Dan KorneffD
      Dan Korneff
      last edited by

      @d-healey Would you be able to give some build advice for Linux?
      Here's where I'm at so far:

      • Starting from the ground up with a new system.
      • Installed recommended dependencies.
      • working with the latest Master branch (also tried develop)
      • ran make CONFIG=Release
      • got ipp error
      ../../../../../HISE/hi_backend/../hi_modules/../hi_scripting/../hi_sampler/../hi_components/../hi_dsp/../hi_core/../hi_tools/../hi_streaming/hi_streaming.h:69:10: fatal error: ipp.h: No such file or directory
         69 | #include "ipp.h"
            |          ^~~~~~~
      compilation terminated.
      
      • installed latest IPP (oneaip)
      • re-targeted Extra Linker Flags in Projucer
        Screenshot from 2021-09-13 07-00-29.png
        Screenshot from 2021-09-13 07-07-11.png
        That fixes the IPP issue.
        Now when I run make CONFIG=Release, I get stuck at the next error:
      make: *** No rule to make target '../../../../hi_scripting/scripting/scriptnode/ScriptNodeTestSuite.cpp', needed by 'build/intermediate/Release/ScriptNodeTestSuite_6b3f695a.o'.  Stop.
      

      A quick google search says the message means the file is missing. When I check the HISE folder, it's definitely not there.
      Does any of this seem familiar to you?

      Dan Korneff - Producer / Mixer / Audio Nerd

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

        @dustbro said in Develop branch build status:

        working with the latest Master branch (also tried develop)

        I haven't built with IPP for years so I'm not familiar with any issues you might encounter with that.

        I'm using the develop branch.

        You need to add -fpermissive to the compile flags.

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

        1 Reply Last reply Reply Quote 0
        • Dan KorneffD
          Dan Korneff
          last edited by Dan Korneff

          @d-healey said in Develop branch build status:

          I'm using the develop branch.
          You need to add -fpermissive to the compile flags.

          Thanks for this! I added the flag and ditched IPP. Got way closer with Develop branch.
          Screenshot from 2021-09-13 07-31-50.png

          I'm getting an error with the -Wno-inconsistent-missing-override flag

          At global scope:
          cc1plus: note: unrecognized command-line option ‘-Wno-inconsistent-missing-override’ may have been intended to silence earlier diagnostics
          make: *** [Makefile:248: build/intermediate/Release/include_hi_dsp_library_01_6050d6b.o] Error 1
          
          

          Is this flag needed?

          Dan Korneff - Producer / Mixer / Audio Nerd

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

            That's not an error, that's a warning/note. The error will be further up in the terminal and will probably have the word error in red text (depending on the terminal you're using). I don't know if the flag is needed but I always leave it in.

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

            Dan KorneffD 1 Reply Last reply Reply Quote 0
            • Dan KorneffD
              Dan Korneff @d.healey
              last edited by

              @d-healey said in Develop branch build status:

              That's not an error, that's a warning/note.

              You are correct.

              In file included from ../../../../../HISE/hi_dsp_library/hi_dsp_library_01.cpp:54,
                               from ../../JuceLibraryCode/include_hi_dsp_library_01.cpp:9:
              ../../../../../HISE/hi_dsp_library/snex_basics/snex_DynamicType.cpp: In constructor ‘snex::VariableStorage::VariableStorage(snex::Types::ID, const juce::var&)’:
              ../../../../../HISE/hi_dsp_library/snex_basics/snex_DynamicType.cpp:21:50: error: conversion from ‘const juce::var’ to ‘int64_t’ {aka ‘long int’} is ambiguous
                 21 |   data.p.data = reinterpret_cast<void*>((int64_t)value);
                    |                                                  ^~~~~
              

              Dan Korneff - Producer / Mixer / Audio Nerd

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

                @dustbro Oh it's that error again! I thought I'd fixed all those.

                Use my development branch for now - https://github.com/davidhealey/HISE/tree/development - it's up to date with Christoph's develop branch plus a few extras from the new_layout branch.

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

                1 Reply Last reply Reply Quote 0
                • Dan KorneffD
                  Dan Korneff
                  last edited by

                  @d-healey Thanks so much!
                  I don't see a jucer file in the standalone folder. Do I use the Makefile in the TravisCI folder?

                  Dan Korneff - Producer / Mixer / Audio Nerd

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

                    @dustbro Oh yeah I screwed up a commit and lost my jucer file :p just use the one from the develop branch and set it up as you had before with the -fpermissve flag etc.

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

                    Dan KorneffD 1 Reply Last reply Reply Quote 0
                    • Dan KorneffD
                      Dan Korneff @d.healey
                      last edited by

                      @d-healey You rock!
                      Success on this end. Thanks again for the help.

                      I also took a chance and installed with the latest IPP. that worked as well. You just have to change the file paths like the pics above.

                      Now I have some novice Linux desktop questions for ya. Once HISE is compiled, where is the recommended folder to drop it in? I notice other apps use /opt

                      Dan Korneff - Producer / Mixer / Audio Nerd

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

                        @dustbro The opt folder is for apps for all users, I only have one user on my system but I still prefer to keep my apps in the home folder, it also means I only have one location to backup. Some apps though seem to prefer the opt folder so I let those install where they want.

                        I added a hidden folder in my home folder called apps which is where I put executables. But in the case of HISE I leave it where it compiles it in the source code folder and add a shortcut to my menu, so when I recompile I don't have to go moving binaries or updating shortcuts again.

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

                        Dan KorneffD 1 Reply Last reply Reply Quote 0
                        • Dan KorneffD
                          Dan Korneff @d.healey
                          last edited by

                          @d-healey Excellent idea. Also, how do you change the app icon? The default "gear" icon is unnerving 😀

                          Dan Korneff - Producer / Mixer / Audio Nerd

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

                            @dustbro Which desktop environment are you using? I just realised you meant the binary icon. No idea, I just leave it as is. I change the icon in my menu shortcut though.

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

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

                              @dustbro This might help - https://www.maketecheasier.com/change-application-icon-from-terminal-linux/

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

                              Dan KorneffD 1 Reply Last reply Reply Quote 1
                              • Dan KorneffD
                                Dan Korneff @d.healey
                                last edited by

                                @d-healey Beers on me the next time I'm in town.

                                Dan Korneff - Producer / Mixer / Audio Nerd

                                1 Reply Last reply Reply Quote 0
                                • Dan KorneffD
                                  Dan Korneff
                                  last edited by Dan Korneff

                                  Trying to get this going on my M1 Mac Mini.
                                  BigSur 11.6
                                  Xcode 12.4

                                  Hit some errors when compiling:

                                  /Users/dan/Documents/GitHub/HISE/projects/standalone/JuceLibraryCode/include_hi_dsp_library_02.cpp:95:22: Aligned allocation function of type 'void *(std::size_t, std::align_val_t)' is only available on macOS 10.14 or newer
                                  
                                  /Users/dan/Documents/GitHub/HISE/projects/standalone/JuceLibraryCode/include_hi_dsp_library_02.cpp:95:22: Aligned deallocation function of type 'void (void *, std::align_val_t) noexcept' is only available on macOS 10.14 or newer
                                  
                                  /Users/dan/Documents/GitHub/HISE/projects/standalone/JuceLibraryCode/include_hi_dsp_library_02.cpp:201:13: Aligned deallocation function of type 'void (void *, std::align_val_t) noexcept' is only available on macOS 10.14 or newer
                                  

                                  Added this complier flag recommended on JUCE forums:

                                  -fno-aligned-allocation
                                  

                                  And changed Deployment Target to 10.14

                                  now I get a much more:

                                  /Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:70:32: No member named 'ui' in namespace 'snex'; did you mean 'scriptnode::analyse::ui'?
                                  /Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:70:42: No member named 'WorkbenchData' in namespace 'scriptnode::analyse::ui'
                                  /Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:105:15: No member named 'ui' in namespace 'snex'; did you mean 'scriptnode::analyse::ui'?
                                  /Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:105:25: No member named 'WorkbenchData' in namespace 'scriptnode::analyse::ui'
                                  /Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:106:15: No member named 'ui' in namespace 'snex'; did you mean 'scriptnode::analyse::ui'?
                                  /Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:106:25: No member named 'WorkbenchManager' in namespace 'scriptnode::analyse::ui'
                                  /Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:108:14: No member named 'ui' in namespace 'snex'; did you mean 'scriptnode::analyse::ui'?
                                  /Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:108:24: No member named 'WorkbenchData' in namespace 'scriptnode::analyse::ui'
                                  /Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:125:24: No member named 'ui' in namespace 'snex'; did you mean 'scriptnode::analyse::ui'?
                                  /Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:125:34: No member named 'WorkbenchData' in namespace 'scriptnode::analyse::ui'
                                  /Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:133:18: Unknown type name 'Ptr'
                                  /Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:149:20: Unknown type name 'Ptr'
                                  /Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:113:25: No member named 'ui' in namespace 'snex'; did you mean 'scriptnode::analyse::ui'?
                                  /Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:113:35: No type named 'WorkbenchManager' in namespace 'scriptnode::analyse::ui'
                                  /Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:114:33: No member named 'ui' in namespace 'snex'; did you mean 'scriptnode::analyse::ui'?
                                  /Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:114:43: No member named 'WorkbenchComponent' in namespace 'scriptnode::analyse::ui'
                                  /Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:121:25: No member named 'ui' in namespace 'snex'; did you mean 'scriptnode::analyse::ui'?
                                  

                                  then says "Too many errors emitted, stopping now"

                                  Dan Korneff - Producer / Mixer / Audio Nerd

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

                                    @dustbro said in Develop branch build status:

                                    And changed Deployment Target to 10.11

                                    Check the first error you posted

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

                                    Dan KorneffD 1 Reply Last reply Reply Quote 0
                                    • Dan KorneffD
                                      Dan Korneff @d.healey
                                      last edited by

                                      @d-healey oops... typo. It's set to 10.14

                                      Dan Korneff - Producer / Mixer / Audio Nerd

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

                                        @dustbro Did you clean the build folder after changing the deployment target?

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

                                        Dan KorneffD 1 Reply Last reply Reply Quote 0
                                        • Dan KorneffD
                                          Dan Korneff @d.healey
                                          last edited by

                                          @d-healey I did

                                          Dan Korneff - Producer / Mixer / Audio Nerd

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

                                            @dustbro Sorry, I'm out of ideas.

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

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

                                            14

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.5k

                                            Posts