944,116 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 11233
  • C++ RSS
Nov 22nd, 2006
0

Need help with "error LNK2001 unresolved external symbol"

Expand Post »
i have compiled and run a symbian application using Visual C++. It finished building, was run and was displayed using the emulator.

I wanted to do unit testing on it using C++ tool. And then i got errors which is something like this...

Outbox_7000.obj : error LNK2001: unresolved external symbol ___CxxFrameHandler
Outbox_7000.obj : error LNK2001: unresolved external symbol __except_list
Outbox_7000_testdriver.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::ios_base::Init::Init(void)" (__imp_??0Init@ios_base@std@@QAE@XZ)

How can i remove the unresolved external symbol for ___CxxFrameHandler and __except_list? same with "__declspec(dllimport) public: __thiscall std::ios_base::Init::Init(void)" (__imp_??0Init@ios_base@std@@QAE@XZ)??

i hope somebody can help me... i'm which libs should i include or if i should include any. thanks for any form of help..
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
majoy is offline Offline
2 posts
since Nov 2006
Nov 22nd, 2006
0

Re: Need help with "error LNK2001 unresolved external symbol"

Is your program written with Visual C++ 2005 for a smart device? If it is, you can not use c++ streams because those devices do not have a console.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2283
Retired and Enjoying Life
Ancient Dragon is online now Online
21,961 posts
since Aug 2005
Nov 22nd, 2006
0

Re: Need help with "error LNK2001 unresolved external symbol"

It is for mobile phones. This message :

error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::ios_base::Init::Init(void)" (__imp_??0Init@ios_base@std@@QAE@XZ)

is generated by C++ Test tool. Do you mean there is no way that i can fix it? If somebody knows how to use C++ Test for testing SYmbian applications.. can u help?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
majoy is offline Offline
2 posts
since Nov 2006
Nov 22nd, 2006
0

Re: Need help with "error LNK2001 unresolved external symbol"

you need to contact the tool's manufactuere to find out if it supports mobile devices. From the error message I suspect not.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2283
Retired and Enjoying Life
Ancient Dragon is online now Online
21,961 posts
since Aug 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: c++ recursive palindrome function
Next Thread in C++ Forum Timeline: Class Diagram





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC