[vorbis-dev] Win32 builds

Chris Wolf cwolf1 at best.com
Wed Nov 7 15:01:05 PST 2001



> So, in view of the messages you mentioned, I'm inclined to believe
> that the ogg_static_local.lib file was compiled with the Multithreaded
> DLL version of the run-time library, so the easiest fix is to compile
> all your "client" code with the same option. However, this might not
> be acceptable, since you would need to supply msvcrt[d].dll with your
> final executable(s).

That is the case -- if the debug version of this library is compiled to
link with the static version of the runtime -- it will crash with an
exception.  The release verison of that library will run with the static
version.  As a result of this, all the DEBUG versions of the static libraries
are compiled to run with the dynamic runtime, i.e. MSVCRTD.LIB.
The release versions result in a completely staticly linked exe, however.

> The other fix is to recompile the vorbis libraries with the static
> Multithreaded run-time, which requires modifying the vorbis_static.dsp
> project file.

If you can get this to work for the DEBUG version, I would be interested
to hear about it.

Generally speaking, if the build system in the CVS module "win32sdk" is used
there should be no problems building.

  -Chris

--- >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