Difference between revisions of "Build SDL2 VICE without X on an x86/amd64"

From Jay's Cafe' Wiki
(Created page with "Setting up my base environment <pre> sudo apt install screen vim-nox vim-scripts vim-youcompleteme vim-syntastic exuberant-ctags postfix mailutils tcpser -y </pre> SDL and VIC...")
 
m
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
</pre>
</pre>
Retrieve and Build SDL Components<p>
Retrieve and Build SDL Components<p>
[[SDL from source debs]]<br />
SDL 2 from source
SDL 2 from source
<pre>
<pre>

Latest revision as of 08:04, 12 March 2020

Setting up my base environment

sudo apt install screen vim-nox vim-scripts vim-youcompleteme vim-syntastic exuberant-ctags postfix mailutils tcpser -y

SDL and VICE Dependencies:

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 -y

Retrieve and Build SDL Components

SDL from source debs
SDL 2 from source

wget https://www.libsdl.org/release/SDL2-2.0.9.tar.gz
tar zxvf SDL2-2.0.9.tar.gz
mkdir SDL2-2.0.9/jay-build
cd SDL2-2.0.9/jay-build
../configure --disable-video-rpi --enable-video-kmsdrm --disable-video-opengl --disable-video-x11

SDL2_image from source

cd ~
wget https://libsdl.org/projects/SDL_image/release/SDL2_image-2.0.4.tar.gz
tar zxvf SDL2_image-2.0.4.tar.gz
mkdir 
cd SDL2_image-2.0.4
./configure && make -j $(nproc) &&
sudo make install