[vorbis] Date: Tue, 25 Jun 2002 00:06:12 +0300
James Boer
james.boer at gte.net
Mon Jun 24 14:38:18 PDT 2002
These are VC 6 instructions, so your mileage may vary...
Go to Project | Settings, and make sure you have the debug executable
project selected. Select the Link tab, and choose the "Input" category in
the drop down dialog. You will see a field labelled "Ignore Libraries".
Type "msvcrtd.lib" in this field to prevent this library from linking with
your project.
Let me know if that fixes things for you.
<p><p>> -----Original Message-----
> From: owner-vorbis at xiph.org [mailto:owner-vorbis at xiph.org]On Behalf Of GIE
> Sent: Monday, June 24, 2002 2:06 PM
> To: vorbis at xiph.org
> Subject: [vorbis] Date: Tue, 25 Jun 2002 00:06:12 +0300
>
>
> Hello!
>
> I'm trying to compile decoder_example.c example (MS VC 7) using
> debug static
> ogg/vorbis libs with no luck. I got linker errors:
>
> Linking...
>
> MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _malloc already defined in
> LIBCD.lib(dbgheap.obj)
>
> MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _free already defined in
> LIBCD.lib(dbgheap.obj)
>
> MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _memmove already defined in
> LIBCD.lib(memmove.obj)
>
> MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _realloc already defined in
> LIBCD.lib(dbgheap.obj)
>
> MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _calloc already defined in
> LIBCD.lib(dbgheap.obj)
>
> MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _ldexp already defined in
> LIBCD.lib(ldexp.obj)
>
> MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _fclose already defined in
> LIBCD.lib(fclose.obj)
>
> MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _fprintf already defined in
> LIBCD.lib(fprintf.obj)
>
> MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _sprintf already defined in
> LIBCD.lib(sprintf.obj)
>
> LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other
> libs; use /NODEFAULTLIB:library
>
> Debug/vorbis_test.exe : fatal error LNK1169: one or more multiply defined
> symbols found
>
>
> While it is compiling fine using release libs.
> What is the problem?
> Thanks for any help.
>
> --
> Best regards,
> GIE
>
>
> --- >8 ----
> List archives: http://www.xiph.org/archives/
> Ogg project homepage: http://www.xiph.org/ogg/
> To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
> containing only the word 'unsubscribe' in the body. No subject is needed.
> Unsubscribe messages sent to the list will be ignored/filtered.
>
<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis
mailing list