[pjsip] py_pjsua windows compiling
sergioalboraya at yahoo.es
Wed Sep 19 10:46:17 EDT 2007
Thanks for your help. I have successfully compiled the python module.
I have added several libraries and includes through the tools - options - projects and solutions - vc++ directories. These libraries and includes are Platform SDK, DirectX and Python 2.4. I tried to compile it using Python 2.5 but it didn't let me and kept asking about python24.lib.
So, now, I have another problem when I try to execute the pjsua_app.py file with a Python25 I have this output:
ImportError: Module use of python24.dll conflicts with this version of Python.
and when I try with a Python 24 it says something about the python c runtime library not being compatible.
Anyone having the same problem? What is the best way to run the python samples in a windows environment? I have succesfully compiled it in linux but I do need it running in windows.
Thanks for your help,
PS: BTW I got a warning when I compiled the py_pjsua, just to share with you:
1>..\src\py_pjsua\py_pjsua.c(7408) : warning C4996: '_snprintf' was declared deprecated
1> C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(339) : see declaration of '_snprintf'
1> Message: 'This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
Benny Prijono <bennylp at pjsip.org> escribió: S G wrote:
> Hi folks,
> I would like to know how can I compile the py_pjsua module easily in
> Windows XP.
Just open pjsip-apps/build/pjsip_apps.dsw and build the Python module!
> I had no problem compiling the pjsua module using mingw (the visual
> studio vave tons of errors) and it is up and running but I am really
> interested in the python version.
> I tried to follow the instructions using visual studio but I get several
> errors that you can find below.
> Thank you very much.
> Best regards,
> 1>------ Build started: Project: py_pjsua, Configuration: Release Win32
> 1> Creating library
> .\output\py_pjsua-i386-win32-vc6-release/py_pjsua.lib and object
> 1>py_pjsua.obj : error LNK2019: unresolved external symbol
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip at lists.pjsip.org
Sé un Mejor Amante del Cine
¿Quieres saber cómo? ¡Deja que otras personas te ayuden!.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pjsip