Commodore C64 on RPi - part 2 (compile using SDL2)


If you want to use the latest version of SDL2 (only for test, recomend SDL 1.2):

$ sudo apt-get -y install mc screen usbmount joystick texinfo texi2html byacc flex libreadline-dev libxaw7-dev libudev-dev freeglut3-dev libaudio-dev libasound2-dev

$ wget https://netix.dl.sourceforge.net/project/freetype/freetype2/2.7.1/freetype-2.7.1.tar.gz
$ tar zxvf freetype-2.7.1.tar.gz
$ cd freetype-2.7.1
$ ./configure
$ make
$ sudo make install
$ cd ..

$ wget https://www.libsdl.org/release/SDL2-2.0.5.tar.gz
$ tar zxvf SDL2-2.0.5.tar.gz
$ cd SDL2-2.0.5
$ ./configure --host=armv7l-raspberry-linux-gnueabihf --disable-pulseaudio --enable-alsa --disable-esd --disable-video-mir --disable-video-wayland --disable-video-x11 --disable-video-opengl
$ make
$ sudo make install
$ cd ..

$ wget https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.1.tar.gz
$ tar zxvf SDL2_image-2.0.1.tar.gz
$ cd SDL2_image-2.0.1
$ ./configure --prefix=/usr/local
$ make
$ sudo make install
$ cd ..

$ wget https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.14.tar.gz
$ tar zxvf SDL2_ttf-2.0.14.tar.gz
$ cd SDL2_ttf-2.0.14
$ ./configure --prefix=/usr/local
$ make
$ sudo make install
$ cd ..

$ wget https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.1.tar.gz
$ tar zxvf SDL2_mixer-2.0.1.tar.gz
$ cd SDL2_mixer-2.0.1
$ ./configure --prefix=/usr/local
$ make
$ sudo make install
$ cd ..

$ wget https://freefr.dl.sourceforge.net/project/vice-emu/releases/vice-3.0.tar.gz
$ tar xvzf vice-3.0.tar.gz
$ cd vice-3.0
$ ./configure --enable-sdlui2 --disable-midi --without-resid --without-pulse --with-alsa --without-oss --disable-catweasel --without-x
$ make
$ sudo make install
$ cd ..

to be continued ...

Comments

Popular Posts