I have compiled a static library called vlib.lib, V is a GUI framework:
It is used by ponyprog wich is an open source program i would like to modify.
I have compiled the vlib.lib static library without problems.
However when i recompile the ponyprog program i get errors in the linking stage of the type unresolved externals. The functions it complains about are included in the .cpp files that make up the library.
1>E2dlg.obj : error LNK2019: unresolved external symbol "public: __thiscall vDialog::vDialog(class vBaseWindow *,int,char *)" (??0vDialog@@QAE@PAVvBaseW
D@Z) referenced in function "public: __thiscall e2ProgressDialog::e2Progre
lass vBaseWindow *,char *)" (??0e2ProgressDialog@@QAE@
Is defined in vdialog.cpp
//===================>>> vDialog::vDialog <<<=======================
vDialog::vDialog(const vDialog& d) : vBaseWindow(d),
vSysError("vDialog - V semantics do not support copy constructors!");
_oldModal = 0; // V:1.13
I am new to Visual C++, but i've followed the instruction in various pages ie:
to build and use the library and can't see what i'm doing wrong. (Note i have not being able to compile the vlib.lib using precompiled headers)
Thanks for your help