Prev Next InstallWindows

Windows Test and Installation

Download
You must first download a copy of CppAD.

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

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


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


CppAD Speed Test
Using Microsoft Visual C++, open the workspace speed\cppad\cppad.sln in Visual Studio. Then select Build | Build cppad.exe. Then in a Dos box, execute the following commands
 
	speed\cppad\Debug\cppad
Note that none of the

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


Speed Utility 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