=Objectives and Overview= ---- This wiki page describes how to download and install the [[PATH_MCP_Solver|PATH MCP Solver]] for a target platform. [[toc]] =Windows Instructions= ---- * Download //pathlib.zip// from ftp://ftp.cs.wisc.edu/math-prog/solvers/path/pathlib.zip * Unzip the archive and you will have a folder called //pathlib//. Next you have two options for installing //pathlib//, you only need to do **one** of the following: # Place the //pathlib// folder into the DVC source tree in the //libraries// folder. Your directory tree will look like this: dvc/libraries/pathlib. # Place the //pathlib// folder anywhere in your file system and set an envrionment variable named **PATHLIBDIR** to indicate where the folder may be found. For example, **PATHLIBDIR=**C:\pathlib > Here are [[http://support.microsoft.com/kb/310519| instructions for setting environment variables in Windows]]. At runtime DVC applications need to find path46.dll. This file is located at pathlib/lib/windows/dynamic/path46.dll. Copy this dll to a folder that is in your system's search path. The easiest way to accomplish this is to copy path46.dll to C:\WINDOWS\system32. =Linux Instructions= ---- * Download //pathlib.zip// from ftp://ftp.cs.wisc.edu/math-prog/solvers/path/pathlib.zip * Unzip the archive and you will have a folder called //pathlib//. Next you have three options for installing //pathlib//, you only need to do **one** of the following: # Place the //pathlib// directory into the DVC source tree in the //libraries// directory. Your directory tree will look like this: dvc/libraries/pathlib. # Place the //pathlib// directory anywhere in your file system and set an environment variable named **PATHLIBDIR** to indicate where the directory may be found. For example, **PATHLIBDIR=**~/pathlib # Manually install pathlib to /usr/local. You will need super user privileges. Here is how you would do it on Ubuntu Linux: [[code]] cd pathlib sudo mkdir /usr/local/include/PATH sudo cp include/* /usr/local/include/PATH sudo cp lib/linux/dynamic/* /usr/local/lib/ ## This last line adds read permission to the headers sudo chmod o+r /usr/local/include/PATH/* [[code]]