blob: 4dbb853cbb1e975380494a07a8298ede23c5767e [file] [log] [blame]
briansa39ed322013-02-14 23:00:51 +00001This file contains instructions on how to set up a computer to build the code.
2
3[Install Packages]
4First, you have to download and follow the directions in
5 <http://robotics.mvla.net/files/frc971/packages/frc971.list>.
6You also have to follow the directions at
7 <http://backports-master.debian.org/Instructions/>.
8Then, run `apt-get install subversion git g++-multilib gcc-multilib ruby patch \
9 make openjdk-6-jdk lib32event-dev`
10 and `apt-get install -t squeeze-backports swig` (package lists correct for
11 amd64 Squeeze; you might be able to get it to build on other
12 versions/platforms/distributions (Ubuntu, Mint, ...) if you can find the
13 right packages.
14 You will have to accept the
15 "WARNING: The following packages cannot be authenticated!" warning for the
16 "libevent-2.0-5 lib32event-2.0-5 libevent-core-2.0-5 lib32event-core-2.0-5 \
17 libevent-extra-2.0-5 libevent-pthreads-2.0-5 libevent-openssl-2.0-5 \
18 libevent-dev lib32event-extra-2.0-5 lib32event-pthreads-2.0-5 \
19 lib32event-openssl-2.0-5 lib32event-dev" packages.
20Also run `apt-get install powerpc-wrs-vxworks` if you want to be able to build
21 the cRIO code too.
22 NOTE: That is in *addition* to the above command.
23 You will have to accept the
24 "WARNING: The following packages cannot be authenticated!" warning for the
25 "powerpc-wrs-vxworks" package.
26If you want to actually download code to a robot (it will only work on amd64
27 Squeeze), then also do `apt-get install ncftp rsync`.
28
29[Running Locally]
30If you want to be able to run the realtime code on your development machine
31 without just disabling the realtime part (set the AOS_NO_REALTIME environment
32 variable), follow the directions in /src/aos/config/aos.conf.