You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Great work on porting to Apple. I'm trying to run on an M1 processor and can build successfully, but running fails with an assertion failure in CreateWindowPane():
#if defined(__APPLE__)
Class GLUTViewClass = objc_getClass("GLUTView");
SEL scrollWheelSel = sel_registerName("scrollWheel:");
bool resultAddMethod = class_addMethod(GLUTViewClass, scrollWheelSel, (IMP)scrollWheelUpdate, "v@:@");
assert(resultAddMethod);
#endif
If I comment out this section of code I can get the PGE to run (requires XQuartz and freeglut to be installed as CMake fails to find GLUT - not sure if that is a Silicon thing or a Monterey thing).
Any ideas on how to fix this?
The text was updated successfully, but these errors were encountered:
Great work on porting to Apple. I'm trying to run on an M1 processor and can build successfully, but running fails with an assertion failure in
CreateWindowPane()
:If I comment out this section of code I can get the PGE to run (requires XQuartz and freeglut to be installed as CMake fails to find GLUT - not sure if that is a Silicon thing or a Monterey thing).
Any ideas on how to fix this?
The text was updated successfully, but these errors were encountered: