473,394 Members | 2,090 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Unresolved external symbol

Hi, I´m migrating a VC++ 6.0 project to VC++ 2010.

I am sure I am linking the right libraries but still getting this error:

1>LBW_Base_Private.obj : error LNK2019: unresolved external symbol "public: __thiscall LBW_Parser::~LBW_Parser(void)" (??1LBW_Parser@@QAE@XZ) referenced in function __unwindfunclet$??0LBW_Base@@AAE@XZ$0
1>LBW_Base_Private.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall LBW_FieldList::~LBW_FieldList(void)" (??1LBW_FieldList@@UAE@XZ) referenced in function __unwindfunclet$??0LBW_Base@@AAE@XZ$0
1>LBW_Base_Private.obj : error LNK2019: unresolved external symbol "public: __thiscall LBW_Parser::LBW_Parser(void)" (??0LBW_Parser@@QAE@XZ) referenced in function "private: __thiscall LBW_Base::LBW_Base(void)" (??0LBW_Base@@AAE@XZ)
1>LBW_Base_Private.obj : error LNK2019: unresolved external symbol "public: __thiscall LBW_FieldList::LBW_FieldList(void)" (??0LBW_FieldList@@QAE@XZ) referenced in function "private: __thiscall LBW_Base::LBW_Base(void)" (??0LBW_Base@@AAE@XZ)
1>LBW_Base_Private.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall LBW_Base::IsFieldIndexed(char const *)" (?IsFieldIndexed@LBW_Base@@UAE_NPBD@Z)
1>LBW_Base_Private.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall LBW_Base::CanHaveQuote(char const *)" (?CanHaveQuote@LBW_Base@@UAE_NPBD@Z)
1>LBW_Base_Private.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall LBW_Base::FullIndexed(char const *)" (?FullIndexed@LBW_Base@@UAE_NPBD@Z)
1>LBW_Base_Private.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall LBW_Base::IsMultiValued(char const *)" (?IsMultiValued@LBW_Base@@UAE_NPBD@Z)
1>LBW_Base_Private.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall LBW_Base::GetGroup(char const *)" (?GetGroup@LBW_Base@@UAEHPBD@Z)
1>LBW_Base_Private.obj : error LNK2001: unresolved external symbol "private: virtual int __thiscall LBW_Base::ItemFound(char *)" (?ItemFound@LBW_Base@@EAEHPAD@Z)
1>LBW_Base_Private.obj : error LNK2001: unresolved external symbol "private: virtual int __thiscall LBW_Base::Update(int)" (?Update@LBW_Base@@EAEHH@Z)
1>LBW_Base_Private.obj : error LNK2001: unresolved external symbol "private: virtual int __thiscall LBW_Base::VerifyIndex(int,int)" (?VerifyIndex@LBW_Base@@EAEHHH@Z)
1>LBW_Base_Private.obj : error LNK2001: unresolved external symbol "private: virtual int __thiscall LBW_Base::Return(int)" (?Return@LBW_Base@@EAEHH@Z)
1>LBW_Base_Private.obj : error LNK2001: unresolved external symbol "private: virtual int const * __thiscall LBW_Base::IntR(int,int)" (?IntR@LBW_Base@@EAEPBHHH@Z)
1>LBW_Base_Private.obj : error LNK2001: unresolved external symbol "private: virtual double const * __thiscall LBW_Base::DoubleR(int,int)" (?DoubleR@LBW_Base@@EAEPBNHH@Z)
1>LBW_Base_Private.obj : error LNK2001: unresolved external symbol "private: virtual char * __thiscall LBW_Base::String(int,int)" (?String@LBW_Base@@EAEPADHH@Z)
1>LBW_Base_Private.obj : error LNK2001: unresolved external symbol "private: virtual int const * __thiscall LBW_Base::BoolR(int,int)" (?BoolR@LBW_Base@@EAEPBHHH@Z)
1>LBW_Base_Private.obj : error LNK2001: unresolved external symbol "private: virtual class C_Date const * __thiscall LBW_Base::DateR(int,int)" (?DateR@LBW_Base@@EAEPBVC_Date@@HH@Z)
1>LBW_Base_Private.obj : error LNK2001: unresolved external symbol "private: virtual class C_Time const * __thiscall LBW_Base::TimeR(int,int)" (?TimeR@LBW_Base@@EAEPBVC_Time@@HH@Z)
1>LBW_Base_Private.obj : error LNK2001: unresolved external symbol "private: virtual char const * __thiscall LBW_Base::UserName(void)" (?UserName@LBW_Base@@EAEPBDXZ)
1>LBW_Base_Private.obj : error LNK2001: unresolved external symbol "private: virtual char const * __thiscall LBW_Base::UserPassword(void)" (?UserPassword@LBW_Base@@EAEPBDXZ)
1>LBW_Base_Private.obj : error LNK2001: unresolved external symbol "private: virtual char const * __thiscall LBW_Base::ServerName(void)" (?ServerName@LBW_Base@@EAEPBDXZ)
1>LBW_Base_Private.obj : error LNK2001: unresolved external symbol "private: virtual char const * __thiscall LBW_Base::ClientName(void)" (?ClientName@LBW_Base@@EAEPBDXZ)
1>LBW_Base_Private.obj : error LNK2019: unresolved external symbol "public: class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > __thiscall LBW_Base::GetOperator(char const *)" (?GetOperator@LBW_Base@@QAE?AV?$CStringT@DV?$StrTr aitMFC_DLL@DV?$ChTraitsCRT@D@ATL@@@@@ATL@@PBD@Z) referenced in function "public: virtual class CASCString __thiscall LBW_Base::GetQueryOperator(char *)" (?GetQueryOperator@LBW_Base@@UAE?AVCASCString@@PAD @Z)
1>LBW_Base_Private.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall LBW_Base::~LBW_Base(void)" (??1LBW_Base@@UAE@XZ) referenced in function "public: virtual void * __thiscall LBW_Base::`scalar deleting destructor'(unsigned int)" (??_GLBW_Base@@UAEPAXI@Z)

can you help me?
Apr 23 '12 #1
6 9117
I did dumpbin with lbwparser.lib for example and I saw that LBWParser::LBWParser(void) and LBWParser::~LBWParser(void) are there.
Apr 23 '12 #2
weaknessforcats
9,208 Expert Mod 8TB
You say that the code is in lbwparser.lib.

Has this library been added to the liblist of your VC2010 project?

project properties->confo\iguration properties->linker->input->additional dependencies?
Apr 23 '12 #3
Yes I did. But error persists.
Apr 24 '12 #4
Making the project as a static library the error disapear. But another error appear, may I open a new thread? the error is:

1>c:\program files\microsoft sdks\windows\v7.0a\include\oaidl.h(226): error C2143: syntax error : missing ';' before 'constant'
1>c:\program files\microsoft sdks\windows\v7.0a\include\oaidl.h(226): error C2059: syntax error : 'constant'

on the line:

typedef CY CURRENCY;
Apr 24 '12 #5
weaknessforcats
9,208 Expert Mod 8TB
Are you #include <windows.h> ?
Apr 24 '12 #6
The error was solved when I reorganized the includes of a file .h to put #include <afxwin.h> to be the first. Go understand :) thanks for your replies.
Apr 24 '12 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Rodolphe | last post by:
Hello, I'm French so sorry for my approximate English. When I try to compile a project under Visual C++ 6.0, I've got the following errors : applicap.obj : error LNK2001: unresolved external...
3
by: We need more power captain | last post by:
Hi, I know less than a noob, I've been asked to do some compiles in VC++ 6 without knowing too much at all. (I'm a COBOL program normally so this is all too much for me) I open VC++6, open...
2
by: Freddy | last post by:
I am not an experienced programmer, but I had a VC++ program I am trying to eliminate all the VC++ commands from it...and keeping it as a normal C/C++ program......I guess I have succeeded so far,...
6
by: Olivier Lechenne | last post by:
I am converting some projects from VS 6.0 to VS .NET 2003 and I get a linker error error LNK2001: unresolved external symbol ___security_cookie or error LNK2001: unresolved external symbol...
2
by: f rom | last post by:
----- Forwarded Message ---- From: Josiah Carlson <jcarlson@uci.edu> To: f rom <etaoinbe@yahoo.com>; wxpython-users@lists.wxwidgets.org Sent: Monday, December 4, 2006 10:03:28 PM Subject: Re: ...
6
by: sadegh | last post by:
Hi I have a problem with my program in VC++6 When I compile it, the following errors are listed. I spend a lot of time on the groups.google.com to find its reason, but none of comments could...
5
by: bonnielym84 | last post by:
Im new here..didnt noe whether is this the rite way to post my problem..Really need help here..i've been stucked in this error from last wk..My problem is like this..Im using VC++ 6.0 to compile my C...
0
by: bonnielym84 | last post by:
Im new here and im not sure whether is this the right place for me to post my question..anyway..hope that you can help me..i have been stucked in this problem since last wk..My problem is..I'm using...
0
by: dotyet | last post by:
Hi Everyone, I am trying to build a DB2 UDB UDF which can perform regex over the table data. The user defined function will call an external .dll file to do the task. I am referring to the...
0
by: Ryan Gaffuri | last post by:
hlink72@hotmail.com (Eric) wrote in message news:<ab8d8b14.0308220550.54fb5f22@posting.google.com>... LNK1120 is a standard C++ error. you using Visual C++? Means your references a class that...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.