rbmj/612-code — comment on commit 72a1b13ec56b00148f34780aa1aea077424b4650
File:  line 0
By anidev:

swaraj, as per the directions in ucpp.rst, clone blair's fork of ucpp at
https://github.com/rbmj/ucpp (git clone
https://github.com/rbmj/ucpp.git). Then read the file called README.
Basically, what you have to do is edit the file "~/.profile" and add
this line to the end:

|export PATH="~/Robotics/ucpp/ucpp"|

assuming that you cloned blair's fork of ucpp at the folder
"~/Robotics", which would have created a folder called ucpp and inside
that folder would be another folder called ucpp and in there would be
all the executable files. After modifying your .profile file, you should
be able to run ucpp from any where in a terminal.

As per the instructions at ucpp.rst, you will probably also have to
install wine, python, and wput:

|sudo apt-get install wine python wput|

After that, follow the instructions in ucpp.rst. Basically, open a
terminal, cd to wherever you have your robot code git fork:

|cd ~/Robotics/612-code
ucpp setup -t 612
ucpp init|

(assuming you cloned your robot code fork at "~/Robotics", which will
have created the folder "612-code") Again following the instructions in
ucpp.rst, run

|ucpp configure|

every time you add or remove a .cpp file and run

|make|

every time you want to compile the code. The compiled code will be
located at

|~/Robotics/612-code/PPC603gnu/612-code/Debug/612-code.out|

if you have connected to the robot's wifi or are plugged in via ethernet
to the robot, you can run

|make deploy|

to send the code to the robot (deploy). Deploying just sends the file
612-code.out to a certain location on an ftp server on the robot.

Anirudh Bagde
I am an FSF member -- Help us support software freedom

Protect your digital freedoms and the freedom of the internet.
SOPA can not and must not pass if we want the Internet to remain free.

Take action now to defeat SOPA.

On 12/27/2011 12:36 PM, swarage wrote:
> anirudh, one problem, I searched for a download link, all of them gave me assorted header files, c files, and other things, help on where exactly to get ucpp? (running linux)
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/rbmj/612-code/commit/72a1b13ec56b00148f34780aa1aea077424b4650#commitcomment-822353