devos50 / qemu-ios

A QEMU emulator for legacy Apple devices
Other
976 stars 63 forks source link

[TUTORIAL] Build on Ubuntu #92

Open Polytelus opened 11 months ago

Polytelus commented 11 months ago
  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:

devos50 commented 11 months ago

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? 👍

Github90-123 commented 11 months ago

ty so much

gdandsm64fan123 commented 10 months ago

holy shit im gonna try this out

gdandsm64fan123 commented 10 months ago

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

gdandsm64fan123 commented 10 months ago

PLS SOMEONE HELP I JUST WANT TO EMULATE THIS SO BADLY

gdandsm64fan123 commented 10 months ago

oh holy fucking shit im losing my mind right now