Prev Next InstallSubversion

Using Subversion to Install CppAD

Limitations
This CppAD install procedure has the following limitations:
  1. The subversion program must be installed on your system.
  2. No examples are included during this install procedure.
  3. No documentation is included by this install procedure.
  4. No testing is done during this install procedure.
  5. Only the CPL licensed version of CppAD can be obtained by this install procedure.


CppAD Install Directory
For this procedure, you choose one directory where CppAD will both be distributed and installed. If you have write permission in the directory /usr/local/include/cppad, it is a good choice for the CppAD install directory. Otherwise $HOME/include/cppad is a good choice for the CppAD install directory.

Current Version
To obtain current version of CppAD, execute the following commands where dir is the CppAD install directory
     svn checkout https://projects.coin-or.org/svn/CppAD/trunk/cppad 
dir

config.h
The file
     
dir/config.h
contains some system level settings that you may want to change. For example,
 
	/* does system support gettimeofday */
	#define CPPAD_GETTIMEOFDAY 0
is set this way to make it easy for Microsoft version of CppAD. The configure script usually changes this setting to
 
	#define CPPAD_GETTIMEOFDAY 1

Input File: omh/install_subversion.omh