Adding a lib with VisualStudio 2003 ?

This is a discussion on Adding a lib with VisualStudio 2003 ? within the Windows Programming forums, part of the Platform Specific Boards category; Hello, I'm trying to add the following lib: http://id3lib.sourceforge.net/ to my VS2003 project, I don't understand the instructions: Code: B)***Your ...

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

    Adding a lib with VisualStudio 2003 ?

    Hello,

    I'm trying to add the following lib: http://id3lib.sourceforge.net/
    to my VS2003 project, I don't understand the instructions:
    Code:
    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

    http://www.Bloodware.net - Developing free software for the community.

  2. #2
    Registered User
    Join Date
    Aug 2006
    Posts
    74
    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, 02: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, 01: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21