Can't Compile DSP mac M1
-
I have been working on scriptnode recently. When I go to compile my DSP to Dll, I keep getting this same error and I can't figure out why:
The following build commands failed: /Desktop/Testing/DspNetworks/Binaries/Builds/MacOSX/build/Testing.build/Release/Testing\ -\ Dynamic\ Library.build/Objects-normal/arm64/Main.o /Users/kameronclark/Desktop/Testing/DspNetworks/Binaries/Source/Main.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'Testing - Dynamic Library' from project 'Testing')
I am using a Mac M1. I recently updated the Mac and my Xcode. I am using the latest develop branch. For context, I was getting this same issue before I update the Mac as well.
Has anyone come across this or know why my DSP isn't compiling ?
-
-
@Lindon Version 16.2
-
-
@Lindon said in Can't Compile DSP mac M1:
https://forum.hise.audio/topic/11825/commit-ca06fcb-fail-to-export-plugin-on-mac/2
As Lindon mentions here, you may need to update HISE (there was some recent updates in the last few days).
You might also try building a new project with a simple scriptnode network and see if that compiles:
https://forum.hise.audio/topic/9030/now-this-fatal-error-sorry-this-include-generates-a-translation-unit-too-large-for-clang-to-process/13?_=1738156056383 -
@HISEnberg @Lindon Thank you guys for the help! I just re-built the latest HISE on a different Mac which is M2 and is running an older version of MacOS and it is running Xcode 15.3. The compile worked on there. So, I am assuming is must've been an issue with Xcode version 16.2
-
@kameron said in Can't Compile DSP mac M1:
@HISEnberg @Lindon Thank you guys for the help! I just re-built the latest HISE on a different Mac which is M2 and is running an older version of MacOS and it is running Xcode 15.3. The compile worked on there. So, I am assuming is must've been an issue with Xcode version 16.2
No there were no issue with Xcode 16.2, it was a mistake by Christoph but he has fixed it now
https://forum.hise.audio/topic/11825/commit-ca06fcb-fail-to-export-plugin-on-mac/2