You are not logged in.
Hello,
recently (today, I believe), I've upgraded my system via pacman, which has also installed newest version of SDL2. Unfortunately something has been broken, because I can't compile anything ![]()
Here's the terminal output:
tomek@localhost:~$ g++ cos.cpp -lSDL2
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libSDL2.so: undefined reference to `SDL_UDEV_Quit'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libSDL2.so: undefined reference to `SDL_UDEV_Poll'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libSDL2.so: undefined reference to `SDL_UDEV_AddCallback'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libSDL2.so: undefined reference to `SDL_UDEV_Init'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libSDL2.so: undefined reference to `SDL_UDEV_Scan'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libSDL2.so: undefined reference to `SDL_UDEV_DelCallback'
collect2: error: ld returned 1 exit status
I'm neither expert Linux user nor programmer, I'm just trying to write Snake for fun, so I would appreciate your help ![]()
Kerrex
Offline
Which sdl2 version are you using?
https://bugs.archlinux.org/task/37484
Offline