1>------ Build started: Project: OscilloC, Configuration: Debug Win32 ------
1> Source.cpp
1>c:\root_v5.34.36\include\tgframe.h(336): warning C4800: ‘int’ : forcing value to bool ‘true’ or ‘false’ (performance warning)
1>c:\root_v5.34.36\include\tgframe.h(427): warning C4800: ‘int’ : forcing value to bool ‘true’ or ‘false’ (performance warning)
1>c:\root_v5.34.36\include\tgshutter.h(116): warning C4800: ‘TGShutterItem *’ : forcing value to bool ‘true’ or ‘false’ (performance warning)
1>c:\root_v5.34.36\include\tgfscontainer.h(200): error C2628: ‘Bool_t’ followed by ‘char’ is illegal (did you forget a ‘;’?)
1>c:\root_v5.34.36\include\tglisttree.h(134): warning C4800: ‘int’ : forcing value to bool ‘true’ or ‘false’ (performance warning)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
The main problem is the same, small (used from c:\root_v5.34.36\include\TGFSContainer.h) sems to be #defined on c:\Program Files (x86)\Windows Kits\8.1\Include\shared\rpcndr.h (#define small char), maybe something regarding var type?
Since it seems a prototype arguments name should not be used, so i canged small to > smalla, here the compiling result:
1>------ Build started: Project: OscilloC, Configuration: Debug Win32 ------
1> Source.cpp
1>c:\root_v5.34.36\include\tgframe.h(336): warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
1>c:\root_v5.34.36\include\tgframe.h(427): warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
1>c:\root_v5.34.36\include\tgshutter.h(116): warning C4800: 'TGShutterItem *' : forcing value to bool 'true' or 'false' (performance warning)
1>c:\root_v5.34.36\include\tglisttree.h(134): warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
1> Generating Code...
1> Skipping... (no relevant changes detected)
1> test.cpp
1>test.obj : error LNK2005: "void __cdecl test(void)" (?test@@YAXXZ) already defined in Source.obj
1>Source.obj : error LNK2019: unresolved external symbol "public: static void * __cdecl TStorage::ObjectAlloc(unsigned int)" (?ObjectAlloc@TStorage@@SAPAXI@Z) referenced in function "public: static void * __cdecl TObject::operator new(unsigned int)" (??2TObject@@SAPAXI@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: static void * __cdecl TStorage::ObjectAlloc(unsigned int)" (?ObjectAlloc@TStorage@@SAPAXI@Z)
1>Source.obj : error LNK2019: unresolved external symbol "public: __thiscall TVersionCheck::TVersionCheck(int)" (??0TVersionCheck@@QAE@H@Z) referenced in function "void __cdecl `dynamic initializer for 'gVersionCheck''(void)" (??__EgVersionCheck@@YAXXZ)
1>test.obj : error LNK2001: unresolved external symbol "public: __thiscall TVersionCheck::TVersionCheck(int)" (??0TVersionCheck@@QAE@H@Z)
1>Source.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall TObject::DoError(int,char const *,char const *,char *)const " (?DoError@TObject@@MBEXHPBD0PAD@Z)
1>test.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall TObject::DoError(int,char const *,char const *,char *)const " (?DoError@TObject@@MBEXHPBD0PAD@Z)
1>Source.obj : error LNK2019: unresolved external symbol "public: __thiscall TObject::TObject(void)" (??0TObject@@QAE@XZ) referenced in function "public: __thiscall TGLayoutHints::TGLayoutHints(unsigned long,int,int,int,int)" (??0TGLayoutHints@@QAE@KHHHH@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: __thiscall TObject::TObject(void)" (??0TObject@@QAE@XZ)
1>Source.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall TObject::~TObject(void)" (??1TObject@@UAE@XZ) referenced in function __unwindfunclet$??0TGLayoutHints@@QAE@KHHHH@Z$0
1>test.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall TObject::~TObject(void)" (??1TObject@@UAE@XZ)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::AppendPad(char const *)" (?AppendPad@TObject@@UAEXPBD@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::AppendPad(char const *)" (?AppendPad@TObject@@UAEXPBD@Z)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::Browse(class TBrowser *)" (?Browse@TObject@@UAEXPAVTBrowser@@@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::Browse(class TBrowser *)" (?Browse@TObject@@UAEXPAVTBrowser@@@Z)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual char const * __thiscall TObject::ClassName(void)const " (?ClassName@TObject@@UBEPBDXZ)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual char const * __thiscall TObject::ClassName(void)const " (?ClassName@TObject@@UBEPBDXZ)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual class TObject * __thiscall TObject::Clone(char const *)const " (?Clone@TObject@@UBEPAV1@PBD@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual class TObject * __thiscall TObject::Clone(char const *)const " (?Clone@TObject@@UBEPAV1@PBD@Z)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall TObject::Compare(class TObject const *)const " (?Compare@TObject@@UBEHPBV1@@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall TObject::Compare(class TObject const *)const " (?Compare@TObject@@UBEHPBV1@@Z)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::Copy(class TObject &)const " (?Copy@TObject@@UBEXAAV1@@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::Copy(class TObject &)const " (?Copy@TObject@@UBEXAAV1@@Z)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::Delete(char const *)" (?Delete@TObject@@UAEXPBD@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::Delete(char const *)" (?Delete@TObject@@UAEXPBD@Z)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall TObject::DistancetoPrimitive(int,int)" (?DistancetoPrimitive@TObject@@UAEHHH@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall TObject::DistancetoPrimitive(int,int)" (?DistancetoPrimitive@TObject@@UAEHHH@Z)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::Draw(char const *)" (?Draw@TObject@@UAEXPBD@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::Draw(char const *)" (?Draw@TObject@@UAEXPBD@Z)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::DrawClass(void)const " (?DrawClass@TObject@@UBEXXZ)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::DrawClass(void)const " (?DrawClass@TObject@@UBEXXZ)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual class TObject * __thiscall TObject::DrawClone(char const *)const " (?DrawClone@TObject@@UBEPAV1@PBD@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual class TObject * __thiscall TObject::DrawClone(char const *)const " (?DrawClone@TObject@@UBEPAV1@PBD@Z)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::Dump(void)const " (?Dump@TObject@@UBEXXZ)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::Dump(void)const " (?Dump@TObject@@UBEXXZ)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::Execute(char const *,char const *,int *)" (?Execute@TObject@@UAEXPBD0PAH@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::Execute(char const *,char const *,int *)" (?Execute@TObject@@UAEXPBD0PAH@Z)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::Execute(class TMethod *,class TObjArray *,int *)" (?Execute@TObject@@UAEXPAVTMethod@@PAVTObjArray@@PAH@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::Execute(class TMethod *,class TObjArray *,int *)" (?Execute@TObject@@UAEXPAVTMethod@@PAVTObjArray@@PAH@Z)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::ExecuteEvent(int,int,int)" (?ExecuteEvent@TObject@@UAEXHHH@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::ExecuteEvent(int,int,int)" (?ExecuteEvent@TObject@@UAEXHHH@Z)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual class TObject * __thiscall TObject::FindObject(char const *)const " (?FindObject@TObject@@UBEPAV1@PBD@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual class TObject * __thiscall TObject::FindObject(char const *)const " (?FindObject@TObject@@UBEPAV1@PBD@Z)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual class TObject * __thiscall TObject::FindObject(class TObject const *)const " (?FindObject@TObject@@UBEPAV1@PBV1@@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual class TObject * __thiscall TObject::FindObject(class TObject const *)const " (?FindObject@TObject@@UBEPAV1@PBV1@@Z)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual char const * __thiscall TObject::GetDrawOption(void)const " (?GetDrawOption@TObject@@UBEPBDXZ)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual char const * __thiscall TObject::GetDrawOption(void)const " (?GetDrawOption@TObject@@UBEPBDXZ)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall TObject::GetUniqueID(void)const " (?GetUniqueID@TObject@@UBEIXZ)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall TObject::GetUniqueID(void)const " (?GetUniqueID@TObject@@UBEIXZ)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual char const * __thiscall TObject::GetName(void)const " (?GetName@TObject@@UBEPBDXZ)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual char const * __thiscall TObject::GetName(void)const " (?GetName@TObject@@UBEPBDXZ)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual char const * __thiscall TObject::GetIconName(void)const " (?GetIconName@TObject@@UBEPBDXZ)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual char const * __thiscall TObject::GetIconName(void)const " (?GetIconName@TObject@@UBEPBDXZ)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual char * __thiscall TObject::GetObjectInfo(int,int)const " (?GetObjectInfo@TObject@@UBEPADHH@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual char * __thiscall TObject::GetObjectInfo(int,int)const " (?GetObjectInfo@TObject@@UBEPADHH@Z)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual char const * __thiscall TObject::GetTitle(void)const " (?GetTitle@TObject@@UBEPBDXZ)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual char const * __thiscall TObject::GetTitle(void)const " (?GetTitle@TObject@@UBEPBDXZ)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall TObject::HandleTimer(class TTimer *)" (?HandleTimer@TObject@@UAE_NPAVTTimer@@@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall TObject::HandleTimer(class TTimer *)" (?HandleTimer@TObject@@UAE_NPAVTTimer@@@Z)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual unsigned long __thiscall TObject::Hash(void)const " (?Hash@TObject@@UBEKXZ)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual unsigned long __thiscall TObject::Hash(void)const " (?Hash@TObject@@UBEKXZ)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall TObject::InheritsFrom(char const *)const " (?InheritsFrom@TObject@@UBE_NPBD@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall TObject::InheritsFrom(char const *)const " (?InheritsFrom@TObject@@UBE_NPBD@Z)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall TObject::InheritsFrom(class TClass const *)const " (?InheritsFrom@TObject@@UBE_NPBVTClass@@@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall TObject::InheritsFrom(class TClass const *)const " (?InheritsFrom@TObject@@UBE_NPBVTClass@@@Z)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::Inspect(void)const " (?Inspect@TObject@@UBEXXZ)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::Inspect(void)const " (?Inspect@TObject@@UBEXXZ)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall TObject::IsFolder(void)const " (?IsFolder@TObject@@UBE_NXZ)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall TObject::IsFolder(void)const " (?IsFolder@TObject@@UBE_NXZ)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall TObject::IsEqual(class TObject const *)const " (?IsEqual@TObject@@UBE_NPBV1@@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall TObject::IsEqual(class TObject const *)const " (?IsEqual@TObject@@UBE_NPBV1@@Z)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall TObject::Notify(void)" (?Notify@TObject@@UAE_NXZ)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall TObject::Notify(void)" (?Notify@TObject@@UAE_NXZ)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::Paint(char const *)" (?Paint@TObject@@UAEXPBD@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::Paint(char const *)" (?Paint@TObject@@UAEXPBD@Z)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::Pop(void)" (?Pop@TObject@@UAEXXZ)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::Pop(void)" (?Pop@TObject@@UAEXXZ)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall TObject::Read(char const *)" (?Read@TObject@@UAEHPBD@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall TObject::Read(char const *)" (?Read@TObject@@UAEHPBD@Z)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::RecursiveRemove(class TObject *)" (?RecursiveRemove@TObject@@UAEXPAV1@@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::RecursiveRemove(class TObject *)" (?RecursiveRemove@TObject@@UAEXPAV1@@Z)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::SaveAs(char const *,char const *)const " (?SaveAs@TObject@@UBEXPBD0@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::SaveAs(char const *,char const *)const " (?SaveAs@TObject@@UBEXPBD0@Z)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::SetDrawOption(char const *)" (?SetDrawOption@TObject@@UAEXPBD@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::SetDrawOption(char const *)" (?SetDrawOption@TObject@@UAEXPBD@Z)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::SetUniqueID(unsigned int)" (?SetUniqueID@TObject@@UAEXI@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::SetUniqueID(unsigned int)" (?SetUniqueID@TObject@@UAEXI@Z)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::UseCurrentStyle(void)" (?UseCurrentStyle@TObject@@UAEXXZ)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TObject::UseCurrentStyle(void)" (?UseCurrentStyle@TObject@@UAEXXZ)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall TObject::Write(char const *,int,int)" (?Write@TObject@@UAEHPBDHH@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall TObject::Write(char const *,int,int)" (?Write@TObject@@UAEHPBDHH@Z)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall TObject::Write(char const *,int,int)const " (?Write@TObject@@UBEHPBDHH@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall TObject::Write(char const *,int,int)const " (?Write@TObject@@UBEHPBDHH@Z)
1>Source.obj : error LNK2019: unresolved external symbol "public: static void __cdecl TObject::operator delete(void *)" (??3TObject@@SAXPAX@Z) referenced in function "public: virtual void * __thiscall TGLayoutHints::`scalar deleting destructor'(unsigned int)" (??_GTGLayoutHints@@UAEPAXI@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: static void __cdecl TObject::operator delete(void *)" (??3TObject@@SAXPAX@Z)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl TObject::Info(char const *,char const *,...)const " (?Info@TObject@@UBAXPBD0ZZ)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl TObject::Info(char const *,char const *,...)const " (?Info@TObject@@UBAXPBD0ZZ)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl TObject::Warning(char const *,char const *,...)const " (?Warning@TObject@@UBAXPBD0ZZ)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl TObject::Warning(char const *,char const *,...)const " (?Warning@TObject@@UBAXPBD0ZZ)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl TObject::Error(char const *,char const *,...)const " (?Error@TObject@@UBAXPBD0ZZ)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl TObject::Error(char const *,char const *,...)const " (?Error@TObject@@UBAXPBD0ZZ)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl TObject::SysError(char const *,char const *,...)const " (?SysError@TObject@@UBAXPBD0ZZ)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl TObject::SysError(char const *,char const *,...)const " (?SysError@TObject@@UBAXPBD0ZZ)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl TObject::Fatal(char const *,char const *,...)const " (?Fatal@TObject@@UBAXPBD0ZZ)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl TObject::Fatal(char const *,char const *,...)const " (?Fatal@TObject@@UBAXPBD0ZZ)
1>Source.obj : error LNK2019: unresolved external symbol "public: class TGWindow const * __thiscall TGClient::GetRoot(void)const " (?GetRoot@TGClient@@QBEPBVTGWindow@@XZ) referenced in function "void __cdecl test(void)" (?test@@YAXXZ)
1>test.obj : error LNK2001: unresolved external symbol "public: class TGWindow const * __thiscall TGClient::GetRoot(void)const " (?GetRoot@TGClient@@QBEPBVTGWindow@@XZ)
1>Source.obj : error LNK2019: unresolved external symbol "public: unsigned long __thiscall TGGC::operator()(void)const " (??RTGGC@@QBEKXZ) referenced in function "void __cdecl test(void)" (?test@@YAXXZ)
1>test.obj : error LNK2001: unresolved external symbol "public: unsigned long __thiscall TGGC::operator()(void)const " (??RTGGC@@QBEKXZ)
1>Source.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall TGLayoutHints::~TGLayoutHints(void)" (??1TGLayoutHints@@UAE@XZ) referenced in function "public: virtual void * __thiscall TGLayoutHints::`scalar deleting destructor'(unsigned int)" (??_GTGLayoutHints@@UAEPAXI@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall TGLayoutHints::~TGLayoutHints(void)" (??1TGLayoutHints@@UAE@XZ)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TGLayoutHints::Print(char const *)const " (?Print@TGLayoutHints@@UBEXPBD@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TGLayoutHints::Print(char const *)const " (?Print@TGLayoutHints@@UBEXPBD@Z)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TGLayoutHints::SavePrimitive(class std::basic_ostream<char,struct std::char_traits<char> > &,char const *)" (?SavePrimitive@TGLayoutHints@@UAEXAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@PBD@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TGLayoutHints::SavePrimitive(class std::basic_ostream<char,struct std::char_traits<char> > &,char const *)" (?SavePrimitive@TGLayoutHints@@UAEXAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@PBD@Z)
1>Source.obj : error LNK2019: unresolved external symbol "public: static class TClass * __cdecl TGLayoutHints::Class(void)" (?Class@TGLayoutHints@@SAPAVTClass@@XZ) referenced in function "public: virtual class TClass * __thiscall TGLayoutHints::IsA(void)const " (?IsA@TGLayoutHints@@UBEPAVTClass@@XZ)
1>test.obj : error LNK2001: unresolved external symbol "public: static class TClass * __cdecl TGLayoutHints::Class(void)" (?Class@TGLayoutHints@@SAPAVTClass@@XZ)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TGLayoutHints::ShowMembers(class TMemberInspector &)" (?ShowMembers@TGLayoutHints@@UAEXAAVTMemberInspector@@@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TGLayoutHints::ShowMembers(class TMemberInspector &)" (?ShowMembers@TGLayoutHints@@UAEXAAVTMemberInspector@@@Z)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TGLayoutHints::Streamer(class TBuffer &)" (?Streamer@TGLayoutHints@@UAEXAAVTBuffer@@@Z)
1>test.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TGLayoutHints::Streamer(class TBuffer &)" (?Streamer@TGLayoutHints@@UAEXAAVTBuffer@@@Z)
1>Source.obj : error LNK2019: unresolved external symbol "public: __thiscall TGMainFrame::TGMainFrame(class TGWindow const *,unsigned int,unsigned int,unsigned int)" (??0TGMainFrame@@QAE@PBVTGWindow@@III@Z) referenced in function "void __cdecl test(void)" (?test@@YAXXZ)
1>test.obj : error LNK2001: unresolved external symbol "public: __thiscall TGMainFrame::TGMainFrame(class TGWindow const *,unsigned int,unsigned int,unsigned int)" (??0TGMainFrame@@QAE@PBVTGWindow@@III@Z)
1>Source.obj : error LNK2019: unresolved external symbol "public: void __thiscall TGMainFrame::SetMWMHints(unsigned int,unsigned int,unsigned int)" (?SetMWMHints@TGMainFrame@@QAEXIII@Z) referenced in function "void __cdecl test(void)" (?test@@YAXXZ)
1>test.obj : error LNK2001: unresolved external symbol "public: void __thiscall TGMainFrame::SetMWMHints(unsigned int,unsigned int,unsigned int)" (?SetMWMHints@TGMainFrame@@QAEXIII@Z)
1>Source.obj : error LNK2019: unresolved external symbol "public: static class TGGC const & __cdecl TGButton::GetDefaultGC(void)" (?GetDefaultGC@TGButton@@SAABVTGGC@@XZ) referenced in function "void __cdecl test(void)" (?test@@YAXXZ)
1>test.obj : error LNK2001: unresolved external symbol "public: static class TGGC const & __cdecl TGButton::GetDefaultGC(void)" (?GetDefaultGC@TGButton@@SAABVTGGC@@XZ)
1>Source.obj : error LNK2019: unresolved external symbol "public: static unsigned long __cdecl TGTextButton::GetDefaultFontStruct(void)" (?GetDefaultFontStruct@TGTextButton@@SAKXZ) referenced in function "void __cdecl test(void)" (?test@@YAXXZ)
1>test.obj : error LNK2001: unresolved external symbol "public: static unsigned long __cdecl TGTextButton::GetDefaultFontStruct(void)" (?GetDefaultFontStruct@TGTextButton@@SAKXZ)
1>Source.obj : error LNK2019: unresolved external symbol "public: __thiscall TGTextButton::TGTextButton(class TGWindow const *,char const *,int,unsigned long,unsigned long,unsigned int)" (??0TGTextButton@@QAE@PBVTGWindow@@PBDHKKI@Z) referenced in function "void __cdecl test(void)" (?test@@YAXXZ)
1>test.obj : error LNK2001: unresolved external symbol "public: __thiscall TGTextButton::TGTextButton(class TGWindow const *,char const *,int,unsigned long,unsigned long,unsigned int)" (??0TGTextButton@@QAE@PBVTGWindow@@PBDHKKI@Z)
1>Source.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class TGClient * gClient" (__imp_?gClient@@3PAVTGClient@@A)
1>test.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class TGClient * gClient" (__imp_?gClient@@3PAVTGClient@@A)
1>D:\OscilloC\Debug\OscilloC.exe : fatal error LNK1120: 66 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========