I tried numerous times with different codes, even adjusting the source but I'm now stuck at this error:
Source/Core/InputCommon/Src/ControllerInterface/OSX/OSXKeyboard.mm: In constructor 'ciface::OSX::Keyboard::Key::Key(__IOHIDElement*)':
Source/Core/InputCommon/Src/ControllerInterface/OSX/OSXKeyboard.mm:117: error: exception handling disabled, use -fexceptions to enable
scons: *** [Build/Darwin-i386-release/Source/Core/InputCommon
/Src/ControllerInterface/OSX/OSXKeyboard.o] Error 1
scons: building terminated because of errors.
googling this results into nothing, and enabling -fexceptions does nothing.
edit: go to Source/Core/InputCommon/Src/ControllerInterface/OSX/OSXKeyboard.mm and delete everything between { on line 107 and } on line 118
you will probably not have keyboard support, but I heard that didn't work anyway.
Source/Core/InputCommon/Src/ControllerInterface/OSX/OSXKeyboard.mm: In constructor 'ciface::OSX::Keyboard::Key::Key(__IOHIDElement*)':
Source/Core/InputCommon/Src/ControllerInterface/OSX/OSXKeyboard.mm:117: error: exception handling disabled, use -fexceptions to enable
scons: *** [Build/Darwin-i386-release/Source/Core/InputCommon
/Src/ControllerInterface/OSX/OSXKeyboard.o] Error 1
scons: building terminated because of errors.
googling this results into nothing, and enabling -fexceptions does nothing.
edit: go to Source/Core/InputCommon/Src/ControllerInterface/OSX/OSXKeyboard.mm and delete everything between { on line 107 and } on line 118
you will probably not have keyboard support, but I heard that didn't work anyway.