MacOS X 10.7.3 build instructions
Posted: Mon Feb 20, 2012 11:50 am
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
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