Visual Studio 2005, pjsua_wince and link errors

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

 



Hi,

 

I managed to solve my own error!!! 

 

I downloaded last version of PJSIP from SVN on Monday (15th February 2010). I haven't used a specific release version, but something newer than release 1.5.5.

 

As i mentioned in my first mail, I tried to compile trunk/pjsip-apps/build/wince-evc4/wince_demos.vcw following the steps in http://trac.pjsip.org/repos/wiki/FAQ#WindowsMobileSpecificQuestions but i could'n solve link errors.

 

Reading some mails related in the list, I found http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2009-April/007280.html where Benny recommended getting the last version from SVN trunk and using the solution created for Microsoft projects (Win32, Mobile, ...).

I compiled the recommended solution (pjproject-vs8.sln, selecting Windows Mobile 6 Professional SDK (ARMV4I) and Windows Mobile 6 Professional Emulator) in Visual Studio 2005, getting some link errors again :(. 

After that I generated the projects one after another without getting any error until I reached pjsua_wince, where I got lots of link errors again... so the error had to be related to the dependencies in pjsua_wince.

 

I found a very useful message in the list http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2007-November/000888.html listing the dependences in pjsua_wince. I checked project dependencies in pjsua_wince and libpjproject was the only one selected, so I checked libpjproject dependencies.

 

I added libpjproject dependencies to:

> Project: libg7221codec

> Project: libgsmcodec
> Project: libilbccodec
> Project: libmilenage
> Project: libportaudio
> Project: libresample
> Project: libspeex
> Project: libsrtp

> Project: pjlib

> Project: pjlib_util

> Project: pjmedia

> Project: pjmedia_audiodev

> Project: pjmedia_codec

> Project: pjnath

> Project: pjsip_core

> Project: pjsip_simple

> Project: pjsip_ua

> Project: pjsua_lib

 

Compile again and... no errors!!!!

I have compiled in debug and release mode without getting errors.

 

Anyway, thanks for your help!

 

Reyes

 

 


Date: Thu, 18 Feb 2010 16:34:50 +0200
From: remo9071@xxxxxxxxx
To: pjsip at lists.pjsip.org
Subject: Re: Visual Studio 2005, pjsua_wince and link errors




Hi,


Which vcproj did you open?
I manage to compile the PJSIP 1.4 on debug and release but i can't, from some unknown reason, run only the debug version on WM devices.



On Wed, Feb 17, 2010 at 10:24 AM, Reyes S?ez Izquierdo <reyessaez at hotmail.com> wrote:


Hello,
 
I've been trying to generate pjsua_wince project from Visual Studio 2005 but I always get 19 errors when it is linking (attached below).
 
I've followed the recommended steps in http://trac.pjsip.org/repos/wiki/FAQ#WindowsMobileSpecificQuestions . 
I choose Windows Mobile 6 Professional plattform and Debug mode, but I never get a sucessful generation.
I have even re-installed Windows Mobile SDKs without any sucess.
I have also checked all the references in pjsua_wince project, but they seem to be ok.
 
Has anybody had this problem?? I don't really know what else can I try. :(
 
Thanks a lot and I'll be waiting for your generous help!
 
Reyes
________________________
THE LINK ERRORS I GET ARE THE FOLLOWING:
 
Compilando...
StdAfx.cpp
Compilando...
pjsua_wince.cpp
Compilando recursos...
Vinculando...
pjsua_lib_wince.lib(pjsua_core.obj) : error LNK2019: s?mbolo externo pjsip_timer_setting_default sin resolver al que se hace referencia en la funci?n pjsua_config_default
pjsua_lib_wince.lib(pjsua_core.obj) : error LNK2019: s?mbolo externo pjsip_mwi_init_module sin resolver al que se hace referencia en la funci?n pjsua_init
pjsua_lib_wince.lib(pjsua_core.obj) : error LNK2019: s?mbolo externo pjsip_timer_init_module sin resolver al que se hace referencia en la funci?n pjsua_init
pjnath_wince.lib(turn_sock.obj) : error LNK2001: s?mbolo externo pj_sock_apply_qos2 sin resolver
pjsua_lib_wince.lib(pjsua_core.obj) : error LNK2019: s?mbolo externo pj_sock_apply_qos2 sin resolver al que se hace referencia en la funci?n create_sip_udp_sock
pjsua_lib_wince.lib(pjsua_media.obj) : error LNK2001: s?mbolo externo pj_sock_apply_qos2 sin resolver
pjsip_core_wince.lib(sip_transport_tcp.obj) : error LNK2001: s?mbolo externo pj_sock_apply_qos2 sin resolver
pjnath_wince.lib(stun_sock.obj) : error LNK2001: s?mbolo externo pj_sock_apply_qos2 sin resolver
pjsua_lib_wince.lib(pjsua_pres.obj) : error LNK2019: s?mbolo externo pjsip_mwi_create_uac sin resolver al que se hace referencia en la funci?n pjsua_start_mwi
pjsua_lib_wince.lib(pjsua_pres.obj) : error LNK2019: s?mbolo externo pjsip_mwi_send_request sin resolver al que se hace referencia en la funci?n pjsua_start_mwi
pjsua_lib_wince.lib(pjsua_pres.obj) : error LNK2019: s?mbolo externo pjsip_mwi_initiate sin resolver al que se hace referencia en la funci?n pjsua_start_mwi
pjsua_lib_wince.lib(pjsua_call.obj) : error LNK2019: s?mbolo externo pjsip_timer_init_session sin resolver al que se hace referencia en la funci?n pjsua_call_make_call
pjsip_ua_wince.lib(sip_inv.obj) : error LNK2019: s?mbolo externo pjsip_timer_end_session sin resolver al que se hace referencia en la funci?n inv_set_state
pjsip_ua_wince.lib(sip_inv.obj) : error LNK2019: s?mbolo externo pjsip_timer_update_req sin resolver al que se hace referencia en la funci?n pjsip_inv_invite
pjsip_ua_wince.lib(sip_inv.obj) : error LNK2019: s?mbolo externo pjsip_timer_update_resp sin resolver al que se hace referencia en la funci?n pjsip_inv_initial_answer
pjsip_ua_wince.lib(sip_inv.obj) : error LNK2019: s?mbolo externo pjsip_timer_process_req sin resolver al que se hace referencia en la funci?n pjsip_inv_initial_answer
pjsip_ua_wince.lib(sip_inv.obj) : error LNK2019: s?mbolo externo pjsip_timer_process_resp sin resolver al que se hace referencia en la funci?n handle_timer_response
Windows Mobile 6 Professional SDK (ARMV4I)\Debug/pjsua_wince.exe : fatal error LNK1120: 13 externos sin resolver




?Quieres tener a tus amigos de Facebook en Messenger? ?Clic AQU?!
_______________________________________________
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


 		 	   		  
_________________________________________________________________
?A?n no sabes qu? m?vil eres? ?Desc?brelo aqu?!
http://www.quemovileres.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100218/7e2b5468/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