Help compiling python_pjsua with python 2.7 on Windows 8 with VS2012

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,

I am new to compiling software on windows, I was wondering if anyone has 
had success compiling  the python libraries on windows with python 2.7. 
I can compile against 2.4 no problem but haven't been able to get it to 
work with python 2.7. I found a list post from 2007 that recommended 
editing pjsip-apps/build/python_pjsua.vcxproj accordingly

So these are the steps I have taken with VS2012 and Windows 8:
Imported the project, everything imports OK
Create the config_site.h (empty)
Set pjsua as startup project, build pjsua OK
Modify all references of python24 and Python-2.4 to python27 and 
Python-2.7 respectively in 'pjsip-apps/build/python_pjsua.vcxproj'
Modify the properties of the python_pjsua project to include the 
C:\python27\libs and C:\python27\include
Build python_pjsua FAIL

VS gives me 31 errors here ar a few:
Error    10    error LNK2019: unresolved external symbol 
__imp__PyType_Ready referenced in function _init_pjsua C:\Users\Jesse 
Cloutier\Library\Projects\pjproject-2.1\pjproject-2.1.0\pjsip-apps\build\_pjsua.obj 
python_pjsua
Error    11    error LNK2019: unresolved external symbol 
__imp__PyType_GenericNew referenced in function 
_py_pjsua_media_config_default    C:\Users\Jesse 
Cloutier\Library\Projects\pjproject-2.1\pjproject-2.1.0\pjsip-apps\build\_pjsua.obj 
python_pjsua
Error    12    error LNK2019: unresolved external symbol 
__imp__PyCallable_Check referenced in function _cb_log_cb C:\Users\Jesse 
Cloutier\Library\Projects\pjproject-2.1\pjproject-2.1.0\pjsip-apps\build\_pjsua.obj 
python_pjsua


Can anyone point me in the right direction?

Thanks



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux