Can't Compile - Acts like I have xcode for Intel x86 when I have M1 Max processor?
So I'm trying to compile Whisper (speech-to-text AI) on my Macbook and someone has built it in C++ to work with Apple Silicon. This is a relatively new Macbook Pro 16" with M1 Max.
When i run "make large" I get this error:
"
xcrun: error: unable to load libxcrun (dlopen(/Library/Developer/CommandLineTools/usr/lib/libxcrun.dylib, 0x0005): tried: '/Library/Developer/CommandLineTools/usr/lib/libxcrun.dylib' (mach-o file, but is an incompatible architecture (have (x86_64), need (arm64e))))
"
This makes it sound like it's telling me I need the Apple silicon version of something that I have the intel version of, but seeing as I don't have an intel processor, I can't understand why I wouldn't have the correct version. I just updated the OS and xcode and just all the general software updates hoping it would fix it to no avail.
I'm at a loss and I'm not one to frequently be compiling a bunch of software, so any help is greatly appreciated.
(working off of this guide if curious: https://www.daginge.com/blog/running-whisper-on-an-m1-mac-to-transcribe-audio-data-locally)
MacBook Pro (M1, 2020)