![]() |
Building OPAL on Windows Craig Southeren Last updated 26 June 2006 |
| 1. Introduction | |
| 2. Prequisites | |
| 3. Download and install the PWLib source code | |
| 4. Configure directories | |
| 5. Compiling | |
| 5a. MSVC 6 | |
| 5b. VS.net 2003 and VS.net 2005 | |
| 5c. Configure search paths | |
| Change history |
This document provides a thorough description of building OPAL using both MSVC 6 and VS.net 2003. These procedures are based on the procedures for building PWLib which must be completed before these steps can be performed.
You will need the following to compile OPAL from source code:
3. Download and install the OPAL source code
Download and extract the OPAL source code from the OpenH323 SourceForge download page or from CVS. If extracting the source from an archive, it is important to use program that can correctly handle tar.gz files can correctly process end of line characters. We strongly recommend WinZIP - other programs may not correct process end of line characters and will cause problems in later stages.
For the purposes of this document, the directory that contains OPAL will be indicated as installdir\OPAL
Select "Tools" from the "Options" menu, and add the following directories settings as required
See this document for how to set directories for your particular environment
Regardless of the environment you are using, there are a number of different projects that can be built. The basic OPAL library can be built in three different ways:
| Name | Description | Debug version | Release version | No trace version |
|---|---|---|---|---|
| OPALLib | OPAL as a static library | OPALsd.lib | OPALs.lib | OPALsn.lib |
| OPALdll | OPAL as a dynamic library | OPALd.lib & OPALd.lib |
OPAL.lib & OPAL.lib |
OPALn.lib & OPALn.lib |
The static library versions of OPAL can be built independently, but building the OPAL DLLs requires building the "MERGESYM" utility from the Release version of PWLib. The codec DLLs do not require mergesym
Right-click on "OPAL_lib files" and select "Build" from the menu to build opals.lib (or opalsd.lib if you are building the "Win32 Debug" version, or opalsn.lib if you are building the "Win32 No Trace" version).
5b. VS.net 2003 and VS.net 2005
Right-click on "OPAL_Lib" and select "Build" from the menu to opals.lib (or opalsd.lib if you are building the "Win32 Debug" version, or opalsn.lib if you are building the "Win32 No Trace" version).
If configure finds options in directories not belonging to other compilers, such as Cygwin, MSys, or an incompatible Microsoft compiler, then please read the section 4.32 of the Opal/OpenH323 FAQ on how to tailor the configure search path
| 26 June 2006 | Craig Southeren | Added 5c on configure search paths and info on VS.net 2005 |
| 10 June 2004 | Craig Southeren | Initial version |
Copyright © 2003-2007 by Post Increment
A.B.N 95 856 785 279
All Rights Reserved
All trademarks and copyrights on this page are owned by their respective owners.