Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to make Basilisk II on rpi3 fails with error #274

Open
Logic-Beach opened this issue Oct 10, 2023 · 1 comment
Open

Trying to make Basilisk II on rpi3 fails with error #274

Logic-Beach opened this issue Oct 10, 2023 · 1 comment

Comments

@Logic-Beach
Copy link

fatal error: Cocoa/Cocoa.h: no such file or directory

I have searched the entire system directory for this header and cannot locate it.
I understand that it's a file generally included in the xcode tools.

I am trying to emulate system7 on a rpi that's built into an old mac classic case using this project: https://github.com/ekbann/rpi-basilisk2-sdl2-nox

I am just getting stuck on the cocoa.h part. Note: I did have to manually cp some other headers like SDL* stuff

Any ideas?

@adamhope
Copy link

adamhope commented Jan 3, 2025

@Logic-Beach I recently went through the same process. The instructions and script in https://github.com/ekbann/rpi-basilisk2-sdl2-nox are a little bit outdated and can be simplified.

Here are the steps I used starting with a fresh install of Raspbian Lite on my RPi3.

sudo apt update && sudo apt upgrade -y
sudo apt install -y libgmp-dev libmpfr-dev libsdl2-dev autoconf

Clone the kanjitalk repo (which is more actively developed and the one used by ekbann's script)

git clone https://github.com/kanjitalk755/macemu.git

Next, build and install Basilisk II

cd macemu/BasiliskII/src/Unix
./autogen.sh
make
sudo make install

Once that's done you need to configure your ~/.basilisk_prefs file. Make sure you have a suitable ROM and launch Basiliskii.
https://github.com/ekbann/rpi-basilisk2-sdl2-nox includes a ROM and HD image, if you look at Run.sh it shows what you need to put in your prefs file to get started and where to put the files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants