PocketChip编译RetroArch遇到的错误和解决方法
/usr/lib/arm-linux-gnueabihf/libSDL2.so:对‘wl_egl_window_get_attached_size’未定义的 引用
/usr/lib/arm-linux-gnueabihf/libSDL2.so:对‘wl_egl_window_destroy’未定义的引用
/usr/lib/arm-linux-gnueabihf/libSDL2.so:对‘wl_egl_window_create’未定义的引用
/usr/lib/arm-linux-gnueabihf/libSDL2.so:对‘wl_egl_window_resize’未定义的引用
collect2: error: ld returned 1 exit status
Makefile:187: recipe for target 'retroarch' failed
make: *** [retroarch] Error 1
解决方法地址
https://old.reddit.com/r/ChipCommunity/comments/f3wxtj/pico8_symbol_lookup_error_wl_egl_window_destroy/
我的操作步骤
下载libsdl2-2.0-0_2.0.2+dfsg1-6_armhf.deb
地址http://chip.jfpossibilities.com/chip/debian/repo/pool/main/libs/libsdl2/libsdl2-2.0-0_2.0.2+dfsg1-6_armhf.deb
安装
sudo dpkg -i libsdl2-2.0-0_2.0.2+dfsg1-6_armhf.deb
对libsdl2进行了降级操作
最后重新编译通过