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. Help with conversion to VC* - Linker error

Help with conversion to VC* - Linker error

Scheduled Pinned Locked Moved C / C++ / MFC
helpdebugginglearning
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.
  • B Offline
    B Offline
    b6447
    wrote on last edited by
    #1

    I am getting this error when I build my project. error LNK2019: unresolved external symbol __imp__wprintf I know that means I am linking to the wrong library. I think this is in the runtime library. I've tried the various settings (Multithreaded debug, Multithreaded debug dll) as well as all the other options. Some, of course cause many more errors, none make this one go away. Please help. Thanks in advance for any advice.

    Regards, Bill

    K 1 Reply Last reply
    0
    • B b6447

      I am getting this error when I build my project. error LNK2019: unresolved external symbol __imp__wprintf I know that means I am linking to the wrong library. I think this is in the runtime library. I've tried the various settings (Multithreaded debug, Multithreaded debug dll) as well as all the other options. Some, of course cause many more errors, none make this one go away. Please help. Thanks in advance for any advice.

      Regards, Bill

      K Offline
      K Offline
      kvrnkiran
      wrote on last edited by
      #2

      Hi Bill, I guess, you have "Ignore All Default libraries" option selected. Unselect this option. Go to project settings and choose Link option and uncheck the Ignore All default libraries check box (if you are using VS2003 and above, choose No in the list. The name of the item is same). Hope that helps. Kiran.

      B 1 Reply Last reply
      0
      • K kvrnkiran

        Hi Bill, I guess, you have "Ignore All Default libraries" option selected. Unselect this option. Go to project settings and choose Link option and uncheck the Ignore All default libraries check box (if you are using VS2003 and above, choose No in the list. The name of the item is same). Hope that helps. Kiran.

        B Offline
        B Offline
        b6447
        wrote on last edited by
        #3

        Hi Kiran, Thanks for the reply. Unfortunately, the developer on this project had already tried that setting: Ignore All Default Libraries = No. He also tried changing the Ignore Specific Library setting. He tried setting the ignore list to: LIBCMT;MSVCRTD;LIBC;msvcrt and received a large volume of errors. Also clearing the list resulted in errors. He finally reverted to the original list: MSVCRTD If you have any more thoughts, I would appreciate hearing from you again. We are starting to fall behind on the project over this issue. Thanks, Bill

        Regards, Bill

        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