MacOS: build-runtime fails #116
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When running the install instructions, came across this error, with a not very helpful error message!
Any idea what to do here? Here's some more details:
Ah just noticed the note about clang, but the instructions for resolving that don't work:
Looks like installing llvm via homebrew is the way to install clang? Trying that now..
Hm, you should be able to build the runtime itself using Apple's clang. It seems like maybe you are missing the full set of Xcode command-line tools or I am just looking in the wrong place for them.
Can you confirm if you have
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
on your computer?Indeed it's not there:
I use Xcode for my job as a mobile developer so I should have everything.
Ah I see the directory you are looking for is here:
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/lib
Made this change:
Hmm, I wonder if it's labelled like this since I recently updated MacOS to 13.5.2, but command line tools are from a prior version? Maybe I need to manually update those..
And it completed with some warnings:
Looks like it's working!
Gotcha, thanks for looking into that. I guess I'll have to investigate how Apple installs the macOS SDKs and beef up the script. Sorry for the trouble!
@bvisness Ah yep, after running
xcode-select --install
, now my /Library/Developer/CommandLineTools/SDKs folder looks like this:And running
./orca dev build-runtime
builds with no problem!Just tried out the examples - this is awesome - Thanks!
@bvisness Maybe we could just check the existence of the SDK folder in the build script and suggest people use
xcode-select --install
if they're not there?The warnings should be fixed now (as part of #135)
Yes, I think that would be reasonably easy and would hopefully work well.