Im getting the error below trying to build my SDL2 application (using Jetpack 4.1):
dbus[24360]: arguments to dbus_message_new_method_call() were incorrect, assertion "path != NULL" failed in file ../../../dbus/dbus-message.c line 1362.
This is normally a bug in some application using the D-Bus library.
D-Bus not built with -rdynamic so unable to print a backtrace
Aborted (core dumped)
Here is a snippet that shows the issue:
#include <cstdio>
#include <SDL2/SDL_opengl.h>
#include <SDL2/SDL.h>
int main(int argc, char** args)
{
printf("Hi");
SDL_Init(SDL_INIT_VIDEO);
SDL_CreateWindow("", 0, 0, 800, 600, 0);
printf("Bye");
}
Compile with:
gcc -o SDL2test test.cpp `sdl2-config --cflags --libs`
Anyone seen this or have any thoughts on what might cause it?