create pjsip.dll

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

 



Hi,

for a C# project, I use pjsip in conjunction with SIPEK SDK. My problem is, that die pjsip.dll which has been delivered with SIPEK SDK is very old and makes funky noises with the G.722 codec. 

Now I tried to build the pjsip.dll with Visual Express 2013 for Desktop and read this documentation to do so: http://www.pjsip.org/pjlib/docs/html/group__pj__dll__target.htm <http://www.pjsip.org/pjlib/docs/html/group__pj__dll__target.htm> , but I totally fail. I get about 500 errors during the build process. I have to say, that I?m not a C crack ?

I added this to the config_site.h file:

#define PJ_WIN32 1
 
#define PJ_DLL 1
#define PJ_EXPORTING 1
#define PJ_EXPORT_SPECIFIER  __declspec(dllexport)
#define PJ_IMPORT_SPECIFIER  __declspec(dllimport)
 
#include <pj/config_site_sample.h

And I right clicked on the pjsip project and under  ?Configuration Properties? ? ?General" ? "Project Defaults" ? "Configuration Type? I changed the configuration type from ?Static Library (.lib)? to ?Dynamic library (.dll)?, but I?m not able to build the necessary dll.

Please could someone help me?

Thanks in advance
Thorsten




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20150330/5ad83cb2/attachment.html>


[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