Prev Next InstallWindows

Windows Download and Test

Cygwin
If you are using Cygwin, or MinGW with MSYS, follow the unix install instructions.

Download

Subversion
If you are familiar with subversion, you may want to follow the more complicated subversion download instructions instead of the ones below.

Web Link
If you are not using the subversion download instructions, sure you are reading the web based version of this documentation by following the link web version . Then proceed with the instruction that appear below this point.

Unix Tar Files
The download files below were first archived with tar and then compressed with gzip. The ascii files are in Unix format; i.e., each line ends with a line feed (instead of a carriage return and line feed as is standard for windows formatted files). Visual Studio can handel this formatting just fine, but you may want to convert the format to the windows standard if you are using and editor that has trouble viewing the files in Unix format. and then a line feed.
CPL License    cppad-20080826.0.cpl.tgz
GPL License    cppad-20080826.0.gpl.tgz
The following steps will decompress and extract the files using Winzip version 7.0 (other version of Winzip and other decompression programs will be similar).
  1. Download your choice between these two licenses listed above and store the result in a file on disk.
  2. Open the file using Winzip (using All archives) as the file type in the Open browser.
  3. Winzip will ask if it should decompress the file into a temporary folder and open it. Respond by selecting the Yes button.
  4. Now select the Extract button from the main menu.
  5. Place the name of the directory were you want the distribution in the Extract to field and then select the Extract button in the pop-up dialog. Winzip will create a subdirectory called cppad-20080826.0 where the files are placed.


Getting Started
The following steps will build the get_started.cpp example. Using Microsoft Visual C++, open the workspace
 
	cppad-20080826.0\introduction\get_started\get_started.sln
in Visual Studio and then select Build | Build get_started.exe. Then in a Dos box, and in the cppad-20080826.0 directory, 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
 
	cppad-20080826.0\introduction\exp_apx\exp_apx.sln
in Visual Studio. Then select Build | Build exp_apx.exe. Then in a Dos box, and in the cppad-20080826.0 directory, 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
 
	cppad-20080826.0\example\example.sln
in Visual Studio. Then select Build | Build Example.exe. Then in a Dos box, and in the cppad-20080826.0 directory, execute the following command
 
	example\Debug\example


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


Printing During Forward Mode
Using Microsoft Visual C++, open the workspace
 
	cppad-20080826.0\print_for\print_for.sln
in Visual Studio. Then select Build | Build print_for.exe. Then in a Dos box, and in the cppad-20080826.0 directory, execute the following command
 
	print_for\Debug\print_for


CppAD Speed Test
Using Microsoft Visual C++, open the workspace
 
	cppad-20080826.0\speed\cppad\cppad.sln
in Visual Studio. Then select Build | Build cppad.exe. Then in a Dos box, and in the cppad-20080826.0 directory, execute the following commands
 
	speed\cppad\Debug\cppad correct 123
	speed\cppad\Debug\cppad speed 123


Double Speed Test
Using Microsoft Visual C++, open the workspace
 
	cppad-20080826.0\speed\double\double.sln
in Visual Studio. Then select Build | Build double.exe. Then in a Dos box, and in the cppad-20080826.0 directory, execute the following commands
 
	speed\double\Debug\double correct 123
	speed\double\Debug\double speed 123


Speed Utility Example
Using Microsoft Visual C++, open the workspace cppad-20080826.0\speed\example\example.sln in Visual Studio. Then select Build | Build example.exe. Then in a Dos box, and in the cppad-20080826.0 directory, execute the following command
 
	speed\example\Debug\example

Input File: omh/install_windows.omh