Open Stannislav opened 4 years ago
i've got the same error as well
2020-08-08 16:21:04.832475+0530 GameEngine[93886:3588776] Metal API Validation Enabled 2020-08-08 16:21:04.918261+0530 GameEngine[93886:3589412] flock failed to lock maps file: errno = 35 2020-08-08 16:21:04.919917+0530 GameEngine[93886:3589412] flock failed to lock maps file: errno = 35 2020-08-08 16:21:04.998693+0530 GameEngine[93886:3588776] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x1006b9b10> F8BB1C28-BAE8-11D6-9C31-00039315CD46 Please download the necessary bmp file too! libc++abi.dylib: terminating with uncaught exception of type int (lldb)
Following the first video in the 3D Graphics series (https://www.youtube.com/watch?v=ih20l3pJoeU) and being on Mac I'm using
olcConsoleGameEngineSDL.h
rather thanolcConsoleGameEngine.h
. The minimal code for the instantiation of the game engineleads to the following crash:
Debugging shows that an exception is raised in
olcConsoleGameEngineSDL.h
in the line containingwhile (SDL_PollEvent(&e))
. Similar issues elsewhere (https://github.com/littlevgl/pc_simulator_sdl_eclipse/issues/12) suggest that SDL might need special treatment under MacOS.