Thread: Adding a lib with VisualStudio 2003 ?

  1. #1
    * Death to Visual Basic * Devil Panther's Avatar
    Join Date
    Aug 2001

    Adding a lib with VisualStudio 2003 ?


    I'm trying to add the following lib:
    to my VS2003 project, I don't understand the instructions:
    B)***Your project wants to link id3lib static, and has mfc linked dynamic or has no MFC:
    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:"libcmtd"          or(release) /nodefaultlib:"libcmt"
     different programs may require different 'nodefaultlib' 's, or none at all, these worked for me.
     If none you try work, revert to C)
    Please help, without this lib I can't go on with my project.

    Thank you.
    "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe - Developing free software for the community.

  2. #2
    Registered User
    Join Date
    Aug 2006
    That confuses me too... wish I could help, but I can't.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. SVN Import Causes Crash
    By Tonto in forum Tech Board
    Replies: 6
    Last Post: 11-01-2006, 03:44 PM
  2. using VC6 link VC7 static lib error
    By George2 in forum C++ Programming
    Replies: 5
    Last Post: 06-29-2006, 10:58 PM
  3. Adding MFC dialogs in VS .NET 2003
    By cboard_member in forum Windows Programming
    Replies: 1
    Last Post: 02-11-2006, 02:56 PM
  4. FILES in WinAPI
    By Garfield in forum Windows Programming
    Replies: 46
    Last Post: 10-02-2003, 06:51 PM
  5. Making a LIB file from a DEF file for a DLL
    By JMPACS in forum C++ Programming
    Replies: 0
    Last Post: 08-02-2003, 08:19 PM