Linker error


D

developer

Hi All

I have made a .NET project.
the files included are borland c++ files that i am migrate to VC++ .NET

I am using Microsoft Visual C++ .NET 2003.

the compilation goes through properly, but throws a load of linker
errors

Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual class RelationManagerWrite * __thiscall
TableHandler::GetRelationManagerWrite(void)"
([email protected]@@[email protected]@XZ)
Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual class QualifierManagerWrite * __thiscall
TableHandler::GetQualifierManagerWrite(void)"
([email protected]@@[email protected]@XZ)
Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual class QANumManagerWrite * __thiscall
TableHandler::GetQANumManagerWrite(void)"
([email protected]@@[email protected]@XZ)
Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual class QATreeManagerWrite * __thiscall
TableHandler::GetQATreeManagerWrite(void)"
([email protected]@@[email protected]@XZ)
Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual class CalculationHandler * __thiscall
TableHandler::GetCalculationHandler(void)"
([email protected]@@[email protected]@XZ)
Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual class RecommendedTestHandler * __thiscall
TableHandler::GetRecommendedTestHandler(void)"
([email protected]@@[email protected]@XZ)
Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual class StaleManager * __thiscall
TableHandler::GetStaleManager(void)"
([email protected]@@[email protected]@XZ)
Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual class HistoryResultManager * __thiscall
TableHandler::GetHistoryResultManager(void)"
([email protected]@@[email protected]@XZ)
Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual class HistoryBeliefManager * __thiscall
TableHandler::GetHistoryBeliefManager(void)"
([email protected]@@[email protected]@XZ)
Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual class TUsefulManager * __thiscall
TableHandler::GetTUsefulManager(void)"
([email protected]@@[email protected]@XZ)
Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual class HTypeManager * __thiscall
TableHandler::GetHTypeManager(void)"
([email protected]@@[email protected]@XZ)
Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual class DiagnosisHandler * __thiscall
TableHandler::GetDiagnosisHandler(void)"
([email protected]@@[email protected]@XZ)
Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual class HistoryHandler * __thiscall
TableHandler::GetHistoryHandler(void)"
([email protected]@@[email protected]@XZ)
Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual class HistoryManager * __thiscall
TableHandler::GetHistoryManager(void)"
([email protected]@@[email protected]@XZ)
Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual class ComponentManager * __thiscall
TableHandler::GetComponentManager(void)"
([email protected]@@[email protected]@XZ)
Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual class MachineManager * __thiscall
TableHandler::GetMachineManager(void)"
([email protected]@@[email protected]@XZ)
Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual class MachineLockManager * __thiscall
TableHandler::GetMachineLockManager(void)"
([email protected]@@[email protected]@XZ)
Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual class PlantManager * __thiscall
TableHandler::GetPlantManager(void)"
([email protected]@@[email protected]@XZ)
Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual class RelationManager * __thiscall
TableHandler::GetRelationManager(void)"
([email protected]@@[email protected]@XZ)
Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual class QualifierManager * __thiscall
TableHandler::GetQualifierManager(void)"
([email protected]@@[email protected]@XZ)
Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual class FMExpectManager * __thiscall
TableHandler::GetFMExpectManager(void)"
([email protected]@@[email protected]@XZ)
Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual class FailureMechanismManager * __thiscall
TableHandler::GetFailureMechanismManager(void)"
([email protected]@@[email protected]@XZ)
Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual class HelpManager * __thiscall
TableHandler::GetHelpManager(void)"
([email protected]@@[email protected]@XZ)
Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual class CalculationManager * __thiscall
TableHandler::GetCalculationManager(void)"
([email protected]@@[email protected]@XZ)
Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual class MachineStateManager * __thiscall
TableHandler::GetMachineStateManager(void)"
([email protected]@@[email protected]@XZ)
Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual class EquipmentCostManager * __thiscall
TableHandler::GetEquipmentCostManager(void)"
([email protected]@@[email protected]@XZ)
Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual class EquipmentRequirementManager * __thiscall
TableHandler::GetEquipmentRequirementManager(void)"
([email protected]@@[email protected]@XZ)
Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual class EquipmentManager * __thiscall
TableHandler::GetEquipmentManager(void)"
([email protected]@@[email protected]@XZ)
Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual class CompanyManager * __thiscall
TableHandler::GetCompanyManager(void)"
([email protected]@@[email protected]@XZ)
Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual class QANumManager * __thiscall
TableHandler::GetQANumManager(void)"
([email protected]@@[email protected]@XZ)
Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual class QATreeManager * __thiscall
TableHandler::GetQATreeManager(void)"
([email protected]@@[email protected]@XZ)
Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual class FactManager * __thiscall
TableHandler::GetFactManager(void)"
([email protected]@@[email protected]@XZ)
Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual int __thiscall TableHandler::InitMgr(class DatabaseManager *)"
([email protected]@@[email protected]@@Z)
Rtesth.obj : error LNK2019: unresolved external symbol "public:
__thiscall TableHandler::TableHandler(void)" ([email protected]@[email protected])
referenced in function "public: __thiscall
RecommendedTestHandler::RecommendedTestHandler(void)"
([email protected]@[email protected])
Rtesth.obj : error LNK2019: unresolved external symbol "public: virtual
__thiscall TableHandler::~TableHandler(void)" ([email protected]@[email protected])
referenced in function "public: virtual __thiscall
RecommendedTestHandler::~RecommendedTestHandler(void)"
([email protected]@[email protected])
Rtesth.obj : error LNK2019: unresolved external symbol "public: void
__thiscall ComponentData::SetRecommendedTests(class
BI_ISArrayAsVector<class RecommendedTestData> *)"
([email protected]@@[email protected]@@@@@Z)
referenced in function "public: int __thiscall
RecommendedTestHandler::CreateRecommendedTests(class ComponentData *)"
([email protected]@@[email protected]@@Z)
Rtesth.obj : error LNK2019: unresolved external symbol "public:
__thiscall RecommendedTestData::RecommendedTestData(class IdString
*,class BI_IArrayAsVector<class FactData> *)"
([email protected]@[email protected]@@[email protected]@@@@@Z)
referenced in function "public: int __thiscall
RecommendedTestHandler::CreateRecommendedTests(class ComponentData *)"
([email protected]@@[email protected]@@Z)
Rtesth.obj : error LNK2019: unresolved external symbol "public: class
BI_IArrayAsVector<class FactData> * __thiscall
QATreeManager::BuildDefaultFactList(unsigned long,int,int,class
Qualifier const *)"
([email protected]@@[email protected]@@@@[email protected]@@Z)
referenced in function "public: int __thiscall
RecommendedTestHandler::CreateRecommendedTests(class ComponentData *)"
([email protected]@@[email protected]@@Z)
Rtesth.obj : error LNK2019: unresolved external symbol "public: virtual
enum RecoveryAction __thiscall ErrorHandler::HandleLastError(void)"
([email protected]@@[email protected]@XZ) referenced
in function "public: int __thiscall
RecommendedTestHandler::CreateRecommendedTests(class ComponentData *)"
([email protected]@@[email protected]@@Z)
Rtesth.obj : error LNK2001: unresolved external symbol "class
MicaaErrorHandler g_merrhndlr" ([email protected]@[email protected]@A)
Rtesth.obj : error LNK2019: unresolved external symbol "public: class
BI_IArrayAsVector<class IdString> * __thiscall
QATreeManager::BuildList(unsigned long,int,int,class Qualifier const
*)"
([email protected]@@[email protected]@@@@[email protected]@@Z)
referenced in function "public: int __thiscall
RecommendedTestHandler::CreateRecommendedTests(class ComponentData *)"
([email protected]@@[email protected]@@Z)
Rtesth.obj : error LNK2019: unresolved external symbol "public: int
__thiscall ComponentData::GetType(void)const "
([email protected]@@QBEHXZ) referenced in function "public: int
__thiscall RecommendedTestHandler::CreateRecommendedTests(class
ComponentData *)"
([email protected]@@[email protected]@@Z)
Rtesth.obj : error LNK2019: unresolved external symbol "public: class
Qualifier const * __thiscall ComponentData::GetQualifier(void)const "
([email protected]@@[email protected]@XZ) referenced in
function "public: int __thiscall
RecommendedTestHandler::CreateRecommendedTests(class ComponentData *)"
([email protected]@@[email protected]@@Z)
Rtesth.obj : error LNK2019: unresolved external symbol "public: int
__thiscall TUsefulManager::GetBelief(unsigned long,unsigned long,class
Qualifier const *,int *,double *,double *)"
([email protected]@@[email protected]@[email protected]) referenced
in function "public: int __thiscall
RecommendedTestHandler::SetUsefulnessWeights(class ComponentData
*,class BI_ISArrayAsVector<class RecommendedTestData> const *)"
([email protected]@@[email protected]@[email protected]@@@@@Z)
Rtesth.obj : error LNK2019: unresolved external symbol "public: class
IdString * __thiscall DiagnosisData::GetFM(void)"
([email protected]@@[email protected]@XZ) referenced in function
"public: int __thiscall
RecommendedTestHandler::SetUsefulnessWeights(class ComponentData
*,class BI_ISArrayAsVector<class RecommendedTestData> const *)"
([email protected]@@[email protected]@[email protected]@@@@@Z)
Rtesth.obj : error LNK2019: unresolved external symbol "public: class
BI_IArrayAsVector<class FactData> * __thiscall
RecommendedTestData::GetHDV(void)"
([email protected]@@[email protected]@@@@XZ)
referenced in function "public: int __thiscall
RecommendedTestHandler::SetUsefulnessWeights(class ComponentData
*,class BI_ISArrayAsVector<class RecommendedTestData> const *)"
([email protected]@@[email protected]@[email protected]@@@@@Z)
Rtesth.obj : error LNK2019: unresolved external symbol "public: class
BI_ISArrayAsVector<class DiagnosisData> * __thiscall
ComponentData::GetDiagnosis(void)"
([email protected]@@[email protected]@@@@XZ)
referenced in function "public: int __thiscall
RecommendedTestHandler::SetUsefulnessWeights(class ComponentData
*,class BI_ISArrayAsVector<class RecommendedTestData> const *)"
([email protected]@@[email protected]@[email protected]@@@@@Z)
Rtesth.obj : error LNK2019: unresolved external symbol "public: void
__thiscall RecommendedTestData::SetRequiredMachineState(unsigned long)"
([email protected]@@[email protected]) referenced in
function "public: int __thiscall
RecommendedTestHandler::SetTimeRiskWeights(class
BI_ISArrayAsVector<class RecommendedTestData> const *)"
([email protected]@@[email protected]@@@@@Z)
Rtesth.obj : error LNK2019: unresolved external symbol "public: int
__thiscall HTypeManager::getHistoryAttributes(unsigned long,double
*,double *,unsigned long *)"
([email protected]@@[email protected]) referenced in
function "public: int __thiscall
RecommendedTestHandler::SetTimeRiskWeights(class
BI_ISArrayAsVector<class RecommendedTestData> const *)"
([email protected]@@[email protected]@@@@@Z)
Rtesth.obj : error LNK2019: unresolved external symbol "public: class
IdString * __thiscall RecommendedTestData::GetType(void)"
([email protected]@@[email protected]@XZ) referenced in
function "public: int __thiscall
RecommendedTestHandler::SetTimeRiskWeights(class
BI_ISArrayAsVector<class RecommendedTestData> const *)"
([email protected]@@[email protected]@@@@@Z)
Rtesth.obj : error LNK2019: unresolved external symbol "public: double
__thiscall HistoryData::StaleForHistory(void)"
([email protected]@@QAENXZ) referenced in function "public:
int __thiscall RecommendedTestHandler::SetHistoryWeights(class
ComponentData *,class BI_ISArrayAsVector<class RecommendedTestData>
const *)"
([email protected]@@[email protected]@[email protected]@@@@@Z)
Rtesth.obj : error LNK2019: unresolved external symbol "public: class
IdString const * __thiscall HistoryData::GetType(void)"
([email protected]@@[email protected]@XZ) referenced in function
"public: int __thiscall RecommendedTestHandler::SetHistoryWeights(class
ComponentData *,class BI_ISArrayAsVector<class RecommendedTestData>
const *)"
([email protected]@@[email protected]@[email protected]@@@@@Z)
Rtesth.obj : error LNK2019: unresolved external symbol "public: class
BI_ISArrayAsVector<class HistoryData> * __thiscall
ComponentData::GetReleventHistory(int)"
([email protected]@@[email protected]@@@@[email protected])
referenced in function "public: int __thiscall
RecommendedTestHandler::SetHistoryWeights(class ComponentData *,class
BI_ISArrayAsVector<class RecommendedTestData> const *)"
([email protected]@@[email protected]@[email protected]@@@@@Z)
Rtesth.obj : error LNK2019: unresolved external symbol "public: int
__thiscall MachineStateManager::TransitionCost(int,unsigned
long,unsigned long,double *)"
([email protected]@@[email protected]) referenced in
function "public: int __thiscall
RecommendedTestHandler::SetMachineStateWeights(class ComponentData
const *,class BI_ISArrayAsVector<class RecommendedTestData> const *)"
([email protected]@@[email protected]@[email protected]@@@@@Z)
Rtesth.obj : error LNK2019: unresolved external symbol "public:
unsigned long __thiscall
RecommendedTestData::GetRequiredMachineState(void)"
([email protected]@@QAEKXZ) referenced in
function "public: int __thiscall
RecommendedTestHandler::SetMachineStateWeights(class ComponentData
const *,class BI_ISArrayAsVector<class RecommendedTestData> const *)"
([email protected]@@[email protected]@[email protected]@@@@@Z)
Rtesth.obj : error LNK2019: unresolved external symbol "int __cdecl
FactIdInArray(class BI_IArrayAsVector<class FactData> const *,unsigned
long)" ([email protected]@[email protected]@@@@[email protected])
referenced in function "public: int __thiscall
RecommendedTestHandler::SetMachineStateWeights(class ComponentData
const *,class BI_ISArrayAsVector<class RecommendedTestData> const *)"
([email protected]@@[email protected]@[email protected]@@@@@Z)
Rtesth.obj : error LNK2019: unresolved external symbol "public: class
BI_IArrayAsVector<class FactData> const * __thiscall
ComponentData::GetDescription(void)const "
([email protected]@@[email protected]@@@@XZ)
referenced in function "public: int __thiscall
RecommendedTestHandler::SetMachineStateWeights(class ComponentData
const *,class BI_ISArrayAsVector<class RecommendedTestData> const *)"
([email protected]@@[email protected]@[email protected]@@@@@Z)
Rtesth.obj : error LNK2019: unresolved external symbol "public: int
__thiscall EquipmentRequirementManager::CheckEquipment(unsigned
long,class BI_IArrayAsVector<class EquipmentData> const *,class
ComponentData const *,double *)"
([email protected]@@[email protected]@@@@[email protected]@[email protected])
referenced in function "public: int __thiscall
RecommendedTestHandler::SetEquipmentWeights(class ComponentData const
*,class BI_ISArrayAsVector<class RecommendedTestData> const *)"
([email protected]@@[email protected]@[email protected]@@@@@Z)
Rtesth.obj : error LNK2019: unresolved external symbol "public: void
__thiscall RecommendedTestData::AddWeight(double)"
([email protected]@@[email protected]) referenced in function
"public: int __thiscall
RecommendedTestHandler::SortRecommendedTests(class ComponentData
*,struct RTSortCriteria *)"
([email protected]@@[email protected]@[email protected]@@Z)
Rtesth.obj : error LNK2019: unresolved external symbol "public: void
__thiscall RecommendedTestData::SetWeight(double)"
([email protected]@@[email protected]) referenced in function
"public: int __thiscall
RecommendedTestHandler::SortRecommendedTests(class ComponentData
*,struct RTSortCriteria *)"
([email protected]@@[email protected]@[email protected]@@Z)
Rtesth.obj : error LNK2019: unresolved external symbol "public: class
BI_ISArrayAsVector<class RecommendedTestData> * __thiscall
ComponentData::GetRecommendedTests(void)"
([email protected]@@[email protected]@@@@XZ)
referenced in function "public: int __thiscall
RecommendedTestHandler::SortRecommendedTests(class ComponentData
*,struct RTSortCriteria *)"
([email protected]@@[email protected]@[email protected]@@Z)
Rtesth.obj : error LNK2019: unresolved external symbol "public: class
BI_IArrayAsVector<class EquipmentData> * __thiscall
EquipmentManager::GetEquipmentForPlant(unsigned long,unsigned long)"
([email protected]@@[email protected]@@@@[email protected])
referenced in function "private: int __thiscall
RecommendedTestHandler::GetAvailableEquipment(class ComponentData const
*,class BI_IArrayAsVector<class EquipmentData> *)"
([email protected]@@[email protected]@[email protected]@@@@@Z)
Rtesth.obj : error LNK2019: unresolved external symbol "public: class
EquipmentData * __thiscall EquipmentData::Copy(void)"
([email protected]@@[email protected]) referenced in function "private: int
__thiscall RecommendedTestHandler::GetAvailableEquipment(class
ComponentData const *,class BI_IArrayAsVector<class EquipmentData> *)"
([email protected]@@[email protected]@[email protected]@@@@@Z)
Rtesth.obj : error LNK2001: unresolved external symbol "public: static
class Object * Object::ZERO" ([email protected]@@[email protected])
Rtesth.obj : error LNK2019: unresolved external symbol "public: class
BI_IArrayAsVector<class EquipmentData> * __thiscall
EquipmentManager::GetEquipmentForCompany(unsigned long)"
([email protected]@@[email protected]@@@@[email protected])
referenced in function "private: int __thiscall
RecommendedTestHandler::GetAvailableEquipment(class ComponentData const
*,class BI_IArrayAsVector<class EquipmentData> *)"
([email protected]@@[email protected]@[email protected]@@@@@Z)
Rtesth.obj : error LNK2019: unresolved external symbol "public:
unsigned long __thiscall PlantData::GetCompany(void)const "
([email protected]@@QBEKXZ) referenced in function "private: int
__thiscall RecommendedTestHandler::GetAvailableEquipment(class
ComponentData const *,class BI_IArrayAsVector<class EquipmentData> *)"
([email protected]@@[email protected]@[email protected]@@@@@Z)
Rtesth.obj : error LNK2019: unresolved external symbol "public: class
PlantData * __thiscall PlantManager::IsOpen(class IdString const *)"
([email protected]@@[email protected]@[email protected]@@Z) referenced in
function "private: int __thiscall
RecommendedTestHandler::GetAvailableEquipment(class ComponentData const
*,class BI_IArrayAsVector<class EquipmentData> *)"
([email protected]@@[email protected]@[email protected]@@@@@Z)
Rtesth.obj : error LNK2019: unresolved external symbol "public:
__thiscall IdString::IdString(unsigned long,unsigned long,char *)"
([email protected]@[email protected]@Z) referenced in function "private: int
__thiscall RecommendedTestHandler::GetAvailableEquipment(class
ComponentData const *,class BI_IArrayAsVector<class EquipmentData> *)"
([email protected]@@[email protected]@[email protected]@@@@@Z)
Rtesth.obj : error LNK2019: unresolved external symbol "public:
unsigned long __thiscall MachineData::GetPlant(void)const "
([email protected]@@QBEKXZ) referenced in function "private: int
__thiscall RecommendedTestHandler::GetAvailableEquipment(class
ComponentData const *,class BI_IArrayAsVector<class EquipmentData> *)"
([email protected]@@[email protected]@[email protected]@@@@@Z)
Rtesth.obj : error LNK2019: unresolved external symbol "public: class
MachineData const * __thiscall ComponentData::GetMachine(void)const "
([email protected]@@[email protected]@XZ) referenced in
function "private: int __thiscall
RecommendedTestHandler::GetAvailableEquipment(class ComponentData const
*,class BI_IArrayAsVector<class EquipmentData> *)"
([email protected]@@[email protected]@[email protected]@@@@@Z)
Rtesth.obj : error LNK2019: unresolved external symbol ___assertfail
referenced in function "public: class RecommendedTestData * __thiscall
BI_ISArrayAsVector<class RecommendedTestData>::blush:perator[](int)const "
([email protected]@@@@[email protected]@[email protected])
Rtesth.obj : error LNK2019: unresolved external symbol "public: int
__thiscall RecommendedTestData::blush:perator<(class RecommendedTestData &)"
([email protected]@[email protected]@Z) referenced in function "public:
void __thiscall BI_ISVectorImp<class RecommendedTestData>::add(class
RecommendedTestData *)"
([email protected][email protected]@@@@[email protected]@@Z)
Test.obj : error LNK2019: unresolved external symbol "public:
__thiscall IdString::IdString(void)" ([email protected]@[email protected]) referenced
in function _$E1
Test.obj : error LNK2019: unresolved external symbol "public: virtual
__thiscall IdString::~IdString(void)" ([email protected]@[email protected]) referenced
in function _$E2
LIBCD.lib(crt0.obj) : error LNK2019: unresolved external symbol _main
referenced in function _mainCRTStartup

Kindly advise what i can do to get through the linker errors

thanks
Madhu
 
Ad

Advertisements

B

Bruno van Dooren

I have made a .NET project.
the files included are borland c++ files that i am migrate to VC++ .NET

I am using Microsoft Visual C++ .NET 2003.

the compilation goes through properly, but throws a load of linker
errors

Rtesth.obj : error LNK2001: unresolved external symbol "protected:
virtual class RelationManagerWrite * __thiscall
TableHandler::GetRelationManagerWrite(void)"
([email protected]@@[email protected]@XZ)
Kindly advise what i can do to get through the linker errors

thanks
Madhu
Well since noone replied yet I'll take a swing at it.
The classes you mention, are they Borland supplied classes, or did you
create them yourself.
If they are supplied by borland, it might very well be that they are not
compatible with the microsoft linker.

if they come from somewhere else, did you add the import libs to the linker
input?

what is the way in which you have set up your project, and which are the
dependencies?

--

Kind regards,
Bruno van Dooren
(e-mail address removed)
Remove only "_nos_pam"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

LINKER error 0
Linker errors 2
Linker Error 4
Linker error 0
Linker Error 4
Linker error 0
Linker error 3
Linker Error 0

Top