Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / Linker errors from latest version of Wx

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Linker errors from latest version of Wx
#6376
Posted by: 2005-07-25 19:05:16
Hello All
I used Wx version 2.4.2 for a long time witout any error, just updated to 2.6.1 and now got the following linker errors when recompiling programs which were properly compiled with 2.4.2 ... any idea would be greatly appreciated
I've installed 2.6.1 using the windows installer, I use Visual C++ 6.0 to compile.


fw_upgraderApp.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxAppConsole::HandleEvent(class wxEvtHandler *,void (__thiscall wxEvtHandler::*)(class wxEvent &),class wxEvent &)const " (?HandleEvent@wxAppConsole@@UBE
XPAVwxEvtHandler@@P82@AEXAAVwxEvent@@@Z1@Z)
fw_upgraderApp.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxApp::OnExceptionInMainLoop(void)" (?OnExceptionInMainLoop@wxApp@@UAE_NXZ)
Debug/fw_upgrader.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.

fw_upgrader.exe - 3 error(s), 1 warning(s)

Message2. Re: Linker errors from latest version of Wx
#6884
Posted by: 2005-09-14 21:09:55
The library default directory has changed. Just have a look at the project options of the "minimal" example of the 2.6.1 distribution and copy new lib directories into your project settings. The minimal.dsp and minimal.dsw can be a template for any wx project: just cut all the referenced .cpp .h .xrc etc... files in it and replace with appropriate project name.
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Fri 2024-3-29  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0