You are here: Home Documentation How to get the source code from CVS
Document Actions

How to get the source code from CVS

Read access to the Coin3D and SIM Voleon CVS repositories is available for those who want to follow the development closely and want a convenient mechanism for keeping synchronized with the sourcecode at all times.

Requirements

You will need to have CVS software installed on your computer. Linux and other modern UNIX variants will typically have it installed as default.

For Microsoft Windows machines we recommend installing the Cygwin system, where CVS is available.

cvs login

To access the CVS repository, first set up the CVSROOT variable and login as the anonymous "cvs" user:
$ export CVSROOT=:pserver:cvs@cvs.coin3d.org:/export/cvsroot $ cvs login

(The '$' characters at the start of the line just signifies a command prompt and should not be typed.)

The password is "cvs". It will be stored in $HOME/.cvspass, so you only need to do the login routine once. The CVSROOT environment variable must be set up like this also for the CVS instructions below.

cvs checkout

Now, move to your source-code directory and do a cvs checkout on the modules below that you will need. Using compressed data transfers might be a good idea (you enable it with the -zN option), but compressing too much is not necessarily a good idea so we recommend to use -z3:

$ cvs -z3 checkout repository-name

For example, to check out the repository 'Coin-2', run: $ cvs -z3 checkout Coin-2
The checkout will create a directory 'Coin-2' in the current directory.

Staying up to date

To be kept up to date on when the Coin3D-related CVS repositories are updated, you can subscribe to the coin-cvs mailing-list.To update the CVS modules, run:

$ cvs -z3 update -dP

in the CVS modules you checked out. All the latest changes to the sourcecode will then be fetched and merged with the sourcecode you already checked out.

Available CVS repositories

For information on all available CVS repositories, please see the libraries overview page.