[speex-dev] compiling in windows
Jean-Marc Valin
Jean-Marc.Valin at USherbrooke.ca
Thu Aug 28 16:18:03 PDT 2003
I've got no experience in windows development, but I think this is
probably a problem with your setup or the compiling options and not with
the code itself.
Jean-Marc
Le jeu 28/08/2003 à 17:05, Nick a écrit :
> Hi,
>
> I'm trying to compile speex in windows and I get this error:
>
> Linking...
> MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _malloc already defined in
> LIBCD.lib(dbgheap.obj)
> MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _free already defined in
> LIBCD.lib(dbgheap.obj)
> MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _memmove already defined in
> LIBCD.lib(memmove.obj)
> MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _realloc already defined in
> LIBCD.lib(dbgheap.obj)
> LINK : warning LNK4098: defaultlib "MSVCRTD" conflicts with use of
> other libs; use /NODEFAULTLIB:library
> Debug/speexenc.exe : fatal error LNK1169: one or more multiply defined
> symbols found
> Error executing link.exe.
>
> If I ignore msvcrtd.lib I get this error:
> Linking...
> LINK : warning LNK4049: locally defined symbol "_malloc" imported
> LINK : warning LNK4049: locally defined symbol "_free" imported
> LINK : warning LNK4049: locally defined symbol " _memmove" imported
> LINK : warning LNK4049: locally defined symbol "_realloc" imported
> ogg_static.lib(framing.obj) : error LNK2001: unresolved external
> symbol __imp__memchr
> Debug/xp2.exe : fatal error LNK1120: 1 unresolved externals
> Error executing link.exe.
>
> If I ignore libcd.lib it compiles ok, but I get a fatal runtime error.
>
> Anybody know what I'm doing wrong?
> Thanks,
> Nick
>
>
> ______________________________________________________________________
> Join Excite! - http://www.excite.com
> The most personalized portal on the Web!
--
Jean-Marc Valin, M.Sc.A., ing. jr.
LABORIUS (http://www.gel.usherb.ca/laborius)
Université de Sherbrooke, Québec, Canada
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Ceci est une partie de message numériquement signée
Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20030828/97f2a69d/signature-0001.pgp
More information about the Speex-dev
mailing list