sarah-walker-pcem / pcem

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

Raspberry Pi4 #209

Open actraiser30 opened 1 year ago

actraiser30 commented 1 year ago

Hello

Im trying to build it for the Raspberry Pi4

the source code: PCemV17Linux.tar

but i get errors after make

Makefile 365 all-recursive Error 1

what i did was to install the Depends

apt install build-essential libwxgtk3.0 libsdl2-dev libopenal-dev

./configure

make

is there any info to successfully build on Arm??

thanks

ruben-balea commented 1 year ago

Try this: https://www.pcem-emulator.co.uk/phpBB3/viewtopic.php?p=14706&hilit=raspberry+autoreconf#p14706

symbios24 commented 1 year ago

Thanks i tried all this before did not work, anything else??

ruben-balea commented 1 year ago

The last time I compiled PCem for a Raspberry it was still v15 and since then things have changed a lot...

There are the instructions for v17: https://www.pcem-emulator.co.uk/phpBB3/viewtopic.php?p=16286#p16286

Derailedzack commented 1 year ago

Failing that there's also cross compilation

symbios24 commented 1 year ago

Thanks for your help, i tried that also did not work,tried also v16 and v15 with no luck :/

How to do the cross compile?

Do you you have an executable for pi4 ??

Is it possible to put one in downloads/releases??

Derailedzack commented 1 year ago

To cross compile you need another linux machine with the linux aarch64 toolchain and the aarch64 version of the deps. If you want I could try cross compiling it

symbios24 commented 1 year ago

Yes please cross compile it, thank you

Derailedzack commented 1 year ago

I managed to get it to build

Derailedzack commented 1 year ago

pcem.zip This is just the binary

Derailedzack commented 1 year ago

Did the binary provided work?

eddmanx commented 1 year ago

Please post support issues on the forum. Github is for posting confirmed bugs or feature requests.

symbios24 commented 1 year ago

Did the binary provided work?

H,i was buzy i will test it soon and let you know Thank you

symbios24 commented 1 year ago

The executable does not work,it says not such a file or directory,and raspbian see it as a library file not executable

actraiser30 commented 1 year ago

hi i have the same problem here it does not work in raspberry pi 4 neither the build it fails to build or the executable here

Derailedzack commented 1 year ago

I'll have to recompile it

symbios24 commented 1 year ago

Ok thanks

03stevensmi commented 11 months ago

I'll have to recompile it

Anything!!? I have been looking everywhere for a binary for my pi3b+ Can anyone provide an armhf binary please? Ether 32bit or 64bit?