Prev Next download

Downloading CppAD

Current Version
Each version of CppAD is identified by cppad- followed by the year (4 decimal digits), month (2 decimal digits), and day (2 decimal digits) corresponding to the version. The current version of CppAD is cppad-20071210.0.

Windows Zip Files
The download choices below were archived and compressed with the zip utility. The ascii files for these downloads are in Windows format; i.e., each line ends with both a carriage return and then a line feed.
CPL License    cppad-20071210.0.cpl.zip
GPL License    cppad-20071210.0.gpl.zip

Zip File Extraction
There are many ways to unzip these archives; e.g., WinZip. Doing this should create the distribution directory
     cppad-20071210.0
To see if this has been done correctly, check for the following file:
     cppad-20071210.0/cppad/cppad.hpp
You can now proceed with the installation instructions .

Unix Tar Files
The download choices below were first archived with tar and then compressed with gzip: The ascii files for these downloads are in Unix format; i.e., each line ends with just a line feed.
CPL License    cppad-20071210.0.cpl.tgz
GPL License    cppad-20071210.0.gpl.tgz

Tar File Extraction
Use the unix command
     tar -xvzf cppad-20071210.0.
license.tgz
(where license is cpl or gpl) to decompress and extract the unix format version into the distribution directory
     cppad-20071210.0
To see if this has been done correctly, check for the following file:
     cppad-20071210.0/cppad/cppad.hpp
You can now proceed with the installation instructions .

RPM Spec File
You want to distribute CppAD using an RPM format file, see the instructions at the beginning of the file
     cppad-20071210.0/cppad.spec

Subversion Files
The ascii files for these downloads are in Unix format; i.e., each line ends with just a line feed.

Subversion
Using this install procedure requires subversion . In unix, you can check if subversion is already installed in your path by entering the command
 
	which svn


OMhelp
The documentation for CppAD is built from the source code files using OMhelp . In unix, you can check if OMhelp is already installed in your path by entering the command
 
	which omhelp


Downloading Current Version
  1. The following subversion command will download the source code for current version of CppAD:
         svn co https://projects.coin-or.org/svn/CppAD/trunk trunk
    To see if this has been done correctly, check for the following file:
         trunk/cppad/cppad.hpp
  2. Next you should set the version of CppAD to the current date. Using an editor of you choice, open the file
     
    	trunk/configure
    
    (if you are using the Windows install instructions, edit trunk/cppad/config.h instead of trunk/configure). Search this file for text of the form yyyymmdd where yyyy are four decimal digits representing a year, mm is two decimal digits representing a month, and dd is two decimal digits representing a day. Replace each occurrence of this text with the decimal digits for the current year, month, and day (i.e., the eight decimal digits representing the current date).
  3. Now build the documentation for this version using the commands
     
    	mkdir trunk/doc
    	cd trunk/doc
    	omhelp ../doc.omh -noframe -debug -l http://www.coin-or.org/CppAD/
    	omhelp ../doc.omh -noframe -debug -l http://www.coin-or.org/CppAD/ -xml
    
Once the steps above are completed, you can proceed with the install instructions in the documentation you just built. Start by opening the one of the two files
     trunk/doc/index.xml
     trunk/doc/index.htm
in a web browser.

Downloading an Old Version
  1. Make sure the sub-directory stable (of the current directory) exist.
  2. The following subversion command will download the source code for an old version of CppAD:
         svn co https://projects.coin-or.org/svn/CppAD/
    name name
    where name is one of the following choices:
    name
    stable/2.0
    stable/2.1
  3. Now build the documentation for this version using the commands
         mkdir 
    name/doc
         cd 
    name/doc
         omhelp ../doc.omh -noframe -debug -l http://www.coin-or.org/CppAD/
         omhelp ../doc.omh -noframe -debug -l http://www.coin-or.org/CppAD/ -xml
Once the steps above are completed, you can proceed with the install instructions in the documentation you just built. Start by opening the one of the two files
     
name/doc/index.xml
     
name/doc/index.htm
in a web browser.
Input File: omh/download.omh