[vorbis] using win32 static libs

Michael Smith msmith at xiph.org
Mon Jun 16 17:31:18 PDT 2003



> i've tried the suggested options, and /NODEFAULTLIB:libcmt.lib solves the
> problem :)
>
> btw: /NODEFAULTLIB:msvcrt.lib was not a good idea, because then some basic
> symbols (malloc etc) were not defined.
>
> can someone explain that to me? why are the conflicts with msvcrt.lib gone,
> when i'm excluding libcmt.lib? these too can't be conflicting because they
> are both default-libs. libcmt stands for libc m(ulti)t(hreaded)

You have to link against the _same_ version of the c runtime libraries as 
libvorbis is linked against. If you don't have those versions (or can't use 
them for some reason), you should rebuild libvorbis from source (MSVC project 
files are provided) with the options you want to use.

Mike

<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