pythonsipvoippjsua2

How to build PJSUA2 (swig) with Visual Studio 2015


I try to compile PJSUA2 for Python. I could manage to compile the source with Visual Studio 2015 Community edition.

My question is, how can I install the Python module now?

The guide suggests to use make and make install. I tried to install also minwg, but it is not working as the project was compiled with VS.

I have also tried to compile with minwg, but I never could succeed due to undefined requirements. Also official PJSUA guide recommend to use VS for Windows.

Following settings have been applied to build from source:


Solution

  • I could make a workaround to compile pjsua2 for Python 3.7. If you have a better solution or just suggestion to this workaround, let me know

    Preconditions:

    Steps: