<?xml version='1.0'?>
<?xml-stylesheet type='text/xsl' href='pmathml.xsl'?>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>Windows Download and Test</title>
<meta name="description" id="description" content="Windows Download and Test"/>
<meta name="keywords" id="keywords" content=" free install Cppad windows zip file download Getstarted introduction example test more print forward mode speed cppad double utility "/>
<style type='text/css'>
body { color : black }
body { background-color : white }
A:link { color : blue }
A:visited { color : purple }
A:active { color : purple }
</style>
<script type='text/javascript' language='JavaScript' src='_installwindows_xml.js'>
</script>
</head>
<body>
<table><tr>
<td>
<a href="http://www.coin-or.org/CppAD/" target="_top"><img border="0" src="_image.gif"/></a>
</td>
<td><a href="subversion.xml" target="_top">Prev</a>
</td><td><a href="introduction.xml" target="_top">Next</a>
</td><td>
<select onchange='choose_across0(this)'>
<option>Index-&gt;</option>
<option>contents</option>
<option>reference</option>
<option>index</option>
<option>search</option>
<option>external</option>
</select>
</td>
<td>
<select onchange='choose_up0(this)'>
<option>Up-&gt;</option>
<option>CppAD</option>
<option>Install</option>
<option>InstallWindows</option>
</select>
</td>
<td>
<select onchange='choose_down2(this)'>
<option>CppAD-&gt;</option>
<option>Install</option>
<option>Introduction</option>
<option>AD</option>
<option>ADFun</option>
<option>library</option>
<option>Example</option>
<option>configure</option>
<option>Appendix</option>
</select>
</td>
<td>
<select onchange='choose_down1(this)'>
<option>Install-&gt;</option>
<option>InstallUnix</option>
<option>InstallWindows</option>
</select>
</td>
<td>InstallWindows</td>
<td>
<select onchange='choose_current0(this)'>
<option>Headings-&gt;</option>
<option>Cygwin</option>
<option>Download</option>
<option>---..Subversion</option>
<option>---..Web Link</option>
<option>---..Unix Tar Files</option>
<option>Getting Started</option>
<option>Introduction</option>
<option>Examples and Testing</option>
<option>More Correctness Testing</option>
<option>Printing During Forward Mode</option>
<option>CppAD Speed Test</option>
<option>Double Speed Test</option>
<option>Speed Utility Example</option>
</select>
</td>
</tr></table><br/>







<center><b><big><big>Windows Download and Test</big></big></b></center>
<br/>
<b><big><a name="Cygwin" id="Cygwin">Cygwin</a></big></b>
<br/>
If you are using Cygwin, or MinGW with MSYS, follow the 
<a href="installunix.xml" target="_top"><span style='white-space: nowrap'>unix&#xA0;install</span></a>
 instructions.

<br/>
<br/>
<b><big><a name="Download" id="Download">Download</a></big></b>






<br/>
<br/>
<b><a name="Download.Subversion" id="Download.Subversion">Subversion</a></b>
<br/>
If you are familiar with subversion, you may want to follow
the more complicated <a href="subversion.xml" target="_top"><span style='white-space: nowrap'>subversion</span></a>
 download instructions 
instead of the ones below.

<br/>
<br/>
<b><a name="Download.Web Link" id="Download.Web Link">Web Link</a></b>
<br/>
If you are not using the subversion download instructions,
sure you are reading the web based version of this documentation by
following the link
<a href="http://www.coin-or.org/CppAD/Doc/installwindows.htm" target="_top"><span style='white-space: nowrap'>web&#xA0;version</span></a>
.
Then proceed with the instruction that appear below this point.

<br/>
<br/>
<b><a name="Download.Unix Tar Files" id="Download.Unix Tar Files">Unix Tar Files</a></b>
<br/>
The download files below were first archived with <code><font color="blue">tar</font></code>
and then compressed with <code><font color="blue">gzip</font></code>.
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. 

<table><tr><td align='left'  valign='top'>

CPL License <code><span style='white-space: nowrap'>&#xA0;&#xA0;</span></code> </td><td align='left'  valign='top'>
 <a href="cppad-20100310.cpl.tgz" target="_top"><span style='white-space: nowrap'>cppad-20100310.cpl.tgz</span></a>
 
</td></tr><tr><td align='left'  valign='top'>

GPL License <code><span style='white-space: nowrap'>&#xA0;&#xA0;</span></code> </td><td align='left'  valign='top'>
 <a href="cppad-20100310.gpl.tgz" target="_top"><span style='white-space: nowrap'>cppad-20100310.gpl.tgz</span></a>

</td></tr>
</table>
The following steps will decompress and extract the files using
<a href="http://www.winzip.com/index.htm" target="_top"><span style='white-space: nowrap'>Winzip</span></a>
 version 7.0
(other version of Winzip and other decompression programs will be similar).
<ol type="1"><li>
Download your choice between these two licenses listed above and 
store the result in a file on disk.
</li><li>

Open the file using Winzip (using <code><font color="blue">All archives</font></code>) as the file type
in the Open browser.
</li><li>

Winzip will ask if it should decompress the file into a temporary folder
and open it. Respond by selecting the <code><font color="blue">Yes</font></code> button.
</li><li>

Now select the <code><font color="blue">Extract</font></code> button from the main menu.
</li><li>

Place the name of the directory were you want the distribution in the
<code><font color="blue">Extract to</font></code> field and then select the <code><font color="blue">Extract</font></code> button
in the pop-up dialog.
Winzip will create a subdirectory called <code><font color="blue">cppad-20100310</font></code>
where the files are placed.
</li></ol>


<br/>
<br/>
<b><big><a name="Getting Started" id="Getting Started">Getting Started</a></big></b>

<br/>
The following steps will build the <a href="get_started.cpp.xml" target="_top"><span style='white-space: nowrap'>get_started.cpp</span></a>
 example.
Using Microsoft Visual C++, open the workspace 
<code><font color='blue'><pre style='display:inline'> 
	cppad-20100310\introduction\get_started\get_started.sln
</pre></font></code>

in Visual Studio and then select <code><font color="blue">Build | Build get_started.exe</font></code>.
Then in a Dos box, and in the cppad-20100310 directory,
execute the following command
<code><font color='blue'><pre style='display:inline'> 
	introduction\get_started\Debug\get_started
</pre></font></code>


<br/>
<br/>
<b><big><a name="Introduction" id="Introduction">Introduction</a></big></b>

<br/>
The following steps will build the routines that verify the calculations
in the exp_apx calculations in the <a href="introduction.xml" target="_top"><span style='white-space: nowrap'>Introduction</span></a>
 section.
Using Microsoft Visual C++, open the workspace 
<code><font color='blue'><pre style='display:inline'> 
	cppad-20100310\introduction\exp_apx\exp_apx.sln
</pre></font></code>
 in Visual Studio.
Then select <code><font color="blue">Build | Build exp_apx.exe</font></code>.
Then in a Dos box, and in the cppad-20100310 directory,
execute the following command
<code><font color='blue'><pre style='display:inline'> 
	introduction\exp_apx\Debug\exp_apx
</pre></font></code>


<br/>
<br/>
<b><big><a name="Examples and Testing" id="Examples and Testing">Examples and Testing</a></big></b>


<br/>
The following steps will build an extensive set of examples
and correctness tests.
Using Microsoft Visual C++, open the workspace 
<code><font color='blue'><pre style='display:inline'> 
	cppad-20100310\example\example.sln
</pre></font></code>
 in Visual Studio.
Then select <code><font color="blue">Build | Build Example.exe</font></code>.
Then in a Dos box, and in the cppad-20100310 directory,
execute the following command
<code><font color='blue'><pre style='display:inline'> 
	example\Debug\example
</pre></font></code>


<br/>
<br/>
<b><big><a name="More Correctness Testing" id="More Correctness Testing">More Correctness Testing</a></big></b>

<br/>
Using Microsoft Visual C++,
open the workspace 
<code><font color='blue'><pre style='display:inline'> 
	cppad-20100310\test_more\test_more.sln
</pre></font></code>

in Visual Studio and then select <code><font color="blue">Build | Build test_more.exe</font></code>.
Then in a Dos box, and in the cppad-20100310 directory,
execute the following command
<code><font color='blue'><pre style='display:inline'> 
	test_more\Debug\test_more
</pre></font></code>


<br/>
<br/>
<b><big><a name="Printing During Forward Mode" id="Printing During Forward Mode">Printing During Forward Mode</a></big></b>


<br/>
Using Microsoft Visual C++, open the workspace 
<code><font color='blue'><pre style='display:inline'> 
	cppad-20100310\print_for\print_for.sln
</pre></font></code>
 in Visual Studio.
Then select <code><font color="blue">Build | Build print_for.exe</font></code>.
Then in a Dos box, and in the cppad-20100310 directory,
execute the following command
<code><font color='blue'><pre style='display:inline'> 
	print_for\Debug\print_for
</pre></font></code>


<br/>
<br/>
<b><big><a name="CppAD Speed Test" id="CppAD Speed Test">CppAD Speed Test</a></big></b>



<br/>
Using Microsoft Visual C++,
open the workspace 
<code><font color='blue'><pre style='display:inline'> 
	cppad-20100310\speed\cppad\cppad.sln
</pre></font></code>
 in Visual Studio.
Then select <code><font color="blue">Build | Build cppad.exe</font></code>.
Then in a Dos box, and in the cppad-20100310 directory,
execute the following commands
<code><font color='blue'><pre style='display:inline'> 
	speed\cppad\Debug\cppad correct 123
	speed\cppad\Debug\cppad speed 123
</pre></font></code>


<br/>
<br/>
<b><big><a name="Double Speed Test" id="Double Speed Test">Double Speed Test</a></big></b>



<br/>
Using Microsoft Visual C++,
open the workspace 
<code><font color='blue'><pre style='display:inline'> 
	cppad-20100310\speed\double\double.sln
</pre></font></code>
 in Visual Studio.
Then select <code><font color="blue">Build | Build double.exe</font></code>.
Then in a Dos box, and in the cppad-20100310 directory,
execute the following commands
<code><font color='blue'><pre style='display:inline'> 
	speed\double\Debug\double correct 123
	speed\double\Debug\double speed 123
</pre></font></code>


<br/>
<br/>
<b><big><a name="Speed Utility Example" id="Speed Utility Example">Speed Utility Example</a></big></b>



<br/>
Using Microsoft Visual C++,
open the workspace 
<code><font color="blue">
	cppad-20100310\speed\example\example.sln
</font></code> in Visual Studio.
Then select <code><font color="blue">Build | Build example.exe</font></code>.
Then in a Dos box, and in the cppad-20100310 directory,
execute the following command
<code><font color='blue'><pre style='display:inline'> 
	speed\example\Debug\example
</pre></font></code>



<hr/>Input File: omh/install_windows.omh

</body>
</html>
