|
Documents Download Building Support Wiki Stuff |
Main /
Building Opal on WindowsContents
1. IntroductionThis document provides a thorough description of the building PTLib for Visual Studio on Windows. Support for MSVC 6 and DevStudio 2003 is no longer maintained as they are very old and MSVC 6 in particular contains bugs that cause many problems. While Windows 2000 may work for builds and running executables, it is expected that at least Windows XP would be used and no gurantees are made the future versions. 2. PrerequisitesYou will need the following:
3. Download and install the OPAL source codeDownload and extract the OPAL source code. For the purposes of this document, the directory that contains Opal will be indicated as installdir\OPAL The OPAL source may be downloaded as a ZIP file from the SourceForge download page or you may download it using Subversion 4. Open the solution fileIf you are using VS.net 2005, open the If you are using VS.net 2008, open the If you are using VS 2010, open the The solution contain the following projects:
5. Configure directoriesOnce Visual Studio is started, select "Tools" from the "Options" menu, then open the "Projects and Solutions" element in the tree on the left, and finally select the "VC++ Directories" entry. Add the following directories settings: * Add installdir\OPAL\INCLUDE to the Include directory list
* Add installdir\OPAL\LIB to the Library directory list
Note: for Windows Mobile, make sure you also set those platforms, see Notes on Windows Mobile 6. Build the
|