Original Post
I''m having a helluva time getting the ogg vorbis vorbisfile library to build properly. I''m trying to link it in staticly under win32 in VC++ 6.
I linked to ogg_static.lib, vorbis_static.lib, and vorbisfile_static.lib. All 3 are required for vorbisfile decoding - leaving any of them out results in a truckload of unresolved external symbols.
Then it was giving me grief about various symbols already being defined in VC''s default runtime libs. Apperantly you have to switch your project''s code generation settings to "Multithreaded DLL" or "Debug Multithreaded DLL". So I tried it both ways, and in both cases the conflicting symbol errors went away, but a linker warning remained:
LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other libs; use /NODEFAULTLIB:library
MSVCRTD.lib(cinitexe.obj) : warning LNK4098: defaultlib "libcmt.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
What else do I have to do to get the linker to cooperate?