Prev Next InstallWindows

Windows Download, Test, and Installation

Download Current Version
Note that 20071016.0 is the year, month, and date corresponding to the current version of CppAD. If you are using Cygwin or, MinGW with MSYS , with Unix formatted files, just follow all of the Unix installation steps. Otherwise, download either the CPL or GPL licensed version from:

CPL License
cppad-20071016.0.cpl.zip

GPL License
cppad-20071016.0.gpl.zip

Extraction
Use WinZip or some other program to decompress the archive. This will create the distribution directory
     cppad-20071016.0
All the command sequences below assume that you start in this distribution directory. If you are using Cygwin, or MinGW with MSYS, (with dos file formats) you should follow the Unix installation steps for the rest of the install. Otherwise, continue with the steps below:

User Documentation
The doc sub-directory of the distribution directory contains user documentation for CppAD. The files doc/*.htm are in HTML format. If your browser supports XHTML+MATHML format, an easier to read copy is available in the files doc/*.xml.

Developer Documentation
The dev sub-directory of the distribution directory contains developer documentation for CppAD.

Getting Started
The following steps will build the get_started.cpp example. Using Microsoft Visual C++, open the workspace get_started/get_started.sln in Visual Studio and then select Build | Build get_started.exe. Then in a Dos box, execute the following command
 
	introduction\get_started\debug\get_started


Introduction
The following steps will build the routines that verify the calculations in the exp_apx calculations in the Introduction section. Using Microsoft Visual C++, open the workspace introduction/exp_apx/exp_apx.sln in Visual Studio. Then select Build | Build exp_apx.exe. Then in a Dos box, execute the following command
 
	introduction\exp_apx\debug\exp_apx


Examples and Testing
The following steps will build an extensive set of examples and correctness tests. Using Microsoft Visual C++, open the workspace example/Example.sln in Visual Studio. Then select Build | Build Example.exe. Then in a Dos box, execute the following command
 
	example\Debug\example


More Correctness Testing
Using Microsoft Visual C++, open the workspace test_more/test_more.sln in Visual Studio and then select Build | Build test_more.exe. Then in a Dos box, execute the following command
 
	test_more\debug\test_more


Speed Testing
Using Microsoft Visual C++, open the workspace speed/speed.sln in Visual Studio and then select Build | Build speed.exe. Then in a Dos box, execute the following commands
 
	speed_cppad\release\speed


Printing During Forward Mode
Using Microsoft Visual C++, open the workspace print_for/print_for.sln in Visual Studio. Then select Build | Build print_for.exe. Then in a Dos box, execute the following commands
 
	print_for\debug\print_for


Speed Test Example
Using Microsoft Visual C++, open the workspace speed/example/example.sln in Visual Studio. Then select Build | Build example.exe. Then in a Dos box, execute the following commands
 
	speed\example\debug\example

Input File: omh/install_windows.omh