I downloaded and compiled PJSIP in Visual Studio 2013 .
Collected by opening *.sln in the main section of the downloaded library and clicking build in the Release-Static , without environment errors.
Then I found out that a bunch of different *.lib in different folders.
For the project, in essence, only the SIP parser is needed ( SDP - perhaps, well, forming the answer). Which of these *.lib and *.h connect to the project for future use?
UPDATE:
I tried in the test project to connect in the VC++ Directories->Include Directories all include folders from all projects in the library root and, accordingly, in the VC++ Directories->Library Directories all lib folders in all projects and the lib folder in the library root.
On the manual connected the following headers:
#include <pjlib.h> #include <pjlib-util.h> #include <pjsip.h> #include <pjsip_ua.h> #include <pjsip_simple.h> #include <pjsua.h> #include <pjmedia.h> #include <pjmedia-codec.h> And then in main() called pj_init(); To which the linker shortly cursed:Test_SIP.obj : error LNK2001: unresolved external symbol _pj_init
I connected all the libraries, but the link was not found ... Maybe now I’ll try to manually register all the libraries, but I think it will not bring success.