HISE Logo Forum
    • Categories
    • Register
    • Login

    Compile errors on Ubuntu 24.04

    Scheduled Pinned Locked Moved Newbie League
    15 Posts 2 Posters 128 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 @Sympol
      last edited by

      @Sympol it's saying command not found, but those aren't commands, so perhaps it's the way you're formatting the install command. Try installing the packages one at a time.

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

      S 1 Reply Last reply Reply Quote 0
      • S
        Sympol @d.healey
        last edited by

        @d-healey Thanks again David. I ran sudo apt install individually for those 3 problems, instead of sudo apt-get and they appeared to install correctly....
        Followed the rest of the steps in your tutorial and tried again to compile DebugWithFaust but now a different error 😧
        from the tail end of the terminal output:

        Compiling include_hi_streaming.cpp
        In file included from ../../../../../HISE/hi_streaming/../JUCE/modules/juce_dsp/juce_dsp.h:236,
        from ../../../../../HISE/hi_streaming/hi_streaming.h:62,
        from ../../../../../HISE/hi_streaming/hi_streaming.cpp:2,
        from ../../JuceLibraryCode/include_hi_streaming.cpp:9:
        ../../../../../HISE/hi_streaming/../JUCE/modules/juce_dsp/containers/juce_SIMDRegister.h: In instantiation of ‘struct juce::dsp::SIMDRegister’:
        ../../../../../HISE/hi_streaming/hi_streaming/MonolithAudioFormat.cpp:371:35: required from here
        ../../../../../HISE/hi_streaming/../JUCE/modules/juce_dsp/containers/juce_SIMDRegister.h:85:11: error: invalid use of incomplete type ‘using juce::dsp::SIMDRegister::NativeOps = struct juce::dsp::SIMDNativeOps’ {aka ‘struct juce::dsp::SIMDNativeOps’}
        85 | using vSIMDType = typename NativeOps::vSIMDType;

        | ^~~~~~~~~
        In file included from ../../../../../HISE/hi_streaming/../JUCE/modules/juce_dsp/juce_dsp.h:228:
        ../../../../../HISE/hi_streaming/../JUCE/modules/juce_dsp/native/juce_sse_SIMDNativeOps.h:52:8: note: declaration of ‘using juce::dsp::SIMDRegister::NativeOps = struct juce::dsp::SIMDNativeOps’ {aka ‘struct juce::dsp::SIMDNativeOps’}
        52 | struct SIMDNativeOps;
        | ^~~~~~~~~~~~~
        make: *** [Makefile:772: build/intermediate/DebugWithFaust/include_hi_streaming_6963df44.o] Error 1
        make: *** Waiting for unfinished jobs....

        As far as I can see that's the only error.....

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

          @Sympol Oh yes there's a bug that I'm waiting on Christoph to fix: https://forum.hise.audio/topic/13705/invalid-use-of-incomplete-type-vsimdtype/8

          I'll give it a bump. In the meantime try this commit 91102fba0c1a2740e8be1d8504348112c5d34198

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

          S 1 Reply Last reply Reply Quote 0
          • S
            Sympol @d.healey
            last edited by

            @d-healey Thanks again for your time and patience with an annoying newbie!
            Not exactly sure what you mean (that string means nothing to me!), but I'm assuming I should download the source files from your develpment branch and then try again?
            I'll give that a go after lunch 😁

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

              @Sympol It's a git commit hash. In the terminal just type in git checkout 91102fba0c1a2740e8be1d8504348112c5d34198 and hit enter.

              @Sympol said in Compile errors on Ubuntu 24.04:

              but I'm assuming

              That way leads to you ending up in a pickle

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

              S 1 Reply Last reply Reply Quote 0
              • S
                Sympol @d.healey
                last edited by

                @d-healey And I certainly don't want to end in a pickle!
                This is what I got when I typed that in my terminal.....
                ******robin@Study:~/Documents/HISE/projects/standalone/Builds/LinuxMakefile$ git checkout 91102fba0c1a2740e8be1d8504348112c5d34198
                M projects/standalone/HISE Standalone.jucer
                M projects/standalone/JuceLibraryCode/AppConfig.h
                Note: switching to '91102fba0c1a2740e8be1d8504348112c5d34198'.

                You are in 'detached HEAD' state. You can look around, make experimental
                changes and commit them, and you can discard any commits you make in this
                state without impacting any branches by switching back to a branch.

                If you want to create a new branch to retain commits you create, you may
                do so (now or later) by using -c with the switch command. Example:

                git switch -c

                Or undo this operation with:

                git switch -

                Turn off this advice by setting config variable advice.detachedHead to false

                HEAD is now at 91102fba0 - fix DLL compilation on macOS******

                So my head is now detached.....
                Sorry for the dumb questions, but what now? (still haven't had lunch!)

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

                  @Sympol ignore the detached head and carry on. We can reattach it later 😀

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

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    Sympol @d.healey
                    last edited by

                    @d-healey Screwed my head back on, but honestly I have no idea what to do next. I don't want to create any new commits (do I?) ll I want is to get past the error in my compile....
                    Do I need to download just these 2 and overwrite what I already have from the first download (if so, how??) and then try a recompile?
                    M projects/standalone/HISE Standalone.jucer
                    M projects/standalone/JuceLibraryCode/AppConfig.h

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

                      @Sympol git reset --hard

                      Then do the git checkout again

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

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        Sympol @d.healey
                        last edited by

                        @d-healey Anything more I need to do before attempting a recompile?

                        robin@Study:~/Documents/HISE/projects/standalone/Builds/LinuxMakefile$ git reset --hard
                        HEAD is now at 91102fba0 - fix DLL compilation on macOS
                        robin@Study:~/Documents/HISE/projects/standalone/Builds/LinuxMakefile$ git checkout 91102fba0c1a2740e8be1d8504348112c5d34198
                        HEAD is now at 91102fba0 - fix DLL compilation on macOS
                        
                        
                        d.healeyD 1 Reply Last reply Reply Quote 0
                        • d.healeyD
                          d.healey @Sympol
                          last edited by

                          @Sympol resave in projucer

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

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            Sympol @d.healey
                            last edited by

                            @d-healey Thanks David - that worked and I was able to compile the DebugWithFaust version and run it....
                            Now to try a ReleaseWith Faust.....
                            Thanks again for your time, help and patience 😁

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

                            29

                            Online

                            2.0k

                            Users

                            12.8k

                            Topics

                            111.1k

                            Posts