Following this thread
http://en.sfml-dev.org/forums/index.php?topic=9083.msg61236#msg61236and after adding the following code to SFContext.mm to the function SFContext::createContext
// Add support for OpenGL 3.2 on Mac OS X Lion and later
if (settings.majorVersion > 3 || (settings.majorVersion == 3 && settings.minorVersion >= 2)) {
attrs.push_back(NSOpenGLPFAOpenGLProfile);
attrs.push_back(NSOpenGLProfileVersion3_2Core);
} else {
attrs.push_back(NSOpenGLPFAOpenGLProfile);
attrs.push_back(NSOpenGLProfileVersionLegacy);
}
It gives the following error upon attempting to create a opengl 3.2 context
2012-11-09 15:42:08.715 sfml-test-d[8498:5503] invalid share context
2012-11-09 15:42:08.717 sfml-test-d[8498:5503] invalid context
Error. Unable to create the context.
Failed to activate the window's context
Failed to activate the window's context
......
My mac does support opengl 3.2 core profile.