HISE Logo Forum
    • Categories
    • Register
    • Login

    Problems building HISE on linux

    Scheduled Pinned Locked Moved General Questions
    32 Posts 2 Posters 1.6k 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

      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
                  • d.healeyD
                    d.healey
                    last edited by d.healey

                    Are you running Linux Mint in a virtual machine or is it your main OS?

                    And these are the dependencies you'll need. Let me know if you have them all

                    sudo apt-get -y install llvm
                    sudo apt-get -y install clang
                    sudo apt-get -y install libfreetype6-dev
                    sudo apt-get -y install libx11-dev
                    sudo apt-get -y install libxinerama-dev
                    sudo apt-get -y install libxrandr-dev
                    sudo apt-get -y install libxcursor-dev
                    sudo apt-get -y install mesa-common-dev
                    sudo apt-get -y install libasound2-dev
                    sudo apt-get -y install freeglut3-dev
                    sudo apt-get -y install libxcomposite-dev
                    sudo apt-get -y install libcurl4-gnutls-dev
                    
                    and, since JUCE 5, also these:
                    
                    sudo apt-get -y install libwebkit2gtk-4.0 
                    sudo apt-get -y install libgtk-3-dev
                    
                    If you want to use JACK, make sure it's also installed:
                    
                    sudo apt-get -y install libjack-jackd2-dev
                    

                    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
                      Mint is my main OS and i have installe all the dependencies, that was the first thing i have checked, when i ran into problems.
                      btw, i tried to build the scriptnode branch (which sounds very promising to me, after reading the documentation about scriptnode) on my PC, but no luck - ah bunch of warnings and an error message:

                      error: ‘ceilf’ is not a member of ‘std’
                          auto extraSamplesForLatency = (int)std::ceilf(os->getLatencyInSamples());
                      
                      

                      but ok, one after the other, thats a bit off topic now... ;-)

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

                        Yeah sometimes scriptnode needs a bit of modification for GNU/Linux because of ceilf, floorf, etc.

                        I'm still not sure why Projucer won't open for you though. That is the first problem to solve.

                        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
                          yes, and i don't have a glue, how to solve that. i did install all dependencies, including libwebkit2gtk-4.0.37, libgtk-3-dev and libjack-jackd2-dev. i looked that up a 100 times. i tried to uninstall the dependencies and reinstalled them one by one, i even synchronized the packages between my PC and my Laptop via apt-clone. i could rip off my hair. :-/

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

                            Does the HISE that you compiled on your PC run on your laptop?

                            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, it does! only projucer spits out errors, when i try to build a plugin, created in hise (on my laptop). on my PC it works fine.

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

                                :) Well that's half a solution.

                                I wonder if it's a graphics card issue since building a HISE plugin uses Projucer via the command line. Are your laptop graphics drivers up to date?

                                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
                                  uhh? as far as i know, they are... i only have onboard graphics, which don't need proprietary drivers. there should everything be fine, i'd guess.

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

                                  24

                                  Online

                                  1.8k

                                  Users

                                  11.9k

                                  Topics

                                  103.7k

                                  Posts