Hi Alexander,

I'm using the project file send by you and build the project as:

Configuration Type: Static Library (.lib)
Runtime Library: Multi-threaded DLL (/MD)

And I get the libspeex.lib file (I was able to get this file last night as 
well). But when I use this file with sipxtapi-media-update branch then I get 
the following errors. I tried with all the library files uploaded by you at the 
tracker and I get the same errors.

sipXtapi error LNK2005: __strdup already defined in LIBCMTD.lib(strdup.obj)
sipXtapi fatal error LNK1169: one or more multiply defined symbols found
sipXtapi warning LNK4006: __strdup already defined in LIBCMTD.lib(strdup.obj); 
second definition ignored
sipXtapi warning LNK4075: ignoring '/INCREMENTAL' due to '/LTCG' specification
sipXtapi warning LNK4075: ignoring '/INCREMENTAL' due to '/OPT:ICF' 
specification
sipXtapi warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of other 
libs; use /NODEFAULTLIB:library
sipXtapi warning LNK4218: non-native module found; restarting link with /LTCG

I then added /NODEFAULTLIB:libcmtd.lib to sipxtapi properties->Linker->Command 
Line->Additional Options and now I'm able to build the library.

Thanks,
Hitesh
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to