MacOS X 10.7.3 build instructions

The Uzebox now have a fully functional emulator! Download and discuss it here.
Post Reply
bms
Posts: 1
Joined: Mon Feb 20, 2012 11:46 am

MacOS X 10.7.3 build instructions

Post by bms »

Hi,

This works...

* Download and install Homebrew.

* Install SDL etcetera.
352 10:34 brew install sdl sdl_gfx sdl_image sdl_sound sdl_ttf sdl_net sdl_rtf sdl_mixer

* Install CrossPack-AVR from Objective Development using the latest provided .DMG file:
http://www.obdev.at/products/crosspack/index.html

* Add avr-gcc to your path in Terminal / .tcshrc / .bashrc, by appending /usr/local/CrossPack-AVR/bin to the end of your $PATH variable.

* Apply this patch to latest SVN checkout from uzebox google code:

Index: tools/uzem/avr8.h
===================================================================
--- tools/uzem/avr8.h (revision 229)
+++ tools/uzem/avr8.h (working copy)
@@ -35,7 +35,7 @@
#if defined(__WIN32__)
#include <windows.h> // Win32 memory mapped I/O
#include <winioctl.h>
-#elif defined(LINUX)
+#elif defined(LINUX) || defined(__APPLE__)
#include <sys/mman.h> // Linux memory mapped I/O
#else
#include <sys/mmap.h> // Unix memory mapped I/O

* Build using gnumake.

Enjoy UZEM on Mac.
Bruce
shockdesign
Posts: 27
Joined: Mon Jan 06, 2014 12:20 pm

Re: MacOS X 10.7.3 build instructions

Post by shockdesign »

Hey, just to let you know this builds on 10.9.4 as well. However only issue I have, and this has been with every version, is I can't seem to get any graphics?

SDL framework was copied to the /Library/Frameworks directory...
User avatar
cosam
Posts: 37
Joined: Wed Jul 27, 2011 11:05 am
Location: Netherlands
Contact:

Re: MacOS X 10.7.3 build instructions

Post by cosam »

Old thread but seems as good a place as any...

Anyone else running a later version of Uzem on a Mac? I managed to build from the current master branch fine but am suffering from a lot of "random" crashes. It seems to work a lot better when compiled with gcc rather than clang but still bombs out within a minute or so of starting. I'm using the homebrew SDL so I'll try it with another version to see if that helps at all.
shockdesign
Posts: 27
Joined: Mon Jan 06, 2014 12:20 pm

Re: MacOS X 10.7.3 build instructions

Post by shockdesign »

I do have a build that I did make not so long ago. You could download it from my dropbox (it's packaged with Tornado 2000 as I was sharing that with a mate).

Version: 1.19.1

https://dl.dropboxusercontent.com/u/668 ... 2k-mac.zip
Post Reply