Compiling HISE with Faust issue (Linux)
-
Due to a lack of time, I haven’t worked with HISE for several years and I’m currently trying to get back into it… I’m afraid I’ve already forgotten everything…

I cloned the latest develop branch from GitHub and initially ran into a few issues during compilation because of missing JUCE modules, but I was able to sort that out myself and successfully build the Release version of HISE.
However, I’m currently stuck with the Faust integration. During linking, I get the following error message...
Linking HISE Standalone - App /usr/bin/ld.gold: error: cannot find -lfaust...followed by a bunch of warning messages, before compilation finally breaks with:
collect2: error: ld returned 1 exit status make: *** [Makefile:257: build/HISE Standalone] Error 1The Faust path (/usr/local) is correct and the Faust version is up to date as well.
Any ideas? Thanks in advance!
-
@toxonic said in Compiling HISE with Faust issue (Linux):
I was able to sort that out myself
Did you download the submodules? - this is a new system for HISE since a few days ago
What do you see in the terminal when you run
faust --version? -
@David-Healey
Hi David, and thanks for the quick reply.
Yes, I downloaded the JUCE submodules, but I’m not sure whether I did it correctly, because I’m really not very confident when it comes to using Git. I rangit submodule initandgit submodule update. After that, the JUCE folder did contain some directories and files, but during compilation I still got error messages saying that various JUCE module files were missing. I then copied those files over via copy/paste from a complete JUCE repository. That was version 8, but even so, HISE compiled in Release configuration without any further issues.I built Faust with
make allbefore installing withsudo make install.
faust --versionoutputs the following on my system:FAUST Version 2.83.5 Embedded backends: DSP to C DSP to C++ DSP to Cmajor DSP to Codebox DSP to CSharp DSP to DLang DSP to FIR DSP to Interpreter DSP to Java DSP to JAX DSP to Julia DSP to JSFX DSP to LLVM IR DSP to old C++ DSP to Rust DSP to SDF3 DSP to VHDL DSP to WebAssembly (wast/wasm) Build with LLVM version 14.0.0 Copyright (C) 2002-2026, GRAME - Centre National de Creation Musicale. All rights reserved. -
@toxonic Delete your source code folder and use this command to get a fresh clone
git clone --branch develop --recurse-submodules https://github.com/christophhart/HISE.git -
@David-Healey damn, I knew, I did something wrong!

