Skip to content

SDL.SDL_Init does not work on Jetson Nano #30

@peltiern

Description

@peltiern

Hello,

I use Jamepad (and therefore SDL) to control a robot with a Logitech F710 gamepad.
I have no problem when using it on a normal PC running Ubuntu 22.04.2. Same on a Raspberry Pi 4.
But it doesn't work on a Jetson Nano (Ubuntu 18.04 ARMV8).
Code stops in class Jamepad.ControllerManager.nativeInitSDLGamepad(l. 99) on

if (SDL.SDL_Init(SDL.SDL_INIT_EVENTS | SDL.SDL_INIT_JOYSTICK | SDL.SDL_INIT_GAMECONTROLLER) != 0){
    return false;
}

There are no errors. The code just doesn't move forward anymore, as if it falls into an infinite loop.

If the native code was not found (SDL library), I think there would have been an error.

Do you have any idea of ​​the problem ?

Thanks,

Nicolas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions