Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find the highest version first and then use the lower versions #1186

Closed
wants to merge 1 commit into from

Conversation

aashish24
Copy link
Contributor

@chaosphere2112 please try it. Fixes #1183

@chaosphere2112
Copy link
Contributor

😞

CMake Error at /Applications/CMake.app/Contents/share/cmake/Modules/Platform/Darwin.cmake:76 (message):
  CMAKE_OSX_DEPLOYMENT_TARGET is '10.10' but CMAKE_OSX_SYSROOT:

   ""

  is not set to a MacOSX SDK with a recognized version.  Either set
  CMAKE_OSX_SYSROOT to a valid SDK or set CMAKE_OSX_DEPLOYMENT_TARGET to
  empty.
Call Stack (most recent call first):
  /Applications/CMake.app/Contents/share/cmake/Modules/CMakeSystemSpecificInformation.cmake:36 (include)
  CMakeLists.txt:3 (project)

@aashish24
Copy link
Contributor Author

😢 Okay, I will look some more.. Did you install command line tools when you / after you installed xcode 62

@chaosphere2112
Copy link
Contributor

Yup, pretty sure... only things available in the "Downloads" section are documentation and iOS simulators.

@aashish24
Copy link
Contributor Author

https://developer.apple.com/downloads/index.action# You are talking about download section here right? the command line tools need to be downloaded separately

@chaosphere2112
Copy link
Contributor

chaosphere2112 commented Apr 2, 2015 via email

@doutriaux1
Copy link
Contributor

@aashish24 should we close this? I remember you arguing against this method because you were worried when a new version comes out, it might break the build, whereas using an older SDK should still work.

@aashish24
Copy link
Contributor Author

@doutriaux1 I am waiting for @chaosphere2112 to syncup on this.

@chaosphere2112
Copy link
Contributor

@aashish24 I'm pretty sure I tried this and didn't get anywhere. I'll give it another go this afternoon, and step out a little early to test it on my laptop at home.

@chaosphere2112
Copy link
Contributor

@aashish24 Just updated Xcode to 6.3.1, OSX to 10.10.3, and command line tools to 10.10 (for 6.3.1). Still failing, here's the log.
https://gist.github.com/chaosphere2112/0774a0a7b996fa230c4b

@chaosphere2112
Copy link
Contributor

@aashish24 So, I think I figured out my issue. I had two different versions of cmake on my path, and I think it barfed somewhere on that fact. I removed one from my path, and now it all works!

@chaosphere2112
Copy link
Contributor

Many documents died to bring us this information.

... I accidentally rm -rf'd my personal computer's home directory this morning. I then proceeded to start using an online backup service. 😢

@doutriaux1
Copy link
Contributor

closing #1321 is a better solution

@doutriaux1 doutriaux1 closed this May 13, 2015
@doutriaux1 doutriaux1 deleted the fix_macosx_sdk_version_determination branch May 14, 2015 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build issues on 10.10
3 participants