Changes between Version 13 and Version 14 of Getting-Started/Windows
- Timestamp:
- Apr 29, 2009 5:14:04 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Getting-Started/Windows
v13 v14 71 71 5. Build and debug the project. 72 72 73 == Using pjproject libraries for your own application ==73 == Next: Using pjproject libraries for your own application == 74 74 75 75 Regardless of the build system being used, the following tasks are normally needed to be done in order to build application to use PJSIP and PJMEDIA: … … 81 81 * pjmedia/include 82 82 * pjsip/include 83 2. Put these library directories in the library search path: 84 * pjlib/lib 85 * pjlib-util/lib 86 * pjnath/lib 87 * pjmedia/lib 88 * pjsip/lib 89 3. 90 91 Include the relevant PJ header files in the application source file. For example, using these would include ALL APIs exported by PJ: 83 2. Put the combined library directory '''lib''' in the library search path 84 3. Include the relevant PJ header files in the application source file. For example, using these would include ALL APIs exported by PJ: 92 85 #include <pjlib.h> 93 86 #include <pjlib-util.h> … … 101 94 102 95 (Note: the documentation of the relevant libraries should say which header files should be included to get the declaration of the APIs). 103 4. 104 105 Declare the OS macros. 96 4. Declare the OS macros. 106 97 * For Windows applications built with Visual Studio, we need to declare PJ_WIN32=1 macro in the project settings (declaring the macro in the source file may not be sufficient). 107 98 * For Windows Mobile applications build with Visual C++, we need to declare PJ_WIN32_WINCE=1 macro in the project settings. … … 109 100 110 101 (Note: the old PJ build system requires declaring the target processor with PJ_M_XXX=1 macro, but this has been made obsolete. The target processor will be detected from compiler's predefined macro by pjlib/config.h file). 111 5. 112 113 Link with the appropriate PJ libraries. The following libraries will need to be included in the library link specifications: 102 5. Link with the appropriate PJ libraries. The following libraries will need to be included in the library link specifications: 114 103 115 104 pjlib