Prev: Re[2]: Qt vs wxWidgets
Next: wxTreeCtrl
From: Artur Wystub on 18 Mar 2006 00:33 Helo NG, while linking the first HelloWorld-App from the wxWidgets-Book i get following errors: Linking... MyApp.obj : error LNK2019: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free(a)wxStringData@@QAEXXZ) referenced in function "public: void __thiscall wxStringData::Unlock(void)" (?Unlock(a)wxStringData@@QAEXXZ) wxmsw26d_core.lib(window.obj) : error LNK2019: unresolved external symbol __imp___TrackMouseEvent@4 referenced in function "public: bool __thiscall wxWindow::HandleMouseMove(int,int,unsigned int)" (?HandleMouseMove(a)wxWindow@@QAE_NHHI@Z) wxmsw26d_core.lib(app.obj) : error LNK2019: unresolved external symbol __imp__InitCommonControls@0 referenced in function "public: virtual bool __thiscall wxApp::Initialize(int &,char * *)" (?Initialize(a)wxApp@@UAE_NAAHPAPAD@Z) wxmsw26d_core.lib(statbr95.obj) : error LNK2019: unresolved external symbol __imp__CreateStatusWindowA(a)16 referenced in function "public: bool __thiscall wxStatusBar::Create(class wxWindow *,int,long,class wxString const &)" (?Create(a)wxStatusBar@@QAE_NPAVwxWindow@@HJABVwxString@@@Z) wxmsw26d_core.lib(spinbutt.obj) : error LNK2019: unresolved external symbol __imp__CreateUpDownControl(a)48 referenced in function "public: bool __thiscall wxSpinButton::Create(class wxWindow *,int,class wxPoint const &,class wxSize const &,long,class wxString const &)" (?Create(a)wxSpinButton@@QAE_NPAVwxWindow@@HABVwxPoint@@ABVwxSize@@JABVwxString@@@Z) wxmsw26d_core.lib(imaglist.obj) : error LNK2019: unresolved external symbol __imp__ImageList_Create(a)20 referenced in function "public: bool __thiscall wxImageList::Create(int,int,bool,int)" (?Create(a)wxImageList@@QAE_NHH_NH@Z) wxmsw26d_core.lib(imaglist.obj) : error LNK2019: unresolved external symbol __imp__ImageList_Destroy@4 referenced in function "public: virtual __thiscall wxImageList::~wxImageList(void)" (??1wxImageList@@UAE(a)XZ) wxmsw26d_core.lib(imaglist.obj) : error LNK2019: unresolved external symbol __imp__ImageList_GetImageCount@4 referenced in function "public: int __thiscall wxImageList::GetImageCount(void)const " (?GetImageCount(a)wxImageList@@QBEHXZ) wxmsw26d_core.lib(imaglist.obj) : error LNK2019: unresolved external symbol __imp__ImageList_GetIconSize(a)12 referenced in function "public: bool __thiscall wxImageList::GetSize(int,int &,int &)const " (?GetSize(a)wxImageList@@QBE_NHAAH0@Z) wxmsw26d_core.lib(imaglist.obj) : error LNK2019: unresolved external symbol __imp__ImageList_Add(a)12 referenced in function "public: int __thiscall wxImageList::Add(class wxBitmap const &,class wxBitmap const &)" (?Add(a)wxImageList@@QAEHABVwxBitmap@@0@Z) wxmsw26d_core.lib(imaglist.obj) : error LNK2019: unresolved external symbol __imp__ImageList_AddMasked(a)12 referenced in function "public: int __thiscall wxImageList::Add(class wxBitmap const &,class wxColour const &)" (?Add(a)wxImageList@@QAEHABVwxBitmap@@ABVwxColour@@@Z) wxmsw26d_core.lib(imaglist.obj) : error LNK2019: unresolved external symbol __imp__ImageList_ReplaceIcon(a)12 referenced in function "public: int __thiscall wxImageList::Add(class wxIcon const &)" (?Add(a)wxImageList@@QAEHABVwxIcon@@@Z) wxmsw26d_core.lib(imaglist.obj) : error LNK2019: unresolved external symbol __imp__ImageList_Replace(a)16 referenced in function "public: bool __thiscall wxImageList::Replace(int,class wxBitmap const &,class wxBitmap const &)" (?Replace(a)wxImageList@@QAE_NHABVwxBitmap@@0@Z) wxmsw26d_core.lib(imaglist.obj) : error LNK2019: unresolved external symbol __imp__ImageList_Remove@8 referenced in function "public: bool __thiscall wxImageList::Remove(int)" (?Remove(a)wxImageList@@QAE_NH@Z) wxmsw26d_core.lib(imaglist.obj) : error LNK2019: unresolved external symbol __imp__ImageList_Draw(a)24 referenced in function "public: bool __thiscall wxImageList::Draw(int,class wxDC &,int,int,int,bool)" (?Draw(a)wxImageList@@QAE_NHAAVwxDC@@HHH_N@Z) wxmsw26d_core.lib(imaglist.obj) : error LNK2019: unresolved external symbol __imp__ImageList_SetBkColor@8 referenced in function "public: bool __thiscall wxImageList::Draw(int,class wxDC &,int,int,int,bool)" (?Draw(a)wxImageList@@QAE_NHAAVwxDC@@HHH_N@Z) wxmsw26d_core.lib(imaglist.obj) : error LNK2019: unresolved external symbol __imp__ImageList_GetIcon(a)12 referenced in function "public: class wxIcon __thiscall wxImageList::GetIcon(int)const " (?GetIcon(a)wxImageList@@QBE?AVwxIcon@@H@Z) wxmsw26d_core.lib(uuid.obj) : error LNK2019: unresolved external symbol __imp__UuidToStringA@8 referenced in function "public: __thiscall Uuid::Uuid(class Uuid const &)" (??0Uuid@@QAE(a)ABV0@@Z) wxmsw26d_core.lib(uuid.obj) : error LNK2019: unresolved external symbol __imp__RpcStringFreeA@4 referenced in function "public: __thiscall Uuid::~Uuid(void)" (??1Uuid@@QAE(a)XZ) wxmsw26d_core.lib(uuid.obj) : error LNK2019: unresolved external symbol __imp__UuidCreate@4 referenced in function "public: void __thiscall Uuid::Create(void)" (?Create(a)Uuid@@QAEXXZ) wxmsw26d_core.lib(uuid.obj) : error LNK2019: unresolved external symbol __imp__UuidFromStringA@8 referenced in function "public: bool __thiscall Uuid::Set(char const *)" (?Set(a)Uuid@@QAE_NPBD@Z) C:\Dokumente und Einstellungen\Artur Wystub\Eigene Dateien\Visual Studio 2005\Projects\FirstWxTest\Debug\FirstWxTest.exe : fatal error LNK1120: 21 unresolved externals Build log was saved at "file://c:\Dokumente und Einstellungen\Artur Wystub\Eigene Dateien\Visual Studio 2005\Projects\FirstWxTest\FirstWxTest\Debug\BuildLog.htm" FirstWxTest - 22 error(s), 18 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Any Idea? Thanks in advance Artur
From: Artur Wystub on 18 Mar 2006 00:39 I forgot: I'm using MS Visual Studio Express 2005
From: Artur Wystub on 18 Mar 2006 00:46 and wxWidgets 2.6.2 Sorry, next time i will use one posting for this informations. Artur
From: Iulian-Nicu Serbanoiu on 18 Mar 2006 04:14 Have you compiled your wxWidgets library using Visual C++ Express or are you using the wxWidgets library version built with an older version of the Microsoft compiler ? ( 'cause that's what happened to me yesterday ). The solution was pretty simple: Build wxWidgets with Visual C++ Express & Platform SDK and then try to recompile examples. Does this work ? Also it is very important to know the platform ( NT,2000,XP, 9x, ME ... ) because there are some differences ( cmd.exe / command.com for example ). In you case I think it is a 2000,XP, because 2000, XP, Server 2003, x64 or Vista are the requirements for Visual C++ Express 2005. Good Luck, Iulian PS: If you have any trouble I could help you with some scripts to properly set your build environment when compiling ( command line that is ... ). Artur Wystub wrote: > and wxWidgets 2.6.2 > > Sorry, next time i will use one posting for this informations. > > Artur > --------------------------------------------------------------------- To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org
From: Artur Wystub on 19 Mar 2006 17:47 Thanks for Your help, but i have lost my patience and bought the wxVisualSetup. And it works now :) Regards Artur Iulian-Nicu Serbanoiu wrote: > Have you compiled your wxWidgets library using Visual C++ Express or are > you using the wxWidgets library version built with an older version of > the Microsoft compiler ? ( 'cause that's what happened to me yesterday > ). The solution was pretty simple: Build wxWidgets with Visual C++ > Express & Platform SDK and then try to recompile examples. > > Does this work ? > > Also it is very important to know the platform ( NT,2000,XP, 9x, ME ... > ) because there are some differences ( cmd.exe / command.com for > example ). In you case I think it is a 2000,XP, because 2000, XP, Server > 2003, x64 or Vista are the requirements for Visual C++ Express 2005. > > Good Luck, > Iulian > > PS: If you have any trouble I could help you with some scripts to > properly set your build environment when compiling ( command line that > is ... ). > > Artur Wystub wrote: > >> and wxWidgets 2.6.2 >> >> Sorry, next time i will use one posting for this informations. >> >> Artur > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org > For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org >
|
Pages: 1 Prev: Re[2]: Qt vs wxWidgets Next: wxTreeCtrl |