Compiling BasiliskII and SheepShaver for different host environments
The official source code for BasiliskII and SheepShaver has been relocated to a GitHub repository.
It can now be downloaded from:
HOWEVER NOTE: This guide describes building BasiliskII and Sheepshaver from the currently most advanced code from kanjitalk755 fork:
Building BasiliskII and SheepShaver in Windows
Prepare your build environment
Install msys2 32-bit from https://www.msys2.org/wiki/MSYS2-installation/ in c:\msys32 and start msys2.exe
Note: You might have to follow the instructions here: https://www.msys2.org/news/#2020-06-29-new-packagers
to get the installation going.
Update msys2:
- pacman -Syu (closing and restarting msys2 when requested)
- pacman -Su
Install the following packages:
- pacman -S base-devel
- pacman -S git
- pacman -S mingw-w64-i686-toolchain
- pacman -S mingw-w64-i686-glib2
- pacman -S mingw32/mingw-w64-i686-gcc
- pacman -S mingw32/mingw-w64-i686-gtk2
- pacman -S mingw32/mingw-w64-i686-SDL2
Close msys2
Start mingw32.exe
Download the source code (we use the source from kanjitalk755 on github):
git clone https://github.com/kanjitalk755/macemu
Build Basilisk II
cd macemu/BasiliskII/src/Windows NO_CONFIGURE=1 ../Unix/autogen.sh ./configure --with-bincue make strip BasiliskII.exe strip BasiliskIIGUI.exe
Build SheepShaver
cd macemu/SheepShaver make links cd src/Windows NO_CONFIGURE=1 ../Unix/autogen.sh ./configure --with-bincue make strip SheepShaver.exe strip SheepShaverGUI.exe
Building BasiliskII and SheepShaver in OSX/macOS
First
- Install latest Xcode from Apple's AppStore
- Download SDL2 2.0.14 or later for Mac OS X from https://libsdl.org/download-2.0.php and install SDL2.framework in /Library/Frameworks/
- Download BasiliskII and SheepShaver source code (we use the source from kanjitalk755 on GitHub):
Go to https://github.com/kanjitalk755/macemu , click the green “Code” button, and choose “Download ZIP”
Build BasiliskII
With Xcode:
- Open macemu-master/BasiliskII/src/MacOSX/BasiliskII.xcodeproj
- Product menu > Scheme: Make sure BasiliskII is selected
- Product menu > Scheme > Edit Scheme…: Set Build Configuration to Release for all five items Run, Test, Profile, Analyze, and Archive
- Product menu > Build
The default location of the built product will be:
~/Library/Developer/Xcode/DerivedData/BasiliskII-xxxxxxxxxxx/Build/Products/Release/BasiliskII
Or use the command line:
Recent versions of autoconf, automake, and libtool need to be installed separately (not installed with Xcode).
cd macemu-master/BasiliskII/src/Unix ./autogen.sh make
Build SheepShaver
With Xcode:
- Open macemu-master/SheepShaver/src/MacOSX/SheepShaver_Xcode8.xcodeproj (not SheepShaver.xcodeproj)
- Product menu > Scheme: Make sure SheepShaver is selected
- Product menu > Scheme > Edit Scheme…: Set Build Configuration to Release for all five items Run, Test, Profile, Analyze, and Archive
- Product menu > Build
The default location of the built product will be:
~/Library/Developer/Xcode/DerivedData/SheepShaver_Xcode8-xxxxxxxxxxx/Build/Products/Release/SheepShaver
Or use the command line:
Recent versions of autoconf, automake, and libtool need to be installed separately (not installed with Xcode).
cd macemu-master/SheepShaver/src/Unix ./autogen.sh make
Building BasiliskII and SheepShaver in Linux
Basilisk and SheepShaver use the older gtk2 development packages, so make sure these are available.
We recommend compiling from the kanjitalk755/macemu repository:
BasiliskII
git clone https://github.com/kanjitalk755/macemu cd macemu/BasiliskII/src/Unix NO_CONFIGURE=1 ./autogen.sh ./configure --enable-sdl-video=yes --enable-sdl-audio=yes --with-bincue make strip BasiliskII
SheepShaver
git clone https://github.com/kanjitalk755/macemu cd macemu/SheepShaver make links cd src/Unix NO_CONFIGURE=1 ./autogen.sh ./configure --enable-sdl-video=yes --enable-sdl-audio=yes --with-bincue make strip SheepShaver
Sheep_net driver
If you plan to use the sheep_net driver for networking, you should compile your own:
cd macemu/BasiliskII/src/Unix/Linux/NetDriver make sudo make dev sudo chown [user account] /dev/sheep_net sudo make install sudo modprobe sheep_net
Please read the readme on how to use the Sheep_net driver here: https://github.com/kanjitalk755/macemu/tree/master/BasiliskII/src/Unix/Linux/NetDriver