Build failed CompileC
-
@d-healey that doesn't work either
-
@treynterrio Have you cleaned the build folder? Are you able to compile a new empty test project?
-
@d-healey that's what I tried first I've cleaned build folder and tried to compile a test project
-
@d-healey @treynterrio Was there any resolution to this? I'm getting the same CompileC error when trying to export my effect. Latest branch of Hise from GitHub, cleaned build directory, but this.
All since updated to sequoia and Xcode 16.Thanks
Chris
-
@d-healey @treynterrio built a new effect with just stock filter, simple gain and some knobs and exported fine. Suspect it’s my old nemesis scriptnode/dsp networks again.
-
@bfaudio I got the error because I tried to export a project (I created on my M3 Mac) on my Intel Mac
-
@treynterrio ahhh ok. This is trying to export on the same m1 I built it on, just having updated os and Xcode.
I’ll keep digging.
Thanks -
@bfaudio said in Build failed CompileC:
@treynterrio ahhh ok. This is trying to export on the same m1 I built it on, just having updated os and Xcode.
I’ll keep digging.
Thanksyou rebuilt HISE when you did this OS and XCode upgrade right?
-
@Lindon I did. Latest branch.
I remember I had a similar issue when exporting a plugin I built on my Mac, on my pc, and it was the scriptnode networks causing an issue.
Trying to remember what i did then and seeing if that will work.
I need to document better. -
@bfaudio said in Build failed CompileC:
it was the scriptnode networks causing an issue
You need to rebuild the network dll on each system.
-
@d-healey Yeah for the Mac/pc that was the case but now I've just going through testing component by component. It's letting me export a new plugin I build with each of the hardcoded fx in it (was going through trying each one to see if ones of those is causing it) but then those are instantly causing daw to crash when I try and load it.
So it seems DSP networks aren't causing the CompileC errors (just crashing anyway).
Noticed that initially I was getting the error, and it was stating a location inside the dspnetworks/binaries/builds folders, tried deleting those to see what happened and the error repeated, but changed location to the project binaries/builds folders.
More digging.Edit: The reason I went for the DSP networks as the initial lead was because im getting the same error when I try and recompile the networks as DSP.
-
@bfaudio are you trying this on a mac? have you got your project on a fixed(non removable ) drive?
-
@Lindon on an m1 Mac mini, project is on an external ssd.
-
@bfaudio said in Build failed CompileC:
@Lindon on an m1 Mac mini, project is on an external ssd.
try putting your project on an internal drive...
-
@Lindon Nope. Same error.
Might have to bite the bullet and rebuild it from scratch. Can copy the interface script and dsp network dll’s over and see what happens. -
@Lindon @d-healey just to share the actual error, this is what I get every time I try and export anything I created before updated to sequoia (in this case I tried to reexport and released plugin to see what happened):
CompileC /Volumes/Projects/Dev/Hise/Breakshaper/Binaries/Builds/MacOSX/build/Breakshaper.build/Release/Breakshaper\ -\ Shared\ Code.build/Objects-normal/x86_64/factory.o /Volumes/Projects/Dev/Hise/Breakshaper/AdditionalSourceCode/nodes/factory.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'Breakshaper - Shared Code' from project 'Breakshaper')
The location changes dependant on project but the same:
"Code.build/Objects-normal/x86_64/factory.o" and
"AdditionalSourceCode/nodes/factory.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compile" -
@bfaudio Are you on Apple Silicon? Have you compiled your networks already?
-
@d-healey yes and yes
-
@bfaudio Have you cleaned the build folder before compiling? Is the architecture set correctly? I see x86 mentioned in the error, check that you are building a universal binary.
-
@d-healey thanks for replying again.
yes to all.
This error only seems to be occurring when I’m trying to export projects I created before the update.
Creating new fx with stock HISE/scripnode/scriptnode w/ Faust all exporting fine.