Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / Dev-C++ and WxWindows - Cannot Compile

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

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Dev-C++ and WxWindows - Cannot Compile
#4938
Posted by: 2004-08-04 13:06:36
Hi
Starting to learn to use WxWindows and Dev-C++. Following the tutorial at C:\Documents and Settings\Administrator\Desktop\Using Dev-C++ with wxWidgets.htm, by Julian.  I have downloaded the DevPak for WxWindows 2.4.2, Imagelib-2 and the WxWindows-Contrib 2.4.2 from Michel.  Able to install without problem.  Then added those entries for the Project Setting (although the interface in the tutorial is different from the latest Dev C++ I downloaded).  Then start up a new WxWindows application - the option is there.  However, failed to compile.  I am not sure what project type I should use.  Should I use Win32 GUI?  Nevertheless, I tried all without success.  Error messages are:
mdi.cpp C:\Dev-Cpp\lib\libwxmsw.a(mdi.o)(.data$_ZTV14wxMenuItemList+0x0) multiple definition of `vtable for wxMenuItemList'
/Dev-Cpp/include/wx/msw/frame.h F:\Imperial

College\IndividualProject\wxWindows\main.o(.rdata$_ZTV14wxMenuItemList+0x0):C first defined here

 F:\Imperial College\IndividualProject\wxWindows\main.o(.rdata$_ZTV5MyApp+0xa0) In function `ZN5MyApp6OnInitEv':

  [Linker error] undefined reference to `wxAppBase::OnAssert(char const*, int, char const*, char const*)'

 F:\Imperial College\IndividualProject\wxWindows\main.o(.text$_ZNK12wxWindowBase7GetNameEv+0x37) In function `Z11wxCreateAppv':

  [Linker error] undefined reference to `wxAssert(int, char const*, int, char const*, char const*)'

 F:\Imperial College\IndividualProject\wxWindows\Makefile.win [Build Error]  [Project1.exe] Error 1

Hope I can get some help from here.

Regards
Hong
Message2. Re: Dev-C++ and WxWindows - Cannot Compile
#4940
Posted by: 2004-08-04 14:52:56
It is problem z new version of DevC++, You must downgrade to 4.9.8.10 version or ealier.
Message3. Re: Dev-C++ and WxWindows - Cannot Compile
#4942
Posted by: 2004-08-05 01:22:10
Hi Tomasz Kaczanowski

Thank you very much.  I downloaded 4.9.8.0 and installed the same DevPak and it worked.  I am unable to find ver 4.9.8.10, do you know where can I download it?  Dev-C++ site only list the latest (4.9.9.0).  I managed to get 4.9.8.0 from another website.

Regards
Hong
Message4. Re: Dev-C++ and WxWindows - Cannot Compile
#4945
Posted by: 2004-08-05 14:10:46
I've got ver 4.9.8.10 on my computer, I can send it You. It is about 2.5MB.
Message5. Re: Dev-C++ and WxWindows - Cannot Compile
#4948
Posted by: 2004-08-05 21:08:51
Dear Tomasz Kaczanowski

I would be grateful if you can send the ver 4.9.8.10 to my email (pls click my name above).  It took me some efforts to get it (Dev-C++) working with <iostream> (simple hello world using cout).  I wonder if others had the same problem.  Thanks again for the help.

By the way, is wxWidgets = wxWindows?

Regards
Hong
Message6. Re: Dev-C++ and WxWindows - Cannot Compile
#4953
Posted by: 2004-08-06 04:08:45
By the way, is wxWidgets = wxWindows?

Sure it is, got me too :-) But surely you mean "wxWidgets == wxWindows" :-)

cheerz
Message7. Re: Dev-C++ and WxWindows - Cannot Compile
#4960
Posted by: 2004-08-06 23:00:17
Thanks Tomasz!  How did you create that RAR file (breaking into smaller pieces)?
Titan, thanks for the reply.  I read that wxWindows is the old name for wxWidgets.  I sure mean "==" :-).

Regards
Hong
Message8. Re: Dev-C++ and WxWindows - Cannot Compile
#4976
Posted by: hailang_82 2004-08-12 15:57:09
Heyz Heyz,

Can I have the 4.9.8.10 version too?? I have problem compiling with 4.9.9.0. THink is some sort of linkeage error.  send to wrongaddress16@yahoo.com

Your help is greatly appreaciated!

Thanks dude!!!

cya!
Message9. Re: Dev-C++ and WxWindows - Cannot Compile
#4987
Posted by: 2004-08-15 04:10:06
http//michel.weinachter.free.fr/

michel updated his devpacks (compiled with gcc 3.3.1)



Message10. Re: Dev-C++ and WxWindows - Cannot Compile
#5000
Posted by: 2004-08-18 15:23:53
where i can find information about XPM for wxwidgets ?
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Sat 2024-4-20  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0