I'll try that right after lunch! ;-) -
@David-Healey said in Compiling HISE with Faust issue (Linux):
git clone --branch develop --recurse-submodules https://github.com/christophhart/HISE.git
Okay, I’ve done that, however the Linker error regarding the Faust Build (
make CONFIG=ReleaseWithFaust -j4)still persists. Btw, is it normal, that I get such a long list of warnings, while linking?Linking HISE Standalone - App /usr/bin/ld.gold: error: cannot find -lfaust In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:17, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:27, inlined from ‘paddedRight.constprop’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:1222:1: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In member function ‘paddedRight.constprop’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:17, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:27, inlined from ‘toHexString’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:1958:1, inlined from ‘toHexString’ at ../../../../JUCE/modules/juce_cryptography/hashing/juce_MD5.cpp:259:59, inlined from ‘getEncodedIDString’ at ../../../../JUCE/modules/juce_product_unlocking/marketplace/juce_OnlineUnlockStatus.cpp:297:37, inlined from ‘getLocalMachineIDs’ at ../../../../JUCE/modules/juce_product_unlocking/marketplace/juce_OnlineUnlockStatus.cpp:330:41: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In function ‘getLocalMachineIDs’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:17, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:27, inlined from ‘repeatedString’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:1166:1, inlined from ‘getText’ at ../../../../JUCE/modules/juce_gui_basics/widgets/juce_TextEditor.cpp:47:57, inlined from ‘setFont’ at ../../../../JUCE/modules/juce_gui_basics/widgets/juce_TextEditor.cpp:206:72, inlined from ‘applyFontToAllText.constprop’ at ../../../../JUCE/modules/juce_gui_basics/widgets/juce_TextEditor.cpp:1080:22: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In member function ‘applyFontToAllText.constprop’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:0, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:0, inlined from ‘trace’ at ../../../../JUCE/modules/juce_core/javascript/juce_Javascript.cpp:1841:0: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In function ‘trace’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In function ‘stringify’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:17, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:27, inlined from ‘createInsertSpaceInternal’ at ../../../../JUCE/modules/juce_core/containers/juce_ArrayBase.h:484:30, inlined from ‘createInsertSpace’ at ../../../../JUCE/modules/juce_core/containers/juce_ArrayBase.h:461:35, inlined from ‘insert.constprop’ at ../../../../JUCE/modules/juce_core/containers/juce_ArrayBase.h:336:41: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In member function ‘insert.constprop’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In function ‘release.constprop’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:17, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:27, inlined from ‘createInsertSpaceInternal’ at ../../../../JUCE/modules/juce_core/containers/juce_ArrayBase.h:484:30, inlined from ‘createInsertSpace’ at ../../../../JUCE/modules/juce_core/containers/juce_ArrayBase.h:461:35, inlined from ‘insert’ at ../../../../JUCE/modules/juce_core/containers/juce_ArrayBase.h:336:41, inlined from ‘insert’ at ../../../../JUCE/modules/juce_core/containers/juce_Array.h:465:23, inlined from ‘insert.constprop’ at ../../../../JUCE/modules/juce_core/text/juce_StringArray.cpp:147:20: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In member function ‘insert.constprop’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:17, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:27, inlined from ‘repeatedString’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:1166:1, inlined from ‘replaceTabsWithSpaces’ at ../../../../JUCE/modules/juce_gui_extra/code_editor/juce_CodeEditorComponent.cpp:311:83, inlined from ‘update’ at ../../../../JUCE/modules/juce_gui_extra/code_editor/juce_CodeEditorComponent.cpp:181:31, inlined from ‘rebuildLineTokens’ at ../../../../JUCE/modules/juce_gui_extra/code_editor/juce_CodeEditorComponent.cpp:669:43: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In member function ‘rebuildLineTokens’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:17, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:27, inlined from ‘replaceSection’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:1284:1, inlined from ‘replaceTabsWithSpaces’ at ../../../../JUCE/modules/juce_gui_extra/code_editor/juce_CodeEditorComponent.cpp:311:48, inlined from ‘update’ at ../../../../JUCE/modules/juce_gui_extra/code_editor/juce_CodeEditorComponent.cpp:181:31, inlined from ‘rebuildLineTokens’ at ../../../../JUCE/modules/juce_gui_extra/code_editor/juce_CodeEditorComponent.cpp:669:43: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In member function ‘rebuildLineTokens’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:17, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:27, inlined from ‘paddedLeft.constprop’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:1193:1: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In member function ‘paddedLeft.constprop’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:17, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:27, inlined from ‘paddedLeft.constprop’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:1193:1: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In member function ‘paddedLeft.constprop’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:17, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:27, inlined from ‘fromCharCode’ at ../../../../JUCE/modules/juce_core/javascript/juce_Javascript.cpp:1719:73: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In function ‘fromCharCode’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:17, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:27, inlined from ‘createInsertSpaceInternal’ at ../../../../JUCE/modules/juce_core/containers/juce_ArrayBase.h:484:30, inlined from ‘createInsertSpace’ at ../../../../JUCE/modules/juce_core/containers/juce_ArrayBase.h:461:35, inlined from ‘insert’ at ../../../../JUCE/modules/juce_core/containers/juce_ArrayBase.h:336:41, inlined from ‘insert’ at ../../../../JUCE/modules/juce_core/containers/juce_Array.h:465:23, inlined from ‘addPooledString.isra’ at ../../../../JUCE/modules/juce_core/text/juce_StringPool.cpp:96:20: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In function ‘addPooledString.isra’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:17, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:27, inlined from ‘addLines.isra’ at ../../../../JUCE/modules/juce_core/text/juce_StringArray.cpp:378:26: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In member function ‘addLines.isra’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:17, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:27, inlined from ‘getWithStrings’ at ../../../../JUCE/modules/juce_core/javascript/juce_Javascript.cpp:578:91: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In member function ‘getWithStrings’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:17, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:27, inlined from ‘operator()’ at ../../../../JUCE/modules/juce_core/native/juce_linux_Files.cpp:215:58, inlined from ‘openDocument’ at ../../../../JUCE/modules/juce_core/native/juce_linux_Files.cpp:222:7: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In function ‘openDocument’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:17, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:27, inlined from ‘repeatedString’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:1166:1: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In function ‘repeatedString’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:17, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:27, inlined from ‘toLowerCase’ at ../../../../JUCE/modules/juce_core/javascript/juce_Javascript.cpp:1725:87: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In function ‘toLowerCase’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:17, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:27, inlined from ‘substring’ at ../../../../JUCE/modules/juce_core/javascript/juce_Javascript.cpp:1720:86: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In function ‘substring’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:17, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:27, inlined from ‘charAt’ at ../../../../JUCE/modules/juce_core/javascript/juce_Javascript.cpp:1723:109: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In function ‘charAt’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:17, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:27, inlined from ‘trim’ at ../../../../JUCE/modules/juce_core/javascript/juce_Javascript.cpp:1724:80: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In function ‘trim’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:17, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:27, inlined from ‘join’ at ../../../../JUCE/modules/juce_core/javascript/juce_Javascript.cpp:1594:44: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In function ‘join’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:17, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:27, inlined from ‘addTokens’ at ../../../../JUCE/modules/juce_core/text/juce_StringArray.cpp:345:26: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In member function ‘addTokens’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:17, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:27, inlined from ‘_ZN4juce11StringArray20addIfNotAlreadyThereERKNS_6StringEb.part.0’ at ../../../../JUCE/modules/juce_core/text/juce_StringArray.cpp:155:9: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In member function ‘_ZN4juce11StringArray20addIfNotAlreadyThereERKNS_6StringEb.part.0’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:17, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:27, inlined from ‘split’ at ../../../../JUCE/modules/juce_core/javascript/juce_Javascript.cpp:1737:55: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In function ‘split’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:17, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:27, inlined from ‘addParameter’ at ../../../../JUCE/modules/juce_core/network/juce_URL.cpp:310:24, inlined from ‘withParameters’ at ../../../../JUCE/modules/juce_core/network/juce_URL.cpp:865:24: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In member function ‘withParameters’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:17, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:27, inlined from ‘addParameter’ at ../../../../JUCE/modules/juce_core/network/juce_URL.cpp:311:25, inlined from ‘withParameters’ at ../../../../JUCE/modules/juce_core/network/juce_URL.cpp:865:24: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In member function ‘withParameters’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:17, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:27, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_Identifier.cpp:27:37, inlined from ‘parseFunctionParamsAndBody’ at ../../../../JUCE/modules/juce_core/javascript/juce_Javascript.cpp:1090:35: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In member function ‘parseFunctionParamsAndBody’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘memcpy’, inlined from ‘__ct ’ at ../../../../JUCE/modules/juce_audio_basics/utilities/juce_IIRFilter.cpp:35:12, inlined from ‘getCoefficients’ at ../../../../../HISE/hi_tools/../hi_dsp_library/../hi_tools/../JUCE/modules/juce_audio_basics/utilities/juce_IIRFilter.h:180:66, inlined from ‘setCoefficients’ at ../../../../../HISE/hi_tools/hi_standalone_components/eq_plot/FilterGraph.cpp:457:55: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:33: warning: ‘__builtin_memcpy’ reading 20 bytes from a region of size 0 [-Wstringop-overread] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^ In function ‘release’, inlined from ‘makeUniqueWithByteSize’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:194:17, inlined from ‘preallocateBytes’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:293:107, inlined from ‘printBufferSlice’ at ../../../../../HISE/hi_scripting/scripting/scriptnode/api/TestClasses.cpp:712:20, inlined from ‘toString’ at ../../../../../HISE/hi_scripting/scripting/scriptnode/api/TestClasses.cpp:616:25: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In member function ‘toString’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:17, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:27, inlined from ‘addIfNotAlreadyThere’ at ../../../../JUCE/modules/juce_core/text/juce_StringArray.cpp:155:9, inlined from ‘addIfNotAlreadyThere’ at ../../../../JUCE/modules/juce_core/text/juce_StringArray.cpp:150:0, inlined from ‘getGroups’ at ../../../../../HISE/hi_dsp_library/node_api/helpers/ParameterData.cpp:1037:28: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In member function ‘getGroups’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:17, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:27, inlined from ‘createInsertSpaceInternal’ at ../../../../JUCE/modules/juce_core/containers/juce_ArrayBase.h:484:30, inlined from ‘createInsertSpace’ at ../../../../JUCE/modules/juce_core/containers/juce_ArrayBase.h:461:35, inlined from ‘insert’ at ../../../../JUCE/modules/juce_core/containers/juce_ArrayBase.h:336:41, inlined from ‘insert’ at ../../../../JUCE/modules/juce_core/containers/juce_Array.h:465:23, inlined from ‘insert’ at ../../../../JUCE/modules/juce_core/text/juce_StringArray.cpp:147:20, inlined from ‘getLines’ at ../../../../../HISE/hi_scripting/scripting/api/ScriptingGraphics.cpp:73:18: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In member function ‘getLines’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:0, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:0, inlined from ‘getMidiNoteName’ at ../../../../JUCE/modules/juce_audio_basics/midi/juce_MidiMessage.cpp:1032:5, inlined from ‘fillPopupMenu’ at ../../../../../HISE/hi_core/hi_sampler/sampler/components/ComplexGroupManagerSubTypes.cpp:437:52: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In member function ‘fillPopupMenu’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:0, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:0, inlined from ‘fillPopupMenu’ at ../../../../../HISE/hi_core/hi_sampler/sampler/components/ComplexGroupManagerSubTypes.cpp:437:52: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In member function ‘fillPopupMenu’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:17, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:27, inlined from ‘createInsertSpaceInternal’ at ../../../../JUCE/modules/juce_core/containers/juce_ArrayBase.h:484:30, inlined from ‘createInsertSpace’ at ../../../../JUCE/modules/juce_core/containers/juce_ArrayBase.h:461:35, inlined from ‘insert’ at ../../../../JUCE/modules/juce_core/containers/juce_ArrayBase.h:336:41, inlined from ‘insert’ at ../../../../JUCE/modules/juce_core/containers/juce_Array.h:465:23, inlined from ‘insert’ at ../../../../JUCE/modules/juce_core/text/juce_StringArray.cpp:147:20, inlined from ‘fillCustomList’ at ../../../../../HISE/hi_core/hi_sampler/sampler/components/FileNamePartComponent.cpp:369:24, inlined from ‘labelTextChanged’ at ../../../../../HISE/hi_core/hi_sampler/sampler/components/FileNamePartComponent.cpp:300:18: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In member function ‘labelTextChanged’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:0, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:0, inlined from ‘operator()’ at ../../../../../HISE/hi_core/hi_core/MacroControlledComponents.cpp:166:63: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In member function ‘operator()’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:17, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:27, inlined from ‘createInsertSpaceInternal’ at ../../../../JUCE/modules/juce_core/containers/juce_ArrayBase.h:484:30, inlined from ‘createInsertSpace’ at ../../../../JUCE/modules/juce_core/containers/juce_ArrayBase.h:461:35, inlined from ‘insert’ at ../../../../JUCE/modules/juce_core/containers/juce_ArrayBase.h:336:41, inlined from ‘insert’ at ../../../../JUCE/modules/juce_core/containers/juce_Array.h:465:23, inlined from ‘insert’ at ../../../../JUCE/modules/juce_core/text/juce_StringArray.cpp:147:20, inlined from ‘setItemEntry’ at ../../../../../HISE/hi_core/hi_modules/modulators/editors/GlobalModulatorEditor.cpp:202:20: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In member function ‘setItemEntry’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:0, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:0, inlined from ‘setColourForSingleKey’ at ../../../../../HISE/hi_core/hi_core/UtilityClasses.cpp:592:19, inlined from ‘setKeyboardCoulour’ at ../../../../../HISE/hi_core/hi_core/MainController.cpp:1046:37, inlined from ‘operator()’ at ../../../../../HISE/hi_core/hi_core/MainController.cpp:442:26: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In member function ‘operator()’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:0, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:0, inlined from ‘setAllocatedSizeInternal’ at ../../../../../HISE/hi_backend/../hi_core/../JUCE/modules/juce_core/containers/juce_ArrayBase.h:447:0, inlined from ‘setAllocatedSize’ at ../../../../../HISE/hi_backend/../hi_core/../JUCE/modules/juce_core/containers/juce_ArrayBase.h:217:0, inlined from ‘ensureAllocatedSize’ at ../../../../../HISE/hi_backend/../hi_core/../JUCE/modules/juce_core/containers/juce_ArrayBase.h:233:30, inlined from ‘addImpl’ at ../../../../../HISE/hi_backend/../hi_core/../JUCE/modules/juce_core/containers/juce_ArrayBase.h:566:29, inlined from ‘add’ at ../../../../../HISE/hi_core/../JUCE/modules/juce_core/containers/juce_ArrayBase.h:268:17, inlined from ‘add’ at ../../../../../HISE/hi_core/../JUCE/modules/juce_core/containers/juce_Array.h:431:20, inlined from ‘buildInternal’ at ../../../../../HISE/hi_core/hi_core/UserPresetHandler.cpp:60:19: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In member function ‘buildInternal’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | In function ‘release’, inlined from ‘release’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:169:0, inlined from ‘__dt_base ’ at ../../../../JUCE/modules/juce_core/text/juce_String.cpp:247:0, inlined from ‘buildInternal’ at ../../../../../HISE/hi_core/hi_core/UserPresetHandler.cpp:60:20: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In member function ‘buildInternal’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; | /tmp/ccOdsP1e.ltrans12.ltrans.o:<artificial>:function hise::DspNetworkCompileExporter::run(): error: undefined reference to 'generateAuxFilesFromFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, char const**, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)' /tmp/ccOdsP1e.ltrans81.ltrans.o:<artificial>:function scriptnode::faust::faust_jit_wrapper<256>::~faust_jit_wrapper() [clone .lto_priv.0]: error: undefined reference to 'deleteDSPFactory(llvm_dsp_factory*)' /tmp/ccOdsP1e.ltrans81.ltrans.o:<artificial>:function scriptnode::faust::faust_jit_wrapper<256>::~faust_jit_wrapper(): error: undefined reference to 'deleteDSPFactory(llvm_dsp_factory*)' /tmp/ccOdsP1e.ltrans81.ltrans.o:<artificial>:function scriptnode::faust::faust_jit_wrapper<1>::~faust_jit_wrapper() [clone .lto_priv.0]: error: undefined reference to 'deleteDSPFactory(llvm_dsp_factory*)' /tmp/ccOdsP1e.ltrans81.ltrans.o:<artificial>:function scriptnode::faust::faust_jit_wrapper<1>::~faust_jit_wrapper(): error: undefined reference to 'deleteDSPFactory(llvm_dsp_factory*)' /tmp/ccOdsP1e.ltrans85.ltrans.o:<artificial>:function scriptnode::faust::faust_jit_node<1>::setupFaust(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&): error: undefined reference to 'createDSPFactoryFromString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, char const**, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int)' /tmp/ccOdsP1e.ltrans85.ltrans.o:<artificial>:function scriptnode::faust::faust_jit_node<256>::setupFaust(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&): error: undefined reference to 'createDSPFactoryFromString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, char const**, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int)' collect2: error: ld returned 1 exit status make: *** [Makefile:257: build/HISE Standalone] Error 1PS: Because I didn’t know any better, I also tried the mold linker by changing the corresponding linker flag to
-fuse-ld=mold, but it’s the same there, but no more warning messages then -
@toxonic If you have mold installed you can alias it to gold and then HISE will link with mold instead. I demonstrated this in the bootcamp but basically you just add
alias gold='mold'to your .bashrc file then runsource ~/.bashrcI get a lot of linker warnings.
In Projucer do you see this?


