Build failed CompileC
-
@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. -
@bfaudio said in Build failed CompileC:
This error only seems to be occurring when I’m trying to export projects I created before the update.
Did you recompile the networks after the update?
-
@d-healey it won’t let me. I get the same error trying to compile the networks as if I try to export the fx, the folder location in the error just changes from the project binaries folder to the dsp network binaries folder.
-
@bfaudio Have you deleted all the old files (not the networks) including the files that are added in the additional source code folder?
-
@d-healey Yep. Doesn't make a difference.
Even on a brand new project, new script fx, tried to export to dll just that one new network and same error.
Can export a new project that uses pre-exported dll's, just can't export any existing project started before sequoia or compile any networks of any kind regardless of when they were created. -
@bfaudio said in Build failed CompileC:
can't export any existing project started before sequoia
Do all these projects use scriptnode effects?
-
@d-healey they do.
-
@bfaudio Can you send me one of these projects that won't compile?
-
@bfaudio said in Build failed CompileC:
@d-healey Yep. Doesn't make a difference.
Even on a brand new project, new script fx, tried to export to dll just that one new network and same error.
Can export a new project that uses pre-exported dll's, just can't export any existing project started before sequoia or compile any networks of any kind regardless of when they were created.did you try cleaning out the additional code Folder..