Linking to PJSIP libraries trigger a lot of warnings.

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

 



I use  gnu  ,g++   build   not  vs2008 

------------------				 
jf
2009-05-03

-------------------------------------------------------------
????Alan Bond
?????2009-05-02 19:02:07
????'pjsip list'
???
???Re: [pjsip] Linking to PJSIP libraries trigger a lot of warnings.

Peter,

The easy way to fix this is to change the Debug Information Format to C7 Compatible (/Z7) on each of the library projects defined in the VS2008 solution. You'll find this on the C/C++ General tab of each project's property sheet.  This is the normal approach to use when building static link libraries with VS2008 as you'll see from the VS2008 help on this setting.  There are no downsides to this that I'm aware of.

By default VS2008 uses .PDB files for debug symbols rather than embedding them in object modules and eventually .LIB files.  The linker is whinging that it cannot find the .PDB file when linking your applications because it is not being placed in the same place as the .LIB file in the pjsip source tree.

Hope that helps.  

-----Original Message-----
From: pjsip-bounces@xxxxxxxxxxxxxxx [mailto:pjsip-bounces at lists.pjsip.org] On Behalf Of Peter Cai
Sent: 02 May 2009 08:27
To: pjsip list
Subject: Linking to PJSIP libraries trigger a lot of warnings.

I'm using visual studio 2008 to compile PJSIP libraries.  And I write
an application to use these libraries.

When I compile my application, I got a lot of warnings, like this:

      Warning	1	warning LNK4099: PDB 'vc90.pdb' was not found with
'G:\trunk\sdk\pjsip\pjproject-1.0.1\pjlib\lib\pjlib-i386-win32-vc8-debug.lib'
or at 'G:\trunk\sdk\Debug\vc90.pdb'; linking object as if no debug
info	pjlib-i386-win32-vc8-debug.lib	vivs_core


Did I missed some compile options when I compile PJSIP?


-- 
look to the things around you,the immediate world around you, if you
are alive,it will mean something to you ??Paul Strand

_______________________________________________
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
_______________________________________________
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


[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