And what's the output of
whereis faust?This is what I get
whereis faust faust: /usr/bin/faust /usr/lib/faust /usr/include/faust /usr/share/faust /usr/share/man/man1/faust.1.gzBy the way i just installed from my distro's repo, I didn't compile it from source.
-
@David-Healey Hey and thanks for the tip regarding the linker… I’ll take a look at that when I get a chance. For now, I can handle it by changing the linker flag within the
.jucerfile. When I runwhereis faust, it only shows the path to the Faust binary...this is the output:toxonic@toxonic-Vector-GP66-12UGS:~$ whereis faust faust: /usr/local/bin/faustMaybe I should install Faust via the package manager as well, but the version there is really quite old (2.37.3).
As far as I remember, the path to the Faust installation specified in the HISE settings should contain the/lib,/share, and/includedirectories. On my system, this is the case for/usr/local, and that’s the path I also used in earlier HISE builds. -
@toxonic said in Compiling HISE with Faust issue (Linux):
the version there is really quite old
Which distro are you using? I'm on Debian Testing and I have v2.81
-
@David-Healey
I'm on Linux Mint Virginia 21.3
Ahh, and by the way, the JUCE settings match with those you posted. -
@toxonic said in Compiling HISE with Faust issue (Linux):
I'm on Linux Mint Virginia 21.3
Maybe there is a ppa for faust that you can use.
-
@David-Healey Hmm, I’m not sure where I’d find a suitable PPA that’s guaranteed to work on my system. A quick Google search didn’t turn up anything useful. What also confuses me a bit is the fact that this always worked with the Faust source builds in older HISE builds. If only I knew what the linker error message
cannot find -lfaustactually means.... -
@toxonic -lfaust is the faust library. You can use find to check where it is on your system
find /usr -name "libfaust*" -
@David-Healey
Yes, I’ve already searched for libfaust and libfaust.so and found several matches (see below). By the way, the master branch of HISE - back when there was no dedicatedReleaseWithFaustbuild configuration yet - can be compiled with Faust without any issues.
/usr/local/lib/libfaustmachine.so /usr/local/lib/libfaust.so.2 /usr/local/lib/libfaustmachine.so.1.0.0 /usr/local/lib/libfaust.so /usr/local/lib/libfaust.a /usr/local/lib/libfaustmachine.so.0 /usr/local/lib/libfaust.so.2.83.5 /usr/local/lib/libfaustmachine.a /usr/local/lib/libfaustwithllvm.a /usr/local/lib/libfaust.so.2.50.6 /usr/local/lib/libfaust.so.2.54.9 /usr/local/share/faust/webaudio/libfaust-glue.js /usr/local/share/faust/webaudio/libfaust-worklet-glue.js /usr/local/share/faust/webaudio/libfaust-wasm.js /usr/local/share/faust/webaudio/libfaust-glue.wasm /usr/local/share/faust/webaudio/libfaust-wasm.data /usr/local/share/faust/webaudio/libfaust-wasm.wasm /usr/local/include/faust/dsp/libfaust-box-c.h /usr/local/include/faust/dsp/libfaust.h /usr/local/include/faust/dsp/libfaust-c.h /usr/local/include/faust/dsp/libfaust-box.h /usr/local/include/faust/dsp/libfaust-signal-c.h /usr/local/include/faust/dsp/libfaust-signal.h -
@toxonic said in Compiling HISE with Faust issue (Linux):
By the way, the master branch of HISE - back when there was no dedicated ReleaseWithFaust build configuration yet
What do you have to do in Projucer to do that?