@d-healey ya, I also forgot to post the most recent error, but think I'm back to where I was at with it yesterday
-- text from readme is below
Before you build HISE, you must remove the architecture target that doesn't match your machine, otherwise the link process with the Faust library will fail. If this is the case, you will see error message like this:
Warning: Ignoring file ../../../../tools/faust/lib/libfaust.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64
Undefined symbol: generateSHA1(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
Undefined symbol: deleteDSPFactory(llvm_dsp_factory*)
Undefined symbol: expandDSPFromFile(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, char const**, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&)
Undefined symbol: getAllDSPFactories()
Undefined symbol: expandDSPFromString(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, char const**, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&)
Undefined symbol: getDSPMachineTarget()
If that happens, you need to open the Projucer project of HISE (either standalone or plugin), then go to the Exporters -> XCode (macOS) tab on the left. Scroll down to the Valid Architectures item list and untick the architecture that doesn't match your system. So if you're running on a Apple Silicon CPU, untick x86_x64
and if you're on a Intel machine, untick arm64
and arm64e
.
Build HISE with the Faust scheme
Then click on Save and Open in IDE to open the HISE Standalone project in XCode. Change the scheme via XCode Menu -> Product -> Scheme -> Edit Scheme -> Build Configuration to either Debug with Faust or Release with Faust.
You don't need to change any flags as the two configurations will contain all required build settings.
If the compilation went through, you should see a text label in the HISE top bar indicating that Faust is enabled.
When the build succeeded you need to go into the HISE Settings and set the FaustPath
folder to the root folder of your faust installation (HISE_ROOT/tools/faust/
), otherwise it won't find the libraries and any Faust compilation will fail.