Not sure if I am posting in the correct subject/board. But I compiled Torque3D on Ubuntu, not 16.04 but 17.04, and compiling went well but when I try to run the code I get the following error message:
./Project01 -dedicated -mission "levels/Empty Terrain"
Initializing platform...
Input Init:
%
/home/T3DPro/Engine/source/windowManager/sdl/sdlWindowMgr.cpp(448,0): {Fatal} - SDL init error
Platform::debugBreak: triggering SIGSEGV for core dump
% Trace/breakpoint trap (core dumped)
I checked the code in sdlWindowMgr.cpp and the following is in there:
int res = SDL_Init( SDL_INIT_VIDEO | SDL_INIT_JOYSTICK | SDL_INIT_HAPTIC | SDL_INIT_GAMECONTROLLER | SDL_INIT_EVENTS | SDL_INIT_NOPARACHUTE );
AssertFatal(res != -1, "SDL init error");
No idea what it does to be honest and no idea why it gives me that error. Is there anyone that can help me with this? I did not change anything on the code so far, just cloned it from the GIT repository and compiled it. Thanks in advance