Need help with "error LNK2001 unresolved external symbol"

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Nov 2006
Posts: 2
Reputation: majoy is an unknown quantity at this point 
Solved Threads: 0
majoy majoy is offline Offline
Newbie Poster

Need help with "error LNK2001 unresolved external symbol"

 
0
  #1
Nov 22nd, 2006
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..
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,647
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1498
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

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

 
0
  #2
Nov 22nd, 2006
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.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 2
Reputation: majoy is an unknown quantity at this point 
Solved Threads: 0
majoy majoy is offline Offline
Newbie Poster

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

 
0
  #3
Nov 22nd, 2006
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?
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,647
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1498
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

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

 
0
  #4
Nov 22nd, 2006
you need to contact the tool's manufactuere to find out if it supports mobile devices. From the error message I suspect not.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 7429 | Replies: 3
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC