Open TaTooKa opened 4 years ago
hi, I'm trying to build on pocketCHIP (debian jessie) and I'm getting this error:
make[1]: Entering directory '/home/chip/progs/prototracker' g++ -Wformat -s -std=c++11 -o prototracker src/*.cpp -lSDL2_image -lSDL2main `sdl2-config --cflags --libs` -march=armv7-a -mtune=cortex-a7 -ffast-math -Ofast -DSCALE=1 -DOVERSAMPLE=0 -DFULLSCREEN=1 -DSAMPLERATE=22050 /usr/lib/arm-linux-gnueabihf/libSDL2.so: undefined reference to `wl_egl_window_get_attached_size' /usr/lib/arm-linux-gnueabihf/libSDL2.so: undefined reference to `wl_egl_window_destroy' /usr/lib/arm-linux-gnueabihf/libSDL2.so: undefined reference to `wl_egl_window_create' /usr/lib/arm-linux-gnueabihf/libSDL2.so: undefined reference to `wl_egl_window_resize' collect2: error: ld returned 1 exit status Makefile.chip8:10: recipe for target 'prototracker' failed make[1]: *** [prototracker] Error 1 make[1]: Leaving directory '/home/chip/progs/prototracker' Makefile:7: recipe for target 'chip8' failed make: *** [chip8] Error 2
I tried changing the order of the cflags and libs to no avail. Any ideas what might be wrong here?
Not sure if you need some Wayland related libs for the missing references? Perhaps the SDL2 build you are using requires also those.
hi, I'm trying to build on pocketCHIP (debian jessie) and I'm getting this error:
I tried changing the order of the cflags and libs to no avail. Any ideas what might be wrong here?