[vorbis-dev] Win32 builds
Brian Hook
brianhook at pyrogon.com
Wed Nov 7 11:42:14 PST 2001
To answer my own question: the apparent culprit is that MSDEV allows you
to specify the link library PER FILE (not per LIB). So even if you
globally set all your link libs per project, you may still end up
linking to the wrong libraries without knowing it.
Just an FYI.
> -----Original Message-----
> From: owner-vorbis-dev at xiph.org
> [mailto:owner-vorbis-dev at xiph.org] On Behalf Of Brian Hook
> Sent: Wednesday, November 07, 2001 11:04 AM
> To: vorbis-dev at xiph.org
> Subject: [vorbis-dev] Win32 builds
>
>
> I'm still in hell trying to build for Win32. I've tried
> rebuilding the project files from scratch, however I'm
> running into a very odd problem. For example, if I use
> LIBCMTD.LIB, I get:
>
> ogg_static_local.lib(framing.obj) : error LNK2001: unresolved
> external symbol __imp__memchr v
>
> However, If I specify MSVCRTD.LIB that error goes away.
>
> The original problem was that there were conflicts between
> MSVCRTD.LIB and LIBCMTD.LIB, however I went through and
> removed EVERY reference that could possibly target
> MSVCRTD.LIB and still no go, there are still conflicts with
> it. I don't have this problem with any of my other external
> frameworks (Lua).
>
> I'm also getting, but only with LIBCMTD.LIB:
>
> 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
>
> If anyone has ideas, I'm open to all suggestions. The stock
> LIBs flatly don't work for me. I have no idea what else I
> could be doing wrong.
>
> Brian
>
>
> --- >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-dev-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.
>
--- >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-dev-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-dev
mailing list