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