On date Monday 2008-09-22 14:53:16 +0530, Subbu Rajendran phoned this:
> I also faced a similar issue. I tried to compile the sofia sip code
> to create the library and then link the generated lib to my
> application. I got these errors when trying to compile the sofia sip
> code. I am not able to completely re-collect how I fixed this, but
> give this a try. Hope this helps you.
> 
> 1. In order to compile the code with Windows 2000 SDK you have to
> install so called "IPv6 Technology Preview for Windows 2000". The
> preview contains updated IPv6 API in <tpipv6.h> and <wspiapi.h>
> header files.
> http://msdn.microsoft.com/downloads/sdks/platform/tpipv6.asp
> 
> I used visual studio .net 2003.
> 
> 2.  Open the .\sofia-sip\win32\SofiaSIP.dsw to open the complete
> list of projects. This includes sofia sip library project (DLLs &
> static libraries) and few test programs.
> 
> 3. The following paths to be added to the list of include directories
> .\libsofia-sip-ua\bnf
> .\libsofia-sip-ua\http
> .\libsofia-sip-ua\ipt
> .\libsofia-sip-ua\iptsec
> .\libsofia-sip-ua\msg
> .\libsofia-sip-ua\nea
> .\libsofia-sip-ua\nta
> .\libsofia-sip-ua\nth
> .\libsofia-sip-ua\nua
> .\libsofia-sip-ua\sdp
> .\libsofia-sip-ua\sip
> .\libsofia-sip-ua\soa
> .\libsofia-sip-ua\sresolv
> .\libsofia-sip-ua\stun
> .\libsofia-sip-ua\su
> .\libsofia-sip-ua\tport
> .\libsofia-sip-ua\url
> .\win32\pthread
> 
> 4. Add libraries ws2_32.lib & Iphlpapi.lib to the dependency list

[...]
> From: Francesco Lamonica [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 22, 2008 2:05 PM
> To: sofia-sip-devel Mailing List
> Subject: Re: [Sofia-sip-devel] Problem compiling a little application with 
> visual studio 2005
> 
> Hi Stefano,
> I am no VS2005 expert either but i had a few problems on lib
> dependencies as well, what windows lib are you linking against right
> now? (you can check it in the project properties under the LINKER
> section)
[...]

Hi guys,
the problem was in the compilation of sip_options_static, we had had
to add the dependency on ws232_32.lib and Ipphlpapi.lib and
Advapi32.lib (settable through the linker options), the library were
already installed on the system.

After setting those dependencies, the project finally compiled!!
Hurra!

Thanks so much for your time and help Subbu, Francesco and Mike.

Regards.
-- 
Stefano Sabatini
http://www.reilabs.com

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to