Problem with EXPORTING - BUILD FAIL
-
Hi,
I'm totally new to HISE so apologies if the question might be a bit basic, but I'm having problems with exporting as a standalone app on mac OS.
I've already compiled HISE as a standalone via Projucer and xCode and all seem to run smoothly. I wanted to test exporting just to see if I will be able to test out any projects that I'll be working on and I ran into an export problem.
here were the steps
- connected HISE to the HISE path via preferences (as I understand it needs to be connected to the main HISE dev folder)
- click on export as standalone and chose standalone for Mac and batch compiler throws me this
** BUILD FAILED ** The following build commands failed: CompileC /Users/fergsfergs/Desktop/dev_projects/plugins/test_project/Binaries/Builds/MacOSX/build/test_project.build/Release/test_project\ -\ App.build/Objects-normal/x86_64/include_hi_streaming.o /Users/fergsfergs/Desktop/dev_projects/plugins/test_project/Binaries/JuceLibraryCode/include_hi_streaming.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'test_project - App' from project 'test_project') (1 failure)
Looking at the code I seem to be getting these issues;
❌ /Users/fergsfergs/Desktop/dev_projects/HISE/hi_streaming/hi_streaming.h:74:10: 'ipp.h' file not found #include "ipp.h" ^~~~~~~ ▸ Compiling include_hi_snex_62.cpp ❌ /Users/fergsfergs/Desktop/dev_projects/HISE/hi_snex/../hi_dsp_library/../hi_tools/../hi_streaming/hi_streaming.h:74:10: 'ipp.h' file not found #include "ipp.h" ^~~~~~~ ▸ Compiling include_hi_snex.mm ❌ /Users/fergsfergs/Desktop/dev_projects/HISE/hi_snex/../hi_dsp_library/../hi_tools/../hi_streaming/hi_streaming.h:74:10: 'ipp.h' file not found #include "ipp.h" ^~~~~~~
I assume ipp.h is Integrated Performance Primitives which I did not install as gitHub stated did not mention this and I'm running stuff on an M1. I also made sure that IPP was disabled in projucer before compiling it in xCode.
Any ideas what might be the problem here. I have also tried @d-healey automated script but ran into similar problems. But that might need a topic on its own.
as stated before, really new to this but eager to learn and I hope somebody can help. I'll upload any stuff that might help figuring out the problem.
-
@fellowfinch You need to disable IPP in your project's preferences.
-
thank you! this fixed the issue quite well and I'm able to find the "app" in binary and I can run it through terminal. I assume that once I get to the finishing stages of any project I can do it via the automated script you wrote? I wasn't able to create an installer but was able to throw out a standalone app. I'll keep lurking on this forum as I learn HISE through it :) thank you!
-
@fellowfinch said in Problem with EXPORTING - BUILD FAIL:
I can do it via the automated script you wrote?
Probably, it depends on the script, I've put a few out there, and what you want to do. But before using any scripts you should learn to do it manually so that you understand what the script does and can solve problems that arise when using it.
-
@d-healey said in Problem with EXPORTING - BUILD FAIL:
But before using any scripts you should learn to do it manually so that you understand what the script does and can solve problems that arise when using it.
Definitely will do that. Just a quick question; is there a guide to the process of finishing (compiling, packaging, and licensing) a plugin all though Mac? Even with just bullet points? Just so I know what exactly to look into when doing research.