Difference between revisions of "SDLUI2 on RPi 3B+"
From Jay's Cafe' Wiki
Jayctheriot (talk | contribs) m |
Jayctheriot (talk | contribs) m |
||
(4 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
libice-dev libsm-dev libsndio-dev libwayland-bin libwayland-dev libxi-dev libxinerama-dev libxkbcommon-dev \<br> | libice-dev libsm-dev libsndio-dev libwayland-bin libwayland-dev libxi-dev libxinerama-dev libxkbcommon-dev \<br> | ||
libxrandr-dev libxss-dev libxt-dev libxv-dev x11proto-randr-dev x11proto-scrnsaver-dev x11proto-video-dev \<br> | libxrandr-dev libxss-dev libxt-dev libxv-dev x11proto-randr-dev x11proto-scrnsaver-dev x11proto-video-dev \<br> | ||
x11proto-xinerama-dev nodm byobu openbox subversion -y | x11proto-xinerama-dev nodm byobu openbox subversion automake autoconf cc65 xa65 flex bison dos2unix -y | ||
</div> | </div> | ||
<pre> | <pre> | ||
Line 28: | Line 28: | ||
cd ~ | cd ~ | ||
wget https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.5.tar.gz | wget https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.5.tar.gz | ||
Line 59: | Line 57: | ||
<pre> | <pre> | ||
svn checkout https://svn.code.sf.net/p/vice-emu/code/trunk vice-emu-code | svn checkout https://svn.code.sf.net/p/vice-emu/code/trunk vice-emu-code | ||
cd vice-emu-code/vice/build | cd vice-emu-code/vice/ | ||
./autogen.sh | |||
cd build | |||
../configure --enable-realdevice --enable-sdlui2 --enable-fastsid --enable-html-docs --disable-pdf-docs | ../configure --enable-realdevice --enable-sdlui2 --enable-fastsid --enable-html-docs --disable-pdf-docs | ||
make -j $(nproc --all) | |||
make install | |||
</pre> |
Latest revision as of 17:22, 4 February 2021
'Install a few tools:
sudo -i
apt update && apt full-upgrade -y
apt install byobu -y
byobu-enable -y
exit
byobu
sudo -i
'Prerequisites:
sudo apt-get install libfreetype6-dev libgl1-mesa-dev libgles2-mesa-dev libgbm-dev libudev-dev libasound2-dev \
liblzma-dev git build-essential gir1.2-ibus-1.0 libdbus-1-dev libegl1-mesa-dev libibus-1.0-5 libibus-1.0-dev \
libice-dev libsm-dev libsndio-dev libwayland-bin libwayland-dev libxi-dev libxinerama-dev libxkbcommon-dev \
libxrandr-dev libxss-dev libxt-dev libxv-dev x11proto-randr-dev x11proto-scrnsaver-dev x11proto-video-dev \
x11proto-xinerama-dev nodm byobu openbox subversion automake autoconf cc65 xa65 flex bison dos2unix -y
cd ~ wget https://www.libsdl.org/release/SDL2-2.0.14.tar.gz tar zxvf SDL2-2.0.14.tar.gz cd SDL2-2.0.14 ./configure --disable-video-rpi --enable-video-kmsdrm make -j $(nproc --all); sudo make install cd ~ wget https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.5.tar.gz tar zxvf SDL2_image-2.0.5.tar.gz cd SDL2_image-2.0.5 && mkdir build && cd build ../configure make -j $(nproc --all) make install cd ~ wget https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.15.tar.gz tar zxvf SDL2_ttf-2.0.15.tar.gz cd SDL2_ttf-2.0.15 && mkdir build && cd build ../configure make -j $(nproc --all) make install
'Now on to VICE
svn checkout https://svn.code.sf.net/p/vice-emu/code/trunk vice-emu-code cd vice-emu-code/vice/ ./autogen.sh cd build ../configure --enable-realdevice --enable-sdlui2 --enable-fastsid --enable-html-docs --disable-pdf-docs make -j $(nproc --all) make install