[tag]
When i compile my C++ program i am getting the following error.
In my project they have included the header file for that OrderProdController.h file.Code:Linking... Creating library ..\..\..\Build\bin\Release\ProdAuf01.lib and object ..\..\..\Build\bin\Release\ProdAuf01.exp abmabthread.obj : error LNK2001: unresolved external symbol "public: __thiscall OrderProdController::~OrderProdController(void)" (??1OrderProdController@@QAE@XZ) abmabthread.obj : error LNK2001: unresolved external symbol "public: int __thiscall OrderController::Archiv(class RWCString)" (?Archiv@OrderController@@QAEHVRWCString@@@Z) abmabthread.obj : error LNK2001: unresolved external symbol "public: int __thiscall OrderController::Account(class RWCString)" (?Account@OrderController@@QAEHVRWCString@@@Z) abmabthread.obj : error LNK2001: unresolved external symbol "public: int __thiscall OrderProdController::ExecuteNextPackage(void)" (?ExecuteNextPackage@OrderProdController@@QAEHXZ) abmabthread.obj : error LNK2001: unresolved external symbol "public: __thiscall OrderProdController::OrderProdController(class RWDBDatabase &,class RWCString &)" (??0OrderProdController@@QAE@AAVRWDBDatabase@@AAVRWCString@@@Z) ..\..\..\Build\bin\Release\ProdAuf01.exe : fatal error LNK1120: 5 unresolved externals Error executing link.exe. Creating browse info file... ProdAuf01.exe - 6 error(s), 0 warning(s)
#include "prodsys/OrderProdController.h"
My project directory structure is as follows
Projects
|---->ProdAuf_n //Project Module Folder which i need to compile
|---->... //Other projects Modules Folder
|---->prodsys // Folder Which contains the .h and .cpp Files which my project is using(OrderProdController.h,OrderProdController.cp p,OrderController.h,OrderController.cpp,etc..)
The OrderProdController.h contains a class
where OrderController class is defined in OrderController.hCode:#include "prodsys/OrderController.h" class OrderProdController : public OrderController { }
The OrderProdController.cpp and OrderController.cpp is present same folder with .h file.
Please help me to solve this Linking problem.....
[/tag]



LinkBack URL
About LinkBacks


