Export Error - MacOS
-
using the newest develop build (8/5/23) and the master build from october of last year i started receiving this error out of nowhere when exporting any file type (compiling went fine):
/Users/A/Desktop/HISE-develop (8) may823/HISE-develop/hi_components/../hi_dsp/modules/EffectProcessor.h:665:13: unused variable 'samplesToCheck' [-Wunused-variable] const int samplesToCheck = numSamples; ^ ā clang: error: unable to execute command: Segmentation fault: 11 ā clang: error: clang frontend command failed due to signal (use -v to see invocation) ** BUILD FAILED **
Any clues guys?
-
@Adam_G Are you using xcode 13.1?
-
@d-healey 12.4 but ive been able to compile without issues for a long time, this kinda came out of nowhere
-
@Adam_G Could be that there is a bug in the latest develop branch, but that wouldn't explain it not working with master.
-
@d-healey right i definitely think its an isolated issue and i know ive had clang errors before but i cant recall how i resolved them
-
i wish i had any idea what it meant. i just keep thinking of the brain monster from ninja turtles..
-
@Adam_G Clang is the linker. I've seen similar errors in the past. Usually related to the xcode version. Try updating xcode.
-
@d-healey unfortunately upgrading xcode didnt work. same error. any other ideas?
-
@Adam_G no specific idea but did you perhaps try to Google the error? You're almost sure to find a post (often on stackoverflow) of someone having the same issue.
I'm on a commit from last week and it's compiling fine, it's probably not related to HISE itself. -
@Matt_SF i did and it also said it was probably related to xcode on stack overflow. which version are you using by chance? i have 13.1 atm. also are you using develop or master branch of hise?
-
@Adam_G always develop and Xcode 14.3.
I've seen some other issues (HISE in a shared folder, problems when using macos virtualization...) -
@Adam_G said in Export Error - MacOS:
i have 13.1 atm.
Remember my first reply when I asked if you were using 13.1. That's because that version definitely has a bug. :)
-
-
@Matt_SF @d-healey holy cow, ive done a ton of troubleshooting with this one and im stumped. I found that the Clang error im getting with the xcode 12 setup is related to the project somehow, though i havent figured out how. im able to export the music box tutorial in multiple different hise versions on that setup but my project fails in those same hise builds.
as for mac ventura and xcode 14.3 ive spent 12+ hours trying various solutions im finding on stack overflow etc, command line tools installs over and over, but every single project i try to export (in multiple hise versions including the newest) fails with this
Compiling Instrument plugin MusicBox Tutorial ... 2023-05-12 01:45:59.829 xcodebuild[4062:192743] Writing error result bundle to /var/folders/6k/2qdjzsxn5zvb861gbj6npw_r0000gn/T/ResultBundle_2023-12-05_01-45-0059.xcresult 2023-05-12 01:46:00.283 xcodebuild[4062:192743] Requested but did not find extension point with identifier Xcode.IDEFoundation.IDEResultKitSerializationConverter xcodebuild: error: You cannot specify -jobs with less than 1 job.
has any of the brilliant minds on this forum seen this before? i cant find a solution anywhere. it is a VMWare Mac OS Ventura install on a Windoze 10 machine.
-
xcodebuild: error: You cannot specify -jobs with less than 1 job.
this error message looks like you've tried to assign 0 CPU cores to the compilation, which might be caused by running Xcode in a VM where the CPU core count detection failed.
-
@Christoph-Hart thank you! youre probably right. let me check that.