Hi, The __imp__ prefix may be related to win32 dll things, please make sure there no PJ_DLL defined in your application project (or config files). Btw, everybody, please use proper mail subjects :) Regards, nanang On Sat, Nov 15, 2008 at 1:36 PM, nitu dhanurved <nitudhanurved16 at gmail.com> wrote: > > > ---------- Forwarded message ---------- > From: <pjsip-bounces@xxxxxxxxxxxxxxx> > Date: Sat, Nov 15, 2008 at 11:24 AM > Subject: The results of your email commands > To: nitudhanurved16 at gmail.com > > > The results of your email command are provided below. Attached is your > original message. > > - Results: > Ignoring non-text/plain MIME parts > > - Unprocessed: > i have download the pj project, and making another small project like > 200line sample program, afetr adding that project inside the pjproject, i > did all linking work, but when i am calling pj_init(); fuction > it > is giving me error that is: > error LNK2019: unresolved external symbol __imp__pj_init referenced in > function _main > for linking i have done-> > 1> tools->options->vc++directory setting->include and library files(i had > included the all files ) > 2>i have added the project dependency on that project whatever i am > making > 3>in property->linker->input->addition dependency i added > pjlib-i386-win32-vc8-debug.lib > pjlib-util-i386-win32-vc8-debug.lib > pjmedia-i386-win32-vc8-debug.lib > pjmedia-codec-i386-win32-vc8-debug.lib > pjnath-i386-win32-vc8-debug.lib > pjsip-core-i386-win32-vc8-debug.lib > pjsip-ua-i386-win32-vc8-debug.lib > pjsip-simple-i386-win32-vc8-debug.lib > pjsua-lib-i386-win32-vc8-debug.lib > 4> in property->c/c++->general->addition include directory i added > > - Ignored: > - pjlib/include > - pjlib-util/include > - pjnath/include > - pjmedia/include > - pjsip/include > > (with my complete path of that include files) > > am i missing any thing, can anyone tell me why it is giving error???????? > > - Done. > > > > ---------- Forwarded message ---------- > From: "nitu dhanurved" <nitudhanurved16@xxxxxxxxx> > To: pjsip-request at lists.pjsip.org > Date: Sat, 15 Nov 2008 11:24:14 +0530 > Subject: linking error(error LNK2019: unresolved external symbol) > hi, > i have download the pj project, and making another small project like > 200line sample program, afetr adding that project inside the pjproject, i > did all linking work, but when i am calling pj_init(); fuction it > is giving me error that is: > error LNK2019: unresolved external symbol __imp__pj_init referenced in > function _main > > for linking i have done-> > 1> tools->options->vc++directory setting->include and library files(i had > included the all files ) > 2>i have added the project dependency on that project whatever i am making > 3>in property->linker->input->addition dependency i added > pjlib-i386-win32-vc8-debug.lib > pjlib-util-i386-win32-vc8-debug.lib > pjmedia-i386-win32-vc8-debug.lib > pjmedia-codec-i386-win32-vc8-debug.lib > pjnath-i386-win32-vc8-debug.lib > pjsip-core-i386-win32-vc8-debug.lib > pjsip-ua-i386-win32-vc8-debug.lib > pjsip-simple-i386-win32-vc8-debug.lib > pjsua-lib-i386-win32-vc8-debug.lib > > 4> in property->c/c++->general->addition include directory i added > > pjlib/include > pjlib-util/include > pjnath/include > pjmedia/include > pjsip/include > > (with my complete path of that include files) > > am i missing any thing, can anyone tell me why it is giving error???????? > > > > > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >