Memory access violation with fullscreen on Mac

Monkey Targets Forums/Desktop/Memory access violation with fullscreen on Mac

Gianmichele(Posted 2014) [#1]
When setting #GLFW_WINDOW_FULLSCREEN=True, I'm getting this error:

** BUILD SUCCEEDED **

Monkey Runtime Error : Memory access violation

TRANS FAILED: Error executing './MonkeyGame', return code=65280

I'm on OsX Mavericks. Any idea why?

Thanks,
Gianmichele


rIKmAN(Posted 2014) [#2]
Have you deleted the build folder?


Sledge(Posted 2014) [#3]
Same here (was going to start a thread but the forum search is a bit rubbish for determining if one already exists -- search for "Retina" from the desktop thread and you get a swathe of results from the iOS section! ), Mavericks also. Nut'n to do with the build folder unfortunately.


Gianmichele(Posted 2014) [#4]
Confirming this. Nothing to do with the build folder.

Mark? Any idea how we can track this?


dawlane(Posted 2014) [#5]
There are a few functions that appear to be deprecated in OSX 10.9 (according to Xcode they have been since OS X 10.6),
SetFrontProcess
CGDisplayCurrentMode
CGDisplaySwitchToMode
.
And I suspect the CGDisplayBestModeForParametersAndRefreshRateWithProperty in cocoa_window.m needs to be looked at.
For the time being Open Xcode Monkey project file (or template) directly and use Base OS X 10.8 SDK in the build settings to build.

Edit: It's now in Bug Reports.
Edit: It's fixed in 77c experimental.