HISE Logo Forum
    • Categories
    • Register
    • Login

    Problems building HISE on linux

    Scheduled Pinned Locked Moved General Questions
    32 Posts 2 Posters 1.5k 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
      last edited by

      You should use the scriptnode branch for the latest version. Did you use the Projucer that came with the HISE source code or did you build Projucer yourself? I remember someone mentioned recently they were having trouble with the version that came with HISE.

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

      1 Reply Last reply Reply Quote 1
      • toxonicT
        toxonic
        last edited by

        i posted that issue on github, maybe that was me. yeah, the projucer that came with hise didn't work on any of my machines (both linux mint 19.2) - no matter which hise version. so i installed juce. i'll give the scriptnode branch version a chance, didn't even know about that, i'm very new in building software from source and github and such things... ;-)

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

          @toxonic What do you mean when you say you installed JUCE?

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

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

            @d-healey said in Problems building HISE on linux:

            @toxonic What do you mean when you say you installed JUCE?

            i installed juce on both machines with a shell-script, which first gets all dependencies before building juce (https://forum.juce.com/t/easy-juce-installation-on-ubuntu-linux-16-04/18159).

            by the way, same problem with the scriptnode branch... :-/

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

              all dependencies before building juce

              Do you mean building Projucer?

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

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

                @d-healey
                yeah, Projucer seems only to be one part of JUCE, cdorrect me if i am wrong there. but the Projucer binary is in the JUCE folder. and indeed, there seems to be something wrong with the Projucer / JUCE installation, i tried to build one of the included example projects (PluckedStringsDemo) - the makefile was created after saving the project, but when i executed the make file i got an error message in the terminal again:

                mkdir: fehlender Operand
                „mkdir --help“ liefert weitere Informationen.
                mkdir: fehlender Operand
                „mkdir --help“ liefert weitere Informationen.
                Makefile:98: recipe for target '/Main_90ebc5c2.o' failed
                make: [/Main_90ebc5c2.o] Error 1 (ignoriert)
                Makefile:103: recipe for target '/include_juce_audio_basics_8a4e984a.o' failed
                make: [/include_juce_audio_basics_8a4e984a.o] Error 1 (ignoriert)
                Compiling Main.cpp
                Compiling include_juce_audio_basics.cpp
                In file included from ../../Source/Main.cpp:9:0:
                ../../Source/../JuceLibraryCode/JuceHeader.h:17:10: fatal error: juce_audio_basics/juce_audio_basics.h: Datei oder Verzeichnis nicht gefunden
                 #include <juce_audio_basics/juce_audio_basics.h>
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                compilation terminated.
                ../../JuceLibraryCode/include_juce_audio_basics.cpp:9:10: fatal error: juce_audio_basics/juce_audio_basics.cpp: Datei oder Verzeichnis nicht gefunden
                 #include <juce_audio_basics/juce_audio_basics.cpp>
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                compilation terminated.
                Makefile:98: recipe for target '/Main_90ebc5c2.o' failed
                make: *** [/Main_90ebc5c2.o] Error 1
                make: *** Auf noch nicht beendete Prozesse wird gewartet …
                Makefile:103: recipe for target '/include_juce_audio_basics_8a4e984a.o' failed
                make: *** [/include_juce_audio_basics_8a4e984a.o] Error 1
                
                
                1 Reply Last reply Reply Quote 0
                • d.healeyD
                  d.healey
                  last edited by

                  Have you built Projucer?

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

                  toxonicT 1 Reply Last reply Reply Quote 0
                  • toxonicT
                    toxonic
                    last edited by

                    yes, Projucer is in the JUCE folder (automatically build via the script, mentioned in one of my last posts). i tried to build the example project above within Projucer (like HISE standalone before). As mentioned, the Projucer that came with HISE didn't work on any of my machines (the terminals spits out something like "invalid machine command (core image written)"), thats why i installed the Projucer via the JUCE installation script.

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

                      @d-healey
                      on another partition of my laptop i have a kubuntu 18.04 istallation. i tried out the projucer came with hise scriptnode, an as i expected, it didn't start, because i didn't install the dependencies for projucer first, but surprisingly it seemed to try to run, telling me that libwebkit is missing. but after i installed all the dependencies mentioned on the hise github page, i got the same as on my laptop:
                      invalid machine command (core image written)
                      could there be a conflict with one of the installed dependencies? maybe i have to uninstall them and reinstall them one by one to find out, if there lies the problem.

                      i hope you got me, sorry for my poor english and thank you for all your help. :-)

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

                        Have you seen my tutorial for building HISE on GNU/Linux?

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

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

                          @d-healey
                          Yes, sure, i did it like you shown in your video, but instead of using the Projucer, which came with hise (because of the issue i already mentioned) , i used the Projucer, that i've built via the installJuce.sh Script (mentioned above).
                          At least, this worked fine on my pc, but not on my Laptop (with the same os).
                          Ps: well, i first ran into problems regarding the --no-pie flag within the hise jucer file, which wouldn't compile. I compiled it the without that flag, but then, the compiled hise Binary was only executable via Terminal. After i renamed the flag to "-no-pie" (only one - sign) , the binary worked well on my pc.

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

                            It's very strange. I just downloaded the latest scriptnode branch and the Projucer executable that comes with it works fine for me. I'm using Linux Mint 19.1

                            Could you try running the scriptnode version of Projucer from the terminal and tell me what error you get?

                            The other thing I'm unsure about is in the past I have built Projucer from source using the makefile but I've never "installed juce" so I don't know what that has added to your system.

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

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

                              @d-healey said in Problems building HISE on linux:

                              Could you try running the scriptnode version of Projucer from the terminal and tell me what error you get?

                              Yeah, i tried this already on my Kubuntu partition (which is a quite fresh Installation), i used the Projucer which came with hise scriptnode. After i installed the dependencies, i tried to run Projucer, the Terminal spits out the same error message:

                              invalid machine Command (core image written)

                              This occured on a system, wehre Mo juce is installed - but remember, the reason why i installed juce on my laptop was the fact, that the hise Projucer alteady didn't work (with the same error message).

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

                                I think I know what the problem is. Do the devices that it doesn't work on have an AMD processor?

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

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

                                  @d-healey
                                  Nope, the opposit is fact:
                                  my pc (which runs hise) has an AMD CPU, my laptop runs with an old Intel i5 CPU. Could this be to outdated?
                                  Ah, stop ... the hise Projucer don't run on any of my machines.
                                  What was your idea, regarding AMD processors?

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

                                    HISE (not Projucer) needs a special setting to run on old AMD CPUs. But that doesn't look like the problem here since it works on your AMD PC.

                                    Are you running 32bit or 64bit OS?

                                    Is this message translated from German? invalid machine Command (core image written)

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

                                    toxonicT 2 Replies Last reply Reply Quote 0
                                    • toxonicT
                                      toxonic @d.healey
                                      last edited by

                                      @d-healey
                                      :-/
                                      Both running 64 bit.
                                      When i'm back home from work (yeah, i have to work on sunday.... :-/ ) i'll be trying out, reinstalling the dependencies, since the only thing i found was, that on Kubuntu before installing dependencies, the terminal didn't directly spit out a error message as if the binary was corrupted, but told me to install libwebkit, which itself is one of the dependencies.

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

                                        If that error message is translated from German could you set your system to English and generate the message again. The problem is there are almost no search engine results for that error but if I have the English version I might be able to find more information.

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

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

                                          @d-healey said in Problems building HISE on linux:

                                          Is this message translated from German? invalid machine Command (core image written)

                                          Yes, it is. I checked google for a matching translation... ;-)

                                          I'll try that at home

                                          1 Reply Last reply Reply Quote 1
                                          • toxonicT
                                            toxonic @d.healey
                                            last edited by

                                            @d-healey
                                            okay, i set my system language to english, and the correct translation is:

                                            Illegal instruction (core dumped)
                                            

                                            sorry for that, should have done that before. after uninstalling all dependncies i tried to start Projucer. i know, this wouldn't work, but i get the terminal message:

                                            /home/toxonic/Source Applications/HISE-scriptnode/tools/projucer/Projucer: error while loading shared libraries: libwebkit2gtk-4.0.so.37: cannot open shared object file: No such file or directory
                                            
                                            

                                            which leads me to guess, that the binary itself is not corrupted, as it seems to load libraries to start. after installing libwegkit, the error "illegal instruction..." appears, what makes me think, it could hav something to do with the libwebkit2gtk-4.0

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

                                            24

                                            Online

                                            1.7k

                                            Users

                                            11.9k

                                            Topics

                                            103.6k

                                            Posts