Languages & Coding > Monkey

OSX Mojave/Xcode 10 - GLFW3 Quickfix

(1/2) > >>

MikeHart:
As expected, Cerberus X in its current setup had problems building for OSX Mojave with XCode. So I spend 10 minutes and was able to modify the template and also added a line to let content render right away without the need to move the window. You can get the modified target here:


https://www.cerberus-x.com/community/threads/osx-mojave-quickfix.538/

Derron:
Might you add what changes were needed? Maybe this helps IWasAdam to get his monkey2-fork-thing to do stuff.


bye
Ron

MikeHart:
Monkey 2 uses SDL so I don't think it will apply. But...


#1) I loaded the xcode project, set its target to 10.9 and made the suggested modifications by Xcode doing them automatically.
#2) In the window.c file of the targets glfw/src folder, I added a call to glfwPollEvents at the end of the glfwCreateWindow function.


That is all.



Derron:
That "poll events" thing might be the reason why prior a "move window" was needed ... good job as always.

bye
Ron

MikeHart:
Just tested CX with XCode 10 and the ios12 simulator, works fine here.

Navigation

[0] Message Index

[#] Next page

Go to full version