All pastes #633483 Raw Edit

Unnamed

public text v1 · immutable
#633483 ·published 2007-07-25 18:39 UTC
rendered paste body
A) ***Your project wants to link id3lib static, and has mfc linked static:
1) Rename config.h.win32 to config.h
2) include libprj/id3lib.dsp and zlib/prj/zlib.dsp to your workspace
3) make your project dependend on id3lib, and make id3lib dependend on zlib
4) Add /D ID3LIB_LINKOPTION=1 to your project options (settings, C/C++ tab)
5) Add the following include dirs to your program:
   /I <path_to_id3lib>\\include /I <path_to_id3lib>\\include\\id3  
6) (add your code which uses id3lib)
7) Try to compile, and see if you need any of the following:
 (debug) /nodefaultlib:"msvcprtd"         or(release) /nodefaultlib:"msvcprt"
 (debug) /nodefaultlib:"MSVCRTD"          or(release) /nodefaultlib:"MSVCRT"
 (debug) /nodefaultlib:"libcd"            or(release) /nodefaultlib:"libc"
 different programs may require different 'nodefaultlib' 's, or none at all, these worked for me.
 If none you try work, revert to C)