Running NDS simulator DeSmuME under x86 architecture ubuntu22

0. Environment


i7 ubuntu22

1. Get the source code


Open https://github.com/TASEmulators/desmume/releases in the browser and download the source code compressed package.

Unzip

tar -zvxf desmume-release_0_9_13.tar.gz
cd desmume-release_0_9_13

2. Source code compilation


2.1 build GTK+2 or SDL2 frontend with autotools


Configuration

cd desmume/src/frontend/posix
./autogen.sh
./configure

libpcap is missing

sudo apt-get install libpcap-dev

compile

make -j8


2.2 meson


Configuration

cd src/frontend/posix 
meson build --buildtype=release

Missing gtk+-3.0

sudo apt-get install libgtk-3-dev
sudo apt-get install build-essential pkg-config devhelp glade libglade2-dev
pkg-config --modversion gtk+-3.0

compile

ninja -C build

3. Run the test

Please prepare your own game ROM.

cd build/gtk
./desmume

Guess you like

Origin blog.csdn.net/qq_27158179/article/details/131751902