[vorbis-dev] Win32 builds

Brian Hook brianhook at pyrogon.com
Wed Nov 7 11:03:34 PST 2001



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.



More information about the Vorbis-dev mailing list