Updated the links. Copy paste error
nope. there is a wrong command on your tutorial. but u test the commands before to write them here ? its not good to copy and paste without to try by yourself before.
I have extracted the content from this file :
libsdl2_2.0.9+dfsg1.orig.tar.xz
and then,as u said : Extract and build:
root@ziomario-desktop:# cd /root/Desktop/Work/I9/Anbox/SDL2-2.0.9/
root@ziomario-desktop:# ls
acinclude include sdl2-config.in
autogen.sh INSTALL.txt sdl2.m4
BUGS.txt Makefile.in sdl2.pc.in
build-scripts Makefile.minimal SDL2.spec
cmake Makefile.os2 SDL2.spec.in
CMakeLists.txt Makefile.pandora src
cmake_uninstall.cmake.in Makefile.psp test
configure Makefile.wiz TODO.txt
configure.in README-SDL.txt VisualC.html
COPYING.txt README.txt wayland-protocols
CREDITS.txt SDL2Config.cmake WhatsNew.txt
docs sdl2-config.cmake.in
root@ziomario-desktop:# sudo apt-get build-dep libsdl2-2.0-0
Reading package lists… Done
Picking ‘libsdl2’ as source package instead of ‘libsdl2-2.0-0’
E: Unable to find a source package for libsdl2-2.0-0
No idea. The steps are correct. Only the download link was wrong.
By building a package, it means:
- Make sure all build deps are installed. You command to install them is correct.
Install additional depending on need - Run ./configure in build dir with desired options
- make -j4
- sudo make install (installs to /usr/local)
sudo apt-get build-dep libsdl2-2.0-0
[sudo] password for rreddy78:
Reading package lists… Done
Picking ‘libsdl2’ as source package instead of ‘libsdl2-2.0-0’
Reading package lists… Done
Building dependency tree
Reading state information… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
and
rreddy78@jetson-nano:~/Downloads/libsdl2_2.0.9+dfsg1.orig/SDL2-2.0.9$ ls
acinclude cmake configure gen Makefile.in Makefile.rules sdl2-config.cmake sdl2.pc test
autogen.sh CMakeLists.txt configure.in include Makefile.minimal Makefile.wiz SDL2Config.cmake sdl2.pc.in TODO.txt
BUGS.txt cmake_uninstall.cmake.in COPYING.txt INSTALL.txt Makefile.os2 README-SDL.txt sdl2-config.cmake.in SDL2.spec VisualC.html
build config.log CREDITS.txt libtool Makefile.pandora README.txt sdl2-config.in SDL2.spec.in wayland-protocols
build-scripts config.status docs Makefile Makefile.psp sdl2-config sdl2.m4 src WhatsNew.txt
rreddy78@jetson-nano:~/Downloads/libsdl2_2.0.9+dfsg1.orig/SDL2-2.0.9$ ./configure
checking build system type… aarch64-unknown-linux-gnu
checking host system type… aarch64-unknown-linux-gnu
checking how to print strings… printf
checking for gcc… gcc
checking whether the C compiler works… yes
checking for C compiler default
works perfectly for me…
this website is very useful to learn how to extract files from a qcow2 image.
BTW in this tutorial you have been very clear and exhaustive. thanks.
With this additional xserver config file on nano and installed nvidia-driver package in armhf chroot ( Itested bullseye), It’s possible to run some apps and games with indirect rendering. Box86 crashes so i386 emulation is still a bit no-go, unless you want to use virpipe and virglrenderer. 10-monitor (3).conf (402 Bytes)