From 6cc7e476c661910ba8a9b101c20d43ec7392a62e Mon Sep 17 00:00:00 2001 From: maron2000 <68574602+maron2000@users.noreply.github.com> Date: Thu, 13 Jun 2024 10:20:28 +0900 Subject: [PATCH] Add build instructions for Raspberry PI --- BUILD.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/BUILD.md b/BUILD.md index 15fbd0e1d..9e796bdaa 100644 --- a/BUILD.md +++ b/BUILD.md @@ -16,7 +16,7 @@ The four major operating systems and platforms of DOSBox-X are: 1. Windows 11, 10, 8, 7, Vista and XP for 32-bit and 64-bit x86/x64 and ARM -2. Linux (with X11) 64-bit x86/x64, and on a Raspberry Pi 3/4 +2. Linux (with X11) 64-bit x86/x64, and on a Raspberry Pi 3/4/5 3. macOS (Mac OS X) recent version, 64-bit Intel, ARM-based, and Universal @@ -195,6 +195,18 @@ Then run the following commands: After a successful compile, the RPM can be found in the releases directory. +## To compile DOSBox-X in Raspberry Pi: + +The official Raspberry PI website has an article including build instructions from source. +https://www.raspberrypi.com/news/read-floppy-disks-and-cd-roms-with-raspberry-pi-5-magpimonday/ +``` +sudo apt install libtool autogen autoconf automake libncurses-dev gcc g++ make libncurses-dev nasm libsdl-net1.2-dev libsdl2-net-dev libpcap-dev libslirp-dev fluidsynth libfluidsynth-dev libavformat-dev libavcodec-dev libavcodec-extra libswscale-dev libfreetype-dev libxkbfile-dev libxrandr-dev +git clone https://github.com/joncampbell123/dosbox-x.git +cd dosbox-x +./build-debug +``` +If you have audio problems, you may want to try the SDL2 build using `./build-debug-sdl2` script. + Compiling the source code using Visual Studio (Windows) -------------------------------------------------------