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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Strange Compiling error (not MFC)

Strange Compiling error (not MFC)

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++announcement
3 Posts 2 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.
  • O Offline
    O Offline
    orcblood
    wrote on last edited by
    #1

    Okay, I also made another version of my program... Unfortunatly it won't compile and it gives me this wierd error: LINK : fatal error LNK1104: cannot open file "nafxcwd.lib" I don't know why... Anyways, Im betting its because the lib file isn't linked again btu hey Ive nver seen it before... Any help would be appreciated. orcblood

    O N 2 Replies Last reply
    0
    • O orcblood

      Okay, I also made another version of my program... Unfortunatly it won't compile and it gives me this wierd error: LINK : fatal error LNK1104: cannot open file "nafxcwd.lib" I don't know why... Anyways, Im betting its because the lib file isn't linked again btu hey Ive nver seen it before... Any help would be appreciated. orcblood

      O Offline
      O Offline
      orcblood
      wrote on last edited by
      #2

      Oh I should say that I made it with C++ and not MFC! orcblood

      1 Reply Last reply
      0
      • O orcblood

        Okay, I also made another version of my program... Unfortunatly it won't compile and it gives me this wierd error: LINK : fatal error LNK1104: cannot open file "nafxcwd.lib" I don't know why... Anyways, Im betting its because the lib file isn't linked again btu hey Ive nver seen it before... Any help would be appreciated. orcblood

        N Offline
        N Offline
        Navin
        wrote on last edited by
        #3

        I have seen those types of errors before - you need to check out your project settings. Make sure all projects and .libs you include in your project have the same setting in the C++ tab under "Code Generation" - they should all be "Multithreaded Debug" for debug mode, or "Multithreaded Release" for release mode. You could ahve them all "Single threaded" too. You can't mix debug and release, nor should you mix single and mulitithreaded. Give that a go and see what happens. Also, try the obvious, do a "Clean" and then rebuild it. ;) You can pick your friends, and you can pick your nose, but you can't pick your friend's nose.

        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