HISE Logo Forum
    • Categories
    • Register
    • Login

    Linux build of HISE

    Scheduled Pinned Locked Moved General Questions
    125 Posts 14 Posters 40.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.
    • d.healeyD
      d.healey @AxiomCrux
      last edited by

      @macromachines I can't remember what I was doing back then exactly. But now I'm using the Linux native version of Reaper and HISE has Linux export so I'm not using WINE at all for this.

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

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

        GitHub master currently failing on Linux Mint

        Makefile:188: recipe for target 'build/intermediate/Release/include_hi_modules_263b29.o' failed
        make: *** [build/intermediate/Release/include_hi_modules_263b29.o] Error 1
        

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

        1 Reply Last reply Reply Quote 0
        • Christoph HartC
          Christoph Hart
          last edited by

          Oops, I didn't touch the master branch for a long time. I'll take a look what's wrong there.

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

            The last time I built was the 5th of June, I just tried rebuilding that version and it didn't work either, so I'm thinking maybe there has been some update to my OS which is causing the problem. I also noticed there is more to the error.

                             from ../../JuceLibraryCode/include_hi_modules.cpp:9:
            ../../../../../HISE/hi_modules/effects/fx/ShapeFX.cpp: In member function ‘virtual void hise::PolyshapeFX::getWaveformTableValues(int, const float**, int&, float&)’:
            ../../../../../HISE/hi_modules/effects/fx/ShapeFX.cpp:867:60:error: ‘atanf’ is not a member of ‘std’
              case ShapeFX::ShapeMode::Atan:    normalizeValue = 1.0f / std::atanf(displayPe
                                                                        ^
            ../../../../../HISE/hi_modules/effects/fx/ShapeFX.cpp:867:60: note: suggested alternative:
            In file included from /usr/include/c++/5/cmath:44:0,
                             from ../../../../../HISE/hi_backend/../hi_modules/../hi_scripting/../hi_sampler/../hi_components/../hi_dsp/../hi_core/../JUCE/modules/juce_core/system/juce_StandardHeader.h:47,
                             from ../../../../../HISE/hi_backend/../hi_modules/../hi_scripting/../hi_sampler/../hi_components/../hi_dsp/../hi_core/../JUCE/modules/juce_core/juce_core.h:178,
                             from ../../../../../HISE/hi_backend/../hi_modules/../hi_scripting/../hi_sampler/../hi_components/../hi_dsp/../hi_core/hi_core.h:65,
                             from ../../../../../HISE/hi_backend/../hi_modules/../hi_scripting/../hi_sampler/../hi_components/../hi_dsp/hi_dsp.h:55,
                             from ../../../../../HISE/hi_backend/../hi_modules/../hi_scripting/../hi_sampler/../hi_components/hi_components.h:57,
                             from ../../../../../HISE/hi_backend/../hi_modules/../hi_scripting/../hi_sampler/hi_sampler.h:54,
                             from ../../../../../HISE/hi_backend/../hi_modules/../hi_scripting/hi_scripting.h:61,
                             from ../../../../../HISE/hi_backend/../hi_modules/hi_modules.h:57,
                             from ../../../../../HISE/hi_backend/hi_backend.h:55,
                             from ../../JuceLibraryCode/JuceHeader.h:17,
                             from ../../../../../HISE/hi_modules/hi_modules.cpp:2,
                             from ../../JuceLibraryCode/include_hi_modules.cpp:9:
            /usr/include/x86_64-linux-gnu/bits/mathcalls.h:58:1: note:   ‘atanf’
             __MATHCALL (atan,, (_Mdouble_ __x));
             ^
            At global scope:
            cc1plus: warning: unrecognized command line option ‘-Wno-inconsistent-missing-override’
            Makefile:188: recipe for target 'build/intermediate/Release/include_hi_modules_263b29.o' failed
            make: *** [build/intermediate/Release/include_hi_modules_263b29.o] Error 1
            

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

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

              I just tried building on an older install of Linux Mint (my laptop that hasn't been updated for a few months) and I still get the same error about atanf.

              Update: I managed to compile by going into the ShapeFX.cpp file and commenting out the line referencing antaf. I'm not using the ShapeFX so hopefully it won't break anything.

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

              1 Reply Last reply Reply Quote 0
              • Christoph HartC
                Christoph Hart
                last edited by

                Congratulations, you are now a C++ developer ;)

                1 Reply Last reply Reply Quote 1
                • LevitanusL
                  Levitanus
                  last edited by

                  Well, I, finally built (I think) the HISE under Ubuntu 18.10.
                  And, in the build directory HISE Standalone (18mb) appeared. It's been recognized as an extended library and I can't run it...
                  The last output from the terminal was linking solution or something like this. Anything is wrong?))

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

                    @Levitanus try opening in terminal

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

                    LevitanusL 1 Reply Last reply Reply Quote 0
                    • LevitanusL
                      Levitanus @d.healey
                      last edited by

                      @d-healey said in Linux build of HISE:

                      try opening in terminal

                      I've trashed the HDD with Linux partition, and have not reinstalled it yet. But Termnal said it can not find the command (opened from the build folder with the file)

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

                        @Levitanus Drag the executable onto the terminal window and hit enter

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

                        1 Reply Last reply Reply Quote 1
                        • O
                          oddyotrax
                          last edited by

                          Greetings,

                          I would like to confirm that I have successfully built both HISE standalone and VST2 on Debian Stretch 9.8

                          1 Reply Last reply Reply Quote 2
                          • ?
                            A Former User @Levitanus
                            last edited by

                            @Levitanus There is a fix for this. Editing the make file from memory.

                            ? 1 Reply Last reply Reply Quote 0
                            • ?
                              A Former User @A Former User
                              last edited by

                              Use no-pie as an argument(I think it’s argument) in the command line when compiling. Fingers crossed!

                              d.healeyD 1 Reply Last reply Reply Quote 0
                              • d.healeyD
                                d.healey @A Former User
                                last edited by

                                @danial I use -no-pie as a linker flag in Projucer. Might work as a command line argument too.

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

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

                                  Attempting to build master branch.

                                  /hi_scripting/scripting/scripting_audio_processor/ScriptDspModules.h:502:21: error: ‘sqrtf’ is not a member of ‘std’ data[c][i] = std::sqrtf(v);

                                  None standard standard library strikes again.

                                  And then there's this stuff, all related to the new Markdown feature. I have the webbrowser disabled in the JUCE project so that might have something to do with it.

                                  /HISE-master/hi_tools/hi_markdown/MarkdownElements.cpp:792:17: error: ‘WebBrowserComponent’ was not declared in this scope
                                     ScopedPointer<WebBrowserComponent> gifPlayer;
                                                   ^
                                  ../../../../../HISE-master/hi_tools/hi_markdown/MarkdownElements.cpp:792:36: error: template argument 1 is invalid
                                     ScopedPointer<WebBrowserComponent> gifPlayer;
                                                                      ^
                                  ../../../../../HISE-master/hi_tools/hi_markdown/MarkdownElements.cpp: In member function ‘virtual void hise::MarkdownParser::ImageElement::GifPlayer::scrolled(juce::Rectangle<int>)’:
                                  ../../../../../HISE-master/hi_tools/hi_markdown/MarkdownElements.cpp:756:15: error: cannot convert ‘std::nullptr_t’ to ‘int’ in assignment
                                       gifPlayer = nullptr;
                                                 ^
                                  ../../../../../HISE-master/hi_tools/hi_markdown/MarkdownElements.cpp: In member function ‘virtual void hise::MarkdownParser::ImageElement::GifPlayer::mouseDown(const juce::MouseEvent&)’:
                                  ../../../../../HISE-master/hi_tools/hi_markdown/MarkdownElements.cpp:781:38: error: expected type-specifier before ‘WebBrowserComponent’
                                      addAndMakeVisible(gifPlayer = new WebBrowserComponent());
                                                                        ^
                                  ../../../../../HISE-master/hi_tools/hi_markdown/MarkdownElements.cpp:782:13: error: base operand of ‘->’ is not a pointer
                                      gifPlayer->setSize(p.img.getWidth() + 50, p.img.getHeight() + 50);
                                               ^
                                  ../../../../../HISE-master/hi_tools/hi_markdown/MarkdownElements.cpp:783:13: error: base operand of ‘->’ is not a pointer
                                      gifPlayer->setTopLeftPosition(0, 0);
                                               ^
                                  ../../../../../HISE-master/hi_tools/hi_markdown/MarkdownElements.cpp:784:13: error: base operand of ‘->’ is not a pointer
                                      gifPlayer->goToURL(p.imageURL.toString(MarkdownLink::UrlFull));
                                               ^
                                  ../../../../../HISE-master/hi_tools/hi_markdown/MarkdownElements.cpp:785:13: error: base operand of ‘->’ is not a pointer
                                      gifPlayer->addMouseListener(this, true);
                                  

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

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

                                    Never mind, I found a PPA that provides a suitable version of libwebkit

                                    Link Preview Image
                                    WebKit Stable : “WebKit Team” team

                                    Stable versions of WebKitGtk http://www.webkitgtk.org/ sudo add-apt-repository ppa:webkit-team

                                    favicon

                                    Launchpad (launchpad.net)

                                    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 @Christoph Hart
                                      last edited by

                                      @christoph-hart said in Linux build of HISE:

                                      It appears that the Projucer has some flags enabled that require i7 CPUs, which is most likely the cause of the illegal instruction errors.

                                      Source: https://forum.juce.com/t/linux-projucer-crashes-on-startup/18320/8

                                      What did you do to fix this? I'm hitting the same error again with the latest Projucer.

                                      /JUCE/modules/juce_dsp/containers/juce_SIMDRegister.h:85:11: error: invalid use of incomplete type ‘struct juce::dsp::SIMDNativeOps<long long int>’
                                         85 |     using vSIMDType = typename NativeOps::vSIMDType;
                                      

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

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

                                        @d-healey I found the commit for the fix you made previously but it isn't solving the problem this time

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

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

                                          @d-healey Oh it looks like someone called Chrisboy2000 posted a workaround on the JUCE forum - https://forum.juce.com/t/dsp-module-breaks-compilation-on-linux/27346/3 :)

                                          And here is the commit that implemented it. https://github.com/christophhart/HISE/commit/b1a3afff06d3b16f58723d3041449522c8dbb17e

                                          I'll push this on my fork

                                          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

                                          15

                                          Online

                                          1.7k

                                          Users

                                          11.9k

                                          Topics

                                          103.5k

                                          Posts