-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
OSX 10.10 (preview) support #691
Comments
BTW, I could try to "by pass" this check on Config.cmake file, but I think that OS X 10.10 is about to be released, and would be great to test it in advance. |
That's a CMake issue and not really something anyone here can change (other than submitting a patch to CMake). |
Yep, as @MarioLiebisch said, this is a Cmake-related issue. We can do nothing about it. Maybe try with a nightly build version of Cmake, they might have already fixed that.. SFML is planned, of course, to support 10.10 but I don't have access to any beta version so I can't help much before it's officially released. But if you spot something, drop us a line on the forum (preferably). |
Why do you guys say that it's a CMake issue? This error is triggered by SFML. And by the way, it shouldn't, because the condition for it is "if minor version is less than 7". |
Isn't the problem just with the regex on line 56 of that file? |
@LaurentGomila, yeah. I think the minor version could be upgraded to, at least, 9 (10.9) which is the OS X current stable. @MarioLiebisch, AFAK, Config.cmake is created/generated/maintained by the SFML developers. Am I wrong? I'm not very familiar with CMake yet, I don't know how their files are generated. I think the issue should be re-opened. |
@texus, I recently tried to "by pass" that condition, but there was still other issues. I can't test that again right now, but would be a start changing the regex or bypassing it to see what happens. |
Oupsi! 😊 You guys are probably right. The regex should be updated indeed! |
NP! I wish I had to time to update the code myself and submit a pull 2014-08-26 9:50 GMT-03:00 Marco Antognini notifications@github.com:
|
Try replacing line 56 of
(Basically, this add a |
Worked like a charm @mantognini. Actually, the changes I made myself last week caused other problems, but must be something I did wrong. IMO, this could be validated by you guys and merged to the master. Thank you. |
Meh, filename confused me. :) |
BTW, while executing "make":
But nothing to do with the Config.cmake. I may open another issue later. Thanks |
Simple and Fast Development Team. :-) I appreaciate your quick response. I'll stop just demanding "quick fixes" and try to contribute more pragmatically to SFML. Keep up the great work! |
@LaurentGomila, yes that's the same line but I'm really confused.. I don't understand what's about this @hiramgeeks can you try to apply the fix mentioned on the Laurent's link and tell me if it change something at all. |
Yeah, I let you know soon. |
Actually, just replacing the line 228 (former 219) doesn't solve the problem:
|
@mantognini couldn't it just return an (id) on init instead of (instancetype)? |
After a bit of Googling, it seems to be a known issue when porting to OS X 10.10. Maybe we can find the clean solution by searching a little more. |
Apparently, it would be enough to replace NSApp with [NSApplication sharedApplication] in this line. |
Let me give it a try |
Yeah, it was enough! Everything compiled now. |
A popular saying here in Brazil: "we killed two rabbits with a single hit". Two issues resolved. |
@LaurentGomila, would it be convenient if I submit a pull request for those issues or you can change that on your side? |
That was an interesting bug that they introduced there. ^^' Anyway, I have other modifications to the same file so I'll apply that one too. The fix won't come until next week or so, though. |
That's great. @hiramgeeks, thanks a lot for your help on this issue. |
@mantognini yeah, developing for iOS, I noticed Apple changing the API more drastically since last year. Noticeable from iOS 7 and OS X 10.9. Really strange bug, but understandable. Mr. Jobs is not there anymore yelling to make things work as before. LOL @LaurentGomila my honor, sir. u r welcome |
@mantognini Have you already pushed the other modification? If so can you link it? |
@eXpl0it3r No, it's not yet implemented. I'll do it either later tonight or on Monday. |
Note: this only fix the compilation process. SFML was not thoroughly tested on this OS yet.
Hey,
I'm trying to compile SFML (master) on a OS X 10.10 (Preview) iMac. CMake interrupts the process with the following message:
I'm not planning to use XCode 6 (Preview), but XCode 5 as already supported. It would be great if you guys enable support for OS X 10.10, since I can use SFML 2.1 (stable) with no problems on it.
The idea here is that I can compile it and help you with bug reports too.
Let me know if you need further info.
Thanks,
Hiram
The text was updated successfully, but these errors were encountered: