When calling Java from C++ I’m getting the following error when trying to access certain Java members:
Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1), thread 2143 (SDLThread)
I understand this is a threading problem and SDLActivity.java has a solution that calls
boolean sendCommand(int command, Object data). When I try to call this function from my superclass that extends SDLActivity, I can’t, because it’s private
'sendCommand(int, java.lang.Object)' is not public in 'org.libsdl.app.SDLActivity'. Cannot be accessed from outside package. But it looks as though it should support user defined commands (see COMMAND_USER).
Can anyone who has used anything like this please help.