Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. error LNK2001: unresolved external symbol _strnicmp

error LNK2001: unresolved external symbol _strnicmp

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jalsa G
    wrote on last edited by
    #1

    hi all, again i got this error error LNK2001: unresolved external symbol _strnicmp which library to link ? plz help me regards

    venu

    F 1 Reply Last reply
    0
    • J jalsa G

      hi all, again i got this error error LNK2001: unresolved external symbol _strnicmp which library to link ? plz help me regards

      venu

      F Offline
      F Offline
      Frank K
      wrote on last edited by
      #2

      Hi, good question ... a) libc.lib -> single threaded, static link b) libcmt.lib -> multithreaded, static link c) msvcrt.lib -> multithreaded, dynamic link and for debugging versions libcd.lib libcmtd.lib msvcrtd.lib HTH Frank

      J 1 Reply Last reply
      0
      • F Frank K

        Hi, good question ... a) libc.lib -> single threaded, static link b) libcmt.lib -> multithreaded, static link c) msvcrt.lib -> multithreaded, dynamic link and for debugging versions libcd.lib libcmtd.lib msvcrtd.lib HTH Frank

        J Offline
        J Offline
        jalsa G
        wrote on last edited by
        #3

        hi Frank, thank you for reply.. still i am getting this error fatal error LNK1104: cannot open file libcd.lib fatal error LNK1104: cannot open file libcmtd.lib fatal error LNK1104: cannot open file 'msvcrtd.lib do i need to add any include path ? regards

        venu

        H F 2 Replies Last reply
        0
        • J jalsa G

          hi Frank, thank you for reply.. still i am getting this error fatal error LNK1104: cannot open file libcd.lib fatal error LNK1104: cannot open file libcmtd.lib fatal error LNK1104: cannot open file 'msvcrtd.lib do i need to add any include path ? regards

          venu

          H Offline
          H Offline
          Hamid Taebi
          wrote on last edited by
          #4

          Are you sure File is exist and path is correct?

          _**


          **_

          WhiteSky


          1 Reply Last reply
          0
          • J jalsa G

            hi Frank, thank you for reply.. still i am getting this error fatal error LNK1104: cannot open file libcd.lib fatal error LNK1104: cannot open file libcmtd.lib fatal error LNK1104: cannot open file 'msvcrtd.lib do i need to add any include path ? regards

            venu

            F Offline
            F Offline
            Frank K
            wrote on last edited by
            #5

            Hi, you need only one of this libraries. Each of this libraries has the "same" functions, but for other threading and linking! Include path: Version 1: (for the studio) Tools->Options Dialog-Tab: Directories Choose: Library Files and add the directory from the lib Version 2: (only the project) Use Project-->Settings-->Link-->Object\Library module edit box. the correct path for you = ??? -> search for one of this files -> possible results: c:\program files\Microsoft Visual Studio\VC98\Lib c:\program files\Microsoft SDK\lib If you found more than one locations, use the newest versions. (e.g. SDK -> include order) HTH Frank

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups