How to successfully compile PWLIB1.5.2OpenH3231.12.2 under MSVC6

xiaoxiao2021-03-06  50

Although the latest PWLIB version has arrived 1.8.0, OpenH323 has arrived 1.15.0, OpenMCU has reached 2.0.5, but the latest version on http://www.openh323.org is still maintained at 1.5.2 and 1.12.2, I update to the latest version, but in order to record the difficult compilation process, I decided to record them.

1. First download PWLIB_1.52.zip and OpenH323_1.1.2.2.2.2.2.223_1.1.2.2.2.2.2.2.2.2.2.2.2.2.2.2.2.2.2.2.zip, OpenH323_1.1.2.2.2.zip Under the catalog E: / H323 / Source / PWLIB and E: / H323 / Source / OpenH323; 3. Start MSVC6, Tools | Options | Directories, in the following order to the include files path: E: / H323 / source / PWLIB / Include / PWLIB / MSWIN E: / H323 / Source / PWLIB / INCLUDE / PTLIB / MSOS E: / H323 / Source / PWLIB / INCLUDE E: / H323 / Source / OpenH323 / Include [Note: Order must not be wrong] Three rows Add to Library Files and Executable Files Paths C: / Tools E: / H323 / Source / Pwlib / LIB E: / H323 / Source / OpenH323 / LIB puts the above three lines into the system's path environment variable (in Setting | Control Panel | Systems | Advanced | Environment Variables | System Variables | Path. 4. If you want Bison and Flex you want to compile, you can download http://www.openh323.org/bin/flexbison.zip from here, and extract it into the C drive (must be a C disk) to confirm flex. EXE and BISON.EXE In the C: / Tools directory, confirm Bison.hairy and Bison.SIMPLE in the C: / Tools / Share directory; 5. At http://www.ebao.biz/down/configure.rar, After downloading, decompression to the E: / h323 / source / pwlib / Tools directory; 6. Open PWLIB.DSW in PWLIB, if prompted to ask you config.dsp, select Directory E: / H323 / Source / PWLIB / Tools under the configure directory under the configure directory; 7. First compile the Configure project in the build list; 8. Copy E: / H323 / Resource / PWLIB / Tools / Configure / release directory CONFIGURE.EXE to E: / H323 / source / pwlib and e: / h323 / source / openh323 directory; 9. Use Batch Build under Build, just select "AsnParser - Win32 Release", "PWTest - Win32 Release", "PWTest - Win32 Debug", make sure Others have no choice; 10. When compiling PWLIB 1.5.2, it will prompt compilation errors, reach the wrong location, in PWLIB / SRC / PTLIB / COMMON / VFAKEIO.CXX, there are many '? Less half single quotes, plus On the other half of the single single quach, it becomes: '?' (If someone knows the words, I also tell me, I haven't understood it now); 11. Open OpenH323.DSW to establish Open H.323 for Rebuild ALL Yes.

转载请注明原文地址:https://www.9cbs.com/read-116615.html

New Post(0)