Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - link error LNK2001
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

link error LNK2001

 Post Reply Post Reply
Author
Message
lowekt View Drop Down
Newbie
Newbie


Joined: 10 August 2008
Location: United States
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote lowekt Quote  Post ReplyReply Direct Link To This Post Topic: link error LNK2001
    Posted: 10 August 2008 at 6:47pm

Hi,

I've been walking through the process of getting a multi-threaded application to compile.  My first attempts worked in Release mode but not Debug.  After reviewing several other posts related to link problems, I resolved this by changing the linker settings and ignoring the following libraries:
 
libc.lib
libcmt.lib
msvcrt.lib
libcmtd.lib
msvcrtd.lib
 
After doing this, however, I now get several thousand errors similar to the item below, although the particular external symbol message varies:
 
 
error LNK2001: unresolved external symbol __RTC_Shutdown
 
I've tried every "obvious" variation I can to try and get this to work without success.  The application still compiles fine in Release mode, however, so I'm hoping this is just a configuration setting...
 
Thanks in advance,
 
-Ken
Back to Top
lowekt View Drop Down
Newbie
Newbie


Joined: 10 August 2008
Location: United States
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote lowekt Quote  Post ReplyReply Direct Link To This Post Posted: 13 August 2008 at 7:25pm
Please, does anyone have any suggestions?
Back to Top
lowekt View Drop Down
Newbie
Newbie


Joined: 10 August 2008
Location: United States
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote lowekt Quote  Post ReplyReply Direct Link To This Post Posted: 31 August 2008 at 2:07pm
For the record, I resolved this by ignoring ONLY libcmt.lib.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.