![]() Right-click on "PTLib" and select "Build" from the menu to build ptlib.dll (or ptlibd.dll if you are building the "Debug" version). Right-click on "Console Components" and select "Build" from the menu to build ptclib.lib (or ptclibd.lib if you are building the "Debug" version). right-click on "Console" and select "Build" from the menu to build ptlibs.lib (or ptlibsd.lib if you are building the "Debug" version) select the build type as "Release" or "Debug" in the Build toolbar make sure the "Solution explorer" windows is displayed You may also receive some unimportant warnings which you can ignore.įor VS.net follow these steps - open the project file “PWLIB\PWLIB.SLN”. Note that MERGESYM will be automatically built the first time you build either ptlib.dll or ptlibs.dll, which may require also building the "Win32 Release" version of Console and Console Components if that was not done previously. Right-click on "PTLib files and select "Build" from the menu to build ptlib.dll (or ptlibd.dll if you are building the "Win32 Debug" version). This will build ptclib.lib (or ptclibd.lib if you are building the "Win32 Debug" version). Right-click on "Console Components files" and select "Build" from the menu. Please re-read and re-run the section on upgrading the MSVC 6 header files. Please run "msvc6chk upgrade" to upgrade this fileĮrror executing c:\winnt\system32\cmd.exe. WARNING: the following file requires upgrading:Ĭ:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\XTREE If the compile stops with the following message: For this to work, you need to select "Options" from the "Tools" menu and ensure that the include and lib directories for the Platform SDK are before the VC98 include directories.Ģ. ![]() Then it means that you are using the Microsoft Platform SDK. 'ULONG_PTR' : missing storage-class or type specifiers 'Key'\\ C:/Program Files/Microsoft SDK/include/winsock2.h(1262): error C2501: If not, you may want to look at the following two tips, which may help you to compile Pwlib:Ĭ:/Program Files/Microsoft SDK/include/winsock2.h(1218) : error C2061: syntax error : identifier 'DWORD_PTR'Ĭ:/Program Files/Microsoft SDK/include/winsock2.h(1262) : error C2146: syntax error : missing ' ' before identifier right-click on "Console files" and select "Build" from the menu to build ptlibs.lib (or ptlibsd.lib for "Win32 Debug" version) select the build type as "Win32 Release" or "Win32 Debug" from the Build toolbar make sure the "File view" tab is selected in the Workspace PTLib : contains the basic PWLib libraryĭebug: ptlibd.lib and ptlibd.dll Release: ptlib.lib and ptlib.dllįor MSVC 6 follow these steps - open the project file “\PWLIB\PWLIB.DSW”.Console Components : contains the basic PWLib library.Console : the basic PWLib library as a static library.There are three different projects that can be built as Debug or Release versions, for both MSVC 6 and VS.Net: pathto\PWLIB\LIB to the Library directory list pathto\PWLIB\LIB to the Executable directory list pathto\PWLIB\INCLUDE to the Include directory list The next step is to go to Tools-Options and add the following paths required for compilation: This is a batch file that searches for the good files and replaces the old ones in the right places. Navigate to “\Pwlib\” and run MSVC_UPGRADE.BAT. These files are included in the Pwlib source directory. These were eventually corrected in the newer, bug-free versions. When the STL library for MSVC was introduced, some mistakes were made, sufficiently big enough to make Pwlib not to work correctly. If you are using VS.Net 2003, skip this step.) If you use VS.Net, go to Tools-Options-VC++ Directories and add "C:\Tools" to the executable directory path. If you are using MSVC 6, navigate to Tools-Options-Directories and add "C:\Tools" to the executable directory path. GNU flex is not a necessary requirement, but, if you want to recompile the "asnparser" utility for making changes in the ASN files that come with OpenH323, you will need to install it too. The GNU Bison tool is required for compiling Pwlib. A proper suggestion might be WinZipĪfter downloading and unzipping to a directory (let’s call it "\Pwlib\"), there is a little more work to do, by installing GNU Bison and checking Visual C++ header files. Note that it needs to handle end of line characters properly. The source code for PWLib, which can be downloaded from or from CVS The following are needed in order to build Pwlib successfully: PWLib can be installed using Microsoft Visual Studio 6.0 (MSVC) or Visual Studio. This chapter will guide you on this process step by step. We will start this section with the PWLib installation which is order to install OpenH323.įor installing PWLib you have to build it. 2.2.2 VS.Net users should follow these steps:.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |