Linker error compiling simple_pjsua.c

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

 



Hello everyone,

I am trying PJSUA sample program present at
http://www.pjsip.org/pjsip/docs/html/page_pjsip_samples_pjsua.htm

But getting linker errors:

simple_pjsua.obj : error LNK2001: unresolved external symbol "int
pjsip_use_compact_form" (?pjsip_use_compact_form@@3HA)
simple_pjsua.obj : error LNK2001: unresolved external symbol "int
pjsip_use_compact_form" (?pjsip_use_compact_form@@3HA)
simple_pjsua.obj : error LNK2001: unresolved external symbol "int
pjmedia_add_rtpmap_for_static_pt" (?pjmedia_add_rtpmap_for_static_pt@@3HA)
simple_pjsua.obj : error LNK2001: unresolved external symbol "int
pjsip_include_allow_hdr_in_dlg" (?pjsip_include_allow_hdr_in_dlg@@3HA)
MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main
referenced in function ___tmainCRTStartup

I have included all lib files
in lib pjlib\lib pjlib-util\lib pjmedia\lib pjnath\lib pjsip\lib
third_party\lib
.

I have successfully compiled and run program
*simple_pjsua.c<http://www.pjsip.org/pjsip/docs/html/page_pjsip_sample_simple_pjsuaua_c.htm>
 *using the same settings

But could not build this one. I am using Visual Studio 2008 on Windows XP

Thanks for any help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20091026/83345e9e/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