Changes between Version 15 and Version 16 of Python_SIP/Build_Install


Ignore:
Timestamp:
May 6, 2009 9:44:48 AM (11 years ago)
Author:
bennylp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Python_SIP/Build_Install

    v15 v16  
    6464 1. '''Optional: debug package''': the debug package is useful if you want to debug the C extension. You can download it from ftp://ftp.activestate.com/ActivePython/etc/ 
    6565 
     66==== Visual Studio Setup ==== 
     67 
     68 1. Add Python include directory (e.g. {{{C:\Python24\include}}}) to Visual Studio include directories. 
     69 1. Add Python library directory (e.g. {{{C:\Python24\libs}}}) to Visual Studio library directories. 
     70 
    6671==== Building the Modules ==== 
    6772 
    68 '''Step 1: Building the C Extension''': 
     73'''Step 1: Building the C Extension''' 
     74 
     75Visual Studio 6: 
    6976 1. Open '''pjsip-apps.dsw''' from {{{pjsip-apps\build}}} directory. 
    7077 1. Select '''python_pjsua''' project as the active project. 
    7178 1. Build the project 
    7279 1. The {{{_pjsua.pyd}}} Python module will be placed in {{{pjsip-apps\lib}}} directory. 
     80   - or in case of debug, it will be {{{_pjsua_d.pyd}}} 
     81 
     82Visual Studio 2005: 
     83 1. Open '''pjproject-vs8.sln''' from the PJSIP distribution directory. 
     84 1. Select either '''Debug''' or '''Release''' from the build configuration 
     85   - Note: the Python module does not support other build configurations. 
     86 1. In Visual Studio, right click '''py_pjsua''' project from the ''Solution Explorer'' panel, and select '''Build''' from the pop-up menu. 
     87   - Note: the ''py_pjsua'' project is not built by default if you build the solution, hence it needs to be built manually by right-clicking and select ''Build'' from the pop-up menu. 
     88 1.  The {{{_pjsua.pyd}}} Python module will be placed in {{{pjsip-apps\lib}}} directory. 
     89   - or in case of debug, it will be {{{_pjsua_d.pyd}}} 
     90 
    7391 
    7492'''Step 2: Installing the Modules''':