![]() |
Prev | Next | download |
cppad/cppad.hpp
.
version
number has the following fields:
yyyy
is four decimal digits denoting a year,
mm
is two decimal digits denoting a month,
and
dd
is two decimal digits denoting a day.
For example
version = 20160101
corresponds to January 1, 2016.
mm
and
dd
equal to zero.
These version numbers are combined with release numbers denoted by
rel
.
Higher release numbers correspond to more bug fixes.
For example
version.rel = 20160000.0
corresponds to the first release
of the version for 2016,
20160000.1
corresponds to the first bug fix for 2016.
lic
to denote the licence corresponding to an archived
version of CppAD.
The GNU General Public License is denoted by
lic = gpl
and the Eclipse Public License is denoted by
lic = epl
.
cppad-version.rel.lic.tgz
cppad-version.lic.tgz
In Unix, you can extract these compressed archives using tar
.
For example,
tar -xzf cppad-version.rel.lic.tgz
No matter what the format of the name, the corresponding distribution
directory is
cppad-version
.
To see that the extraction has been done correctly,
check for the following file:
cppad-version/cppad/cppad.hpp
cppad-version.rel.tgz
These archives correspond to the Eclipse Public License.
git
You can a git clone of the current version using the command
git clone https://github.com/coin-or/CppAD.git cppad.git
This procedure requires that
the git
is installed on your system.
svn checkout https://projects.coin-or.org/svn/CppAD/trunk cppad.svn/trunk
This procedure requires that
the subversion
program
is installed on your system.
cppad-yyyy0101.lic.tgz
7z.exe
, cmake.exe
, and nmake.exe
are you
your execution path, you will not need to specify their paths below.)
set PATH=path_to_7_zip;%PATH%
set PATH=path_to_cmake;%PATH%
set VCDIR=path_to_vcdir;%PATH%
call "%VCDIR%\vcvarsall.bat" x86
For example, on one machine these paths had the following values:
path_to_7_zip=C:\Program Files\7-zip
path_to_cmake=C:\Program Files (x86)\CMake\bin
path_to_vcdir=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC
7z x cppad-version.lic.tgz
7z x cppad-version.lic.tar
cppad-version\cppad\cppad.hpp
mkdir build
cd build
cmake -G "NMake Makefiles" ..
nmake check
doc
subdirectory of the distribution directory.
If there is no such documentation, you can build it; see
building documentation
.
omhelp
command so that
which omhelp
shows it is in your path.
Once you have done this,
in the distribution directory execute the following command:
bin/run_omhelp.sh htm
You will then be able to follow the install instructions in
the doc
subdirectory of the distribution directory.