Problems building HISE on linux
-
@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. -
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.
-
@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
-
@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
-
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
-
@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... ;-)
-
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.
-
@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. :-/ -
Does the HISE that you compiled on your PC run on your laptop?
-
@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. -
:) 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?
-
@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.