[vorbis] using win32 static libs

Peter Harris
Mon, 16 Jun 2003 11:32:33 -0000

Rüpel wrote:
> environment is visual studio .net 2003 on winxp and a standard
> mfc-app set up by this project-wizzard that comes with vs.net2003
> using the default settings.

The static libs that come with the SDK are built with VS6. I recommend
recompiling the libs with your version of VS.NET. It isn't difficult,
and cuts down on these sorts of problems.

>  defaultlib 'msvcrt.lib' conflicts with use of other libs;
>  defaultlib 'libcmt.lib' conflicts with use of other libs;

The SDK is compiled against the multithreaded C library, and your code
is compiled with the DLL version of the C library (or vice versa). You
have to compile everything against the same C library.

> do the ogg/vorbis-libs require certain linker options to be
> set/unset? is there anything i need to know when working with the
> *_static.lib files from the ogg/vorbis-win32sdk?

Yes. Actually, it's a compiler option (see above).

Peter Harris

--- >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@xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is
needed.
Unsubscribe messages sent to the list will be ignored/filtered.