Closed j-rivero closed 7 years ago
Yeah, this gets really confusing. I think the SDKROOT
and MACOSX_DEPLOYMENT_TARGET
environment variables may be helpful with this problem, but I'm not sure what they need to be set to.
I've fixed it doing the following:
My hypothesis is that there was a mixture of libraries compiled using Xcode8 (10.12) and Xcode7 (10.11).
A gazebo (manual) compilation from current default branch fails on my ElCapitan machine with Xcode 8.1 since it can not find
os/availability.h
.The file is present at
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/os/availability.h
but it is not in '/usr/include/os'.