Difference between revisions of "Build VICE with SDL2 Interface"
Jayctheriot (talk | contribs) m |
Jayctheriot (talk | contribs) m |
||
Line 1: | Line 1: | ||
as per https://github.com/midwan/amiberry/wiki/Compile-SDL2-from-source SDL2 must be compiled from source<br> | |||
This documentation is outdated. Have to work on a new one pulling from Amiberry docs. | |||
[[ks.cfg]] | [[ks.cfg]] | ||
Revision as of 07:15, 22 July 2018
as per https://github.com/midwan/amiberry/wiki/Compile-SDL2-from-source SDL2 must be compiled from source
This documentation is outdated. Have to work on a new one pulling from Amiberry docs.
Install prerequisites
sudo apt install xa65 bison flex libpcap* libxaw7-dev libxaw3dxft8-dev libsdl2-dev
or if you did this without rebuilding:
apt install xserver-xorg blackbox menu xinit openssh-server vim-nox vim-scripts exuberant-ctags xa65 bison flex\ libpcap* libxaw7-dev libxaw3dxft8-dev build-essential net-tools libsdl2-dev -y
Retrieve vice-3.2.tar.gz
cd tar xvzf vice-3.2.tar.gz cd vice-3.2
Configure and build
./configure --enable-ethernet --enable-realdevice --enable-sdlui2 --enable-vte --enable-hardsid\ --enable-cpuhistory --enable-platformdox --with-xaw3d --with-uithreads --with-x
Or with gnome gui
sudo apt install libgtk2.0-dev ./configure --enable-ethernet --enable-realdevice --enable-gnomeui --enable-vte --enable-hardsid\ --enable-cpuhistory --enable-platformdox --with-xaw3d --with-uithreads --with-x
make -j 6 sudo make install
Needs X-server to run.
sudo tasksel
Select XUbuntu minimal Install and reboot
- I like tasksel. It allows me to be lazy
Needs SDLVideo Renderer. opengl opengles2 software
SDLJoystick: No joysticks found SDLKeyboard: Loading hotkey map `/usr/local/lib64/vice/C64/sdl_hotkeys.vkm'. SDLKeyboard: Warning - Failed to open `/home/jay/.vice/sdl-hotkey-C64.vkm'. Keyboard: Loading keymap `/usr/local/lib64/vice/C64/sdl_sym.vkm'. SDLVideo: Available Renderers: opengl opengles2 software Segmentation fault (core dumped) jay@vm-C64Build01:~$
I think the problem is that I was doing this on a kvm-qemu vm with no graphics card. I'm going to try again on a spare metal 990.
I was able to get it going on a metal 990 using sdl1.2-dev and blackbox with an x-server.
I'm thinking that I will need to run the bare minimal xserver to do this.
I'm working this again, but on a RPi Zero W.
After expending much energy, I decided to not reinvent the wheel and use combian as the base and then make the necessary edits. see building vice v.2