Compiling Auton Lab Code Under Macintosh OS X



Compiling Auton Lab Code Under Macintosh OS X The steps below will take you from a factory install to working code.
  1. Install X11 - This can be found on apple’s site.
  2. Install XCode - This is all of the utilities that you will need to compile the AutonLab code (CVS, GCC, GDB, etc.) This can be found at the apple developer site. It is very important that you do not choose easy install. Instead choose custom install and make sure the X11 SDK is selected. Without the X11 SDK the functions in draw will not compile.
  3. CVS - Setup and install CVS as described here on the Auton Lab site. This includes downloading the files you wish to compile.
Note: When you first run "make" on a directory. You may get an error:

Darwin_PowerMacintosh__gcc.debug/______.a has no table of contents, add one with ranlib.

Run ranlib of the indicated file (ranlib Darwin_PowerMacintosh__gcc.debug/______.a) and re-make the project. We are looking to fix "Make.common" to remedy this problem.



back