sarah-walker-pcem / pcem

PCem
http://pcem-emulator.co.uk
GNU General Public License v2.0
1.55k stars 216 forks source link

Raspberry Pi Build instructions #256

Open actraiser30 opened 7 months ago

actraiser30 commented 7 months ago

Hello

Are there any compile/build instructions for raspberry pi 4 or higher???

Thanks

leilei- commented 7 months ago

No but it hasn't been any fundamentally different than compiling otherwise (in my experience anyway)

actraiser30 commented 7 months ago

Thanks

Is it possible to on the releases page a build also for Raspberry Pi 4,I was not able to build v17 on it, tried also v16 but no luck

Thank you

JosepMaJAZ commented 5 months ago

I replied to your question about building in #260

JosepMaJAZ commented 5 months ago

I made a small patch to build on raspbian 32bits. The detection code had a few problems.

pcem_v18_fix_arm32.diff.txt

actraiser30 commented 5 months ago

Ok thanks,what file do I replace and were is that file location?

JosepMaJAZ commented 5 months ago

it's not a file. it's a diff.

If you have git and did a git clone of the repo, then you simply need to do : git apply path_to_diff_file

And then build with cmake and ninja/make (depending on how you invoke cmake. Instructions can be seen here on the main page).

JosepMaJAZ commented 5 months ago

i made pull request #261 with these changes.