How to build pjsip as DLL

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

 



Hi,

I follow the instructions here
http://www.pjsip.org/pjlib/docs/html/group__pj__dll__target.htm

I do the following step
1. Reset libpjproject to DLL (in Project properties -> Configurations
properties -> General)
2. Define macro in config_site.h

#define PJ_DLL 1
#define PJ_EXPORTING 1

#define PJ_EXPORT_SPECIFIER  __declspec(dllexport)
#define PJ_IMPORT_SPECIFIER  __declspec(dllimport)

But I received many errors. Did I do wrong ?

How to build pjsip as DLL ?

-- 
Khoa Pham
HCMC University of Science
Faculty of Information Technology
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130221/2c98b956/attachment-0001.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