runtime icon indicating copy to clipboard operation
runtime copied to clipboard

Building on OS X fails

Open jonmill opened this issue 10 years ago • 8 comments

Steps to reproduce

  1. Have an OS X box without XCode
  2. Install dependencies via homebrew
  3. Run build.sh

Expected behavior

Success!

Actual behavior

Scanning dependencies of target dotnet [ 2%] Building CXX object cli/CMakeFiles/dotnet.dir/fxr/fx_ver.cpp.o /Users/jon/Repositories/personal/dotnet/core-setup/src/corehost/cli/fxr/fx_ver.cpp:4:10: fatal error: 'cassert' file not found

include

     ^

1 error generated.

jonmill avatar May 26 '16 18:05 jonmill

Why is this failing, there was no change in the codebase from CLI repo?

Cc @brthor

schellap avatar May 26 '16 18:05 schellap

For the record, this was failing in the CLI repo too...I just always forgot to open an issue :(

jonmill avatar May 26 '16 18:05 jonmill

@sokket has been talking about this for some time @schellap I don't think this is related to the move

brthor avatar May 26 '16 18:05 brthor

Yeah I remembered post commenting, that he showed this to me during the build fork meeting. Anyway, the timing of this confused me a bit... I'll look into this. AFAIK, I did not install XCode on my El-Capitan and was able to build before that.

schellap avatar May 26 '16 18:05 schellap

Xcode brings in the native tools (clang, etc) that are required to build or you need to have command line tools for Xcode installed. How else are you proposing to get the toolset?

gkhanna79 avatar Feb 04 '17 16:02 gkhanna79

See https://github.com/dotnet/coreclr/blob/master/Documentation/building/osx-instructions.md - it is applicable for all .NET Core repos that build for OSX.

gkhanna79 avatar Feb 04 '17 16:02 gkhanna79

@sokket Does the above help answer your question?

gkhanna79 avatar Feb 14 '17 18:02 gkhanna79

Yeah, we can close this issue now. Thanks!

jonmill avatar Feb 14 '17 18:02 jonmill