Building on Mac OS X

Using GLFW
  • Jarvis McGee

    Jarvis McGee - 2013-06-20


    When I try to build for Mac OS X 10.6.8 after using CMake 2.8-11, I receive the following:

    /Users/jarvis/glfw/src/cocoa_window.m: In function ‘convertRectToBacking’:
    /Users/jarvis/glfw/src/cocoa_window.m:77: warning: no ‘-convertRectToBacking:’ method found
    /Users/jarvis/glfw/src/cocoa_window.m:77: warning: (Messages without a matching method signature
    /Users/jarvis/glfw/src/cocoa_window.m:77: warning: will be assumed to return ‘id’ and accept
    /Users/jarvis/glfw/src/cocoa_window.m:77: warning: ‘...’ as arguments.)
    /Users/jarvis/glfw/src/cocoa_window.m:77: error: incompatible types in return
    /Users/jarvis/glfw/src/cocoa_window.m:80: warning: control reaches end of non-void function
    /Users/jarvis/glfw/src/cocoa_window.m: In function ‘createWindow’:
    /Users/jarvis/glfw/src/cocoa_window.m:829: warning: no ‘-setWantsBestResolutionOpenGLSurface:’ method found
    /Users/jarvis/glfw/src/cocoa_window.m:839: warning: no ‘-setRestorable:’ method found
    make[2]: [src/CMakeFiles/glfw.dir/cocoa_window.m.o] Error 1
    [src/CMakeFiles/glfw.dir/all] Error 2
    make: *** [all] Error 2

    Is this a bug? Or as am I missing something.


  • Camilla Löwy

    Camilla Löwy - 2013-06-20

    This should have been fixed in 3.0.1.

  • Cameron King

    Cameron King - 2013-06-21

    The full output I pasted in the github bug tracker where this bug was moved to was from 3.0.1. (Mac OS X 10.6.8) :-(

    I too thought this was fixed in 3.0.1..

    I hope 3.0.2 arrives soon. 'Luckily', I have other bugs to hunt before I return to attempting to upgrade my GLFW setup.

    Last edit: Cameron King 2013-06-21
  • Camilla Löwy

    Camilla Löwy - 2013-06-21

    Oh, sorry, I was confused. What was fixed in 3.0.1 was building binaries with the 10.7 SDK that would run on 10.6. This is about building binaries with the 10.6 SDK. I'll see about fixing that in 3.0.2.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks