Updating from 1.10

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

 



Hi,

I have a client on windows that uses the library version 1.10. My colleague
used it as that was the stablest version then. She has left now and I have
decided that the first thing I should do is update the library to 2.0

As the client uses the old pjsua APIs I have set

#define DISABLED_FOR_TICKET_1185    1

But I get compilation errors due to argument mismatch in several functions:
Error    3    error C2198: '*create_ice_media_transport' : too few
arguments for call*  ...\pjsip\src\pjsua-lib\pjsua_media.c    787
pjsua_lib
Error    4    error C2065: 'i' : undeclared identifier
...\pjsip\src\pjsua-lib\pjsua_media.c    1488    pjsua_lib
Error    5    error C2065: 'i' : undeclared identifier
...\pjsip\src\pjsua-lib\pjsua_media.c    1488    pjsua_lib
Error    7    error C2065: 'i' : undeclared identifier
...\pjsip\src\pjsua-lib\pjsua_media.c    1488    pjsua_lib
Error    8    error C2065: 'i' : undeclared identifier
...\pjsip\src\pjsua-lib\pjsua_media.c    1489    pjsua_lib
Error    9    error C2039: '*med_tp' : is not a member of 'pjsua_call*'
...\pjsip\src\pjsua-lib\pjsua_core.c    426    pjsua_lib
Error    10    error C2039: *'med_tp' : is not a member of 'pjsua_call'*
...\pjsip\src\pjsua-lib\pjsua_core.c    431    pjsua_lib
Error    12    error C2198: *'pjmedia_transport_get_info' : too few
arguments for call*    ...\pjsip\src\pjsua-lib\pjsua_core.c    431
pjsua_lib
Error    14    error C2039: *'tp' : is not a member of 'pjsua_call' *
...\pjsip\src\pjsua-lib\pjsua_call.c    3209    pjsua_lib
Error    15    error C2039: *'med_tp' : is not a member of 'pjsua_call'*
...\pjsip\src\pjsua-lib\pjsua_call.c    3216    pjsua_lib
Error    17    error C2198: *'pjmedia_transport_get_info' : too few
arguments for call *   ...\pjsip\src\pjsua-lib\pjsua_call.c    3216
pjsua_lib

I will eventually move to the new APIs, but as a first step I wanted to
work with just the updated library and same old APIs as the application I
have uses them. Also, I am new to the group and am going to stay here for
quite a while and more importantly am really enthusiastic to learn :)  So
any related advice would be greatly appreciated.

Lastly, I am running Visual Studio 2008 Professional Edition and am calling
the library through DLLs

Thanks,
Arjun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120531/9e7447ea/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