# Installation Instructions

####
1. Install the dynamic link libraries

- Add the OpenPTC "library" directory to your path, or alternatively, copy the *.dll files from the library directory to your windows system directory.
- If you do not have the dynamic link libraries in your path then none of your programs that use OpenPTC will be able to run.
- If you have installed the OpenPTC libraries to your system via the installation program, you should be careful that you are running the correct version. To be sure, remove the ptc.dll/ptcdebug.dll/hermes.dll installed to your system directory, and replace them with the ones from this release.

####
2. Generate the import libraries for your compiler

> a) Visual C++ 4.x/5.0/6.0

> - You can skip this step because OpenPTC for Windows comes with import libraries for Visual C++ in the "libraries/visual" directory.

> b) Other compilers

> - Import libraries are not included for compilers other than Visual C++.
> - Don't worry, its simple to generate the import libraries for your compiler.
> - Read the Compiler Instructions page for more information.

####
3. Compile and run the examples and demos

> a) Visual C++ 5.0/6.0

> - You can build the example programs by opening up the "Examples.dsw" directory in the "Examples" directory.
> - To build the demo programs open up the "Demos.dsw" workspace file in the "Demos" directory.
> - You can move between separate projects in the workspace using "Set Active Configuration" in the build menu. This is how you can choose which executable you want to build and run. If you have the project view window open, you can right click on the project name in the class view or file view tree and select "Set as Active Project" to make that the current project to build and run.
> - See the Compiler Instructions page for more information.

> b) Other compilers

> - Read the Compiler Instructions page for information on how to build the example and demo programs with your compiler.

####
4. Build your own applications using OpenPTC

> a) Visual C++ 5.0/6.0

> - Read the 'How to create your own projects inVisual C++' tutorial for instructions on how to setup your own project and workspace for Visual C++ and OpenPTC.

> b) Other compilers

> - Study the batch files for your compiler in the "scripts" directory. You can either choose to use these batch files as is, modify them to suit your needs, or setup your own batch files, makefiles, projects or whatever for your compiler.
> - See the Scripts Guide for more information.

#### 5. What if you cant get it to work?

- You can get support on the newsgroup news.scene.org/coders.ptc.
- If you find a bug you can report it to news.scene.org/coders.ptc.bugs.