qemu-ios icon indicating copy to clipboard operation
qemu-ios copied to clipboard

[TUTORIAL] Build on Ubuntu

Open Polytelus opened this issue 1 year ago • 6 comments

  1. Grab the source code (you might wanna install build-essential and git if you haven't already: git clone https://github.com/devos50/qemu-ios.git
  2. cd qemu-ios and ./configure --enable-sdl --disable-cocoa --target-list=arm-softmmu --disable-capstone --disable-slirp --extra-cflags=-I/usr/include/openssl --extra-ldflags='-lcrypto' --disable-werror --enable-pie (those flags might help with various build issues).
  3. Make sure pkg-config libssl-dev libsdl2-dev libpixman-1-dev libpixman-1-0 and libglib2.0-dev are installed.
  4. make -j(number of physical cores you have)
  5. Finally cd to arm-softmmu and run qemu-system-arm.

When building on Ubuntu you might get a variety of errors. This lists some quick fixes you might wanna do.

"Cannot find ninja" or similar: sudo apt install ninja-build

ERROR: "cc" cannot build an executable (is your linker broken?)/Other build issues:

  • Make sure all the packages on step 3 are installed.

Polytelus avatar Dec 14 '23 19:12 Polytelus

That's helpful! Could you perhaps make a PR to add these instructions to https://github.com/devos50/qemu-ios/blob/ipod_touch_2g/RUNNING.md? 👍

devos50 avatar Dec 16 '23 10:12 devos50

ty so much

Github90-123 avatar Dec 19 '23 18:12 Github90-123

holy shit im gonna try this out

gdandsm64fan123 avatar Jan 05 '24 12:01 gdandsm64fan123

doesnt even work man i have all packages but gives me an error about cc not existing

gdandsm64fan123 avatar Jan 05 '24 20:01 gdandsm64fan123

PLS SOMEONE HELP I JUST WANT TO EMULATE THIS SO BADLY

gdandsm64fan123 avatar Jan 05 '24 20:01 gdandsm64fan123

oh holy fucking shit im losing my mind right now

gdandsm64fan123 avatar Jan 05 '24 22:01 gdandsm64fan123