Linux build of HISE
-
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 waslinking solution
or something like this. Anything is wrong?)) -
@Levitanus try opening in terminal
-
@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)
-
@Levitanus Drag the executable onto the terminal window and hit enter
-
Greetings,
I would like to confirm that I have successfully built both HISE standalone and VST2 on Debian Stretch 9.8
-
@Levitanus There is a fix for this. Editing the make file from memory.
-
Use no-pie as an argument(I think it’s argument) in the command line when compiling. Fingers crossed!
-
@danial I use -no-pie as a linker flag in Projucer. Might work as a command line argument too.
-
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);
-
Never mind, I found a PPA that provides a suitable version of libwebkit
-
@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;
-
-
@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