Min Qin
2007-Feb-28 23:44 UTC
[Speex-dev] Linking problem when using speex with visual studio 6.0
Hi, dear all I got the following problem when using speex1.2beta1 with VS 6.0: LINK : warning LNK4098: defaultlib "LIBCD" conflicts with use of other libs; use /NODEFAULTLIB:library libspeex.lib(sb_celp.obj) : error LNK2001: unresolved external symbol _lpc_window libspeex.lib(nb_celp.obj) : error LNK2001: unresolved external symbol _lpc_window I compiled speex1.2beta1 under win32 directory and got the libspeex.lib, however, when I call speex_encoder_init() the above linking error appears. Anyone has any idea? Min -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20070228/ee97c507/attachment.html
Jean-Marc Valin
2007-Mar-01 04:00 UTC
[Speex-dev] Linking problem when using speex with visual studio 6.0
Add window.c to your project file. Jean-Marc Min Qin a ?crit :> Hi, dear all > I got the following problem when using speex1.2beta1 with VS 6.0: > > LINK : warning LNK4098: defaultlib "LIBCD" conflicts with use of other > libs; > use /NODEFAULTLIB:library > libspeex.lib(sb_celp.obj) : error LNK2001: unresolved external symbol > _lpc_window > libspeex.lib(nb_celp.obj) : error LNK2001: unresolved external symbol > _lpc_window > > I compiled speex1.2beta1 under win32 directory and got the libspeex.lib, > however, when I call speex_encoder_init() the above linking error appears. > Anyone has any idea? > > Min > > > ------------------------------------------------------------------------ > > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev