Wiki Markup |
---|
h4. Download and Build Code |
...
Download the [hover_update|https://hovergroup.googlecode.com/svn/trunk/ivp-extend/hover_update] script somewhere convenient, like your home folder. Mark as executable and perform a first time install: |
...
{code |
} chmod +x hover_update hover_update --install {code} During the initial install the script may ask for your input several times and will install a number of dependencies. Answer yes to any prompts. It will also add the necessary executable and script directories to the path in your bashrc file. |
...
For staying up to date, the script supports update options such as:
Code Block |
---|
For staying up to date, the script supports update options such as: {code} hover_update --all # update everything (moos, ivp, goby, hovergroup) hover_update --hover # update hovergroup svn only {code} Checkout the help (--help) for more information. h4. |
...
Setup Eclipse |
...
# If you haven't already, download eclipse CDT. These instructions have been tested on Juno; other versions may not work properly. Make sure you've launched eclipse at least once and set a workspace (by default $HOME/workspace). |
...
# Run the eclipse_setup script. If you used the hover_update script to install the code, it should already be on your path. If not, it is located in hovergroup/ivp-extend/trunk/scripts. |
...
{code |
...
} eclipse_setup -c {code} |
...
If you need to specify any non-standard directories, check the script's help (--help) to learn how. |
...
# Open eclipse again and you should see the various projects already added. If you ran the script with the "-c" argument, the perspective "my c++" will also be available. |
...
# Lastly, you may want to import the settings in hovergroup/ivp-extend/project_files/eclipse_prefs.epf. Go to file->import and select "Preferences" under the "General" tab. The only important setting here is to use spaces (4 of them) instead of tabs. h4. |
...
Some Technical Details |
...
The hover_update script actually downloads the script hover_update_actual using wget and the runs it. This ensures it always has the latest version, while also avoiding any problems with a script updating itself. |