Release build trans failure but debug works
Monkey Targets Forums/Desktop/Release build trans failure but debug works
| ||
| Just running my game on my Macbook Air (Mountain Lion, XCode 4.5.2, Monkey 0660 and it runs fine in GLFW debug, but when I change to release it fails with this: I think it's this NSPoint code that is failing but I could be totally wrong. Note that I haven't modified the default modules. Any ideas? Thx!
/Users/jake/Desktop/MonkeyPro66/Jake/Titan Attacks/TitanAttacks.build/glfw/xcode/../glfw/lib/cocoa/cocoa_window.m:1131:56: error: passing 'NSPoint' (aka 'struct _NSPoint') to parameter of incompatible type 'CGPoint' (aka 'struct CGPoint')
CGDisplayMoveCursorToPoint( CGMainDisplayID(), globalPoint );
|
| ||
| It is a GLFW bug. I posted about this too and got pointed to a discussion in the net. Can't find my post atm. |
| ||
| Ah, here: http://sourceforge.net/p/glfw/discussion/247562/thread/fe265145 |
| ||
| Thanks! So I just modify that file then? No possible fix in Monkey I guess? I wonder why release mode is doing something different then. |
| ||
| Hiya guys! I just ran into this same problem. Surely this would mean that the files in targets\glfw\glfw\lib\cocoa would need modification in the officially released Monkey Product Updates. I hate Monkey-ing around in these files and would greatly appreciate an official fix if at all possible! |
| ||
| You can copy the _glfwPlatformSetMouseCursorPos function from MonkeyPro67b/targets/glfw/template/glfw/lib/cocoa/cocoa_window.m over the version in MonkeyPro66/targets/glfw/glfw/lib/cocoa/cocoa_window.m and that should get you going. |
| ||
| Um, forget you saw this post, it was an error on my part. |
| ||
| ditto |