Kirix Support Forums
Is there any version of wxAUI for MinGW?
9 posts
• Page 1 of 1
Is there any version of wxAUI for MinGW?
I am a programmer on Unix platform and feel wxAUI has potential advantage. I don't know how to use MS VC++ on Win32, so I have using MinGW to develop Win32 application for some years. But I found that wxAUI's source may not be built using MinGW. Is there any version of wxAUI for MinGW?
- jerry
- Registered User
- Posts: 3
- Joined: Thu Dec 29, 2005 9:39 am
wxAUI 0.9 contained build files for MSVC++ 6, MSVC++ 2005, and gcc under linux. Unfortunately we haven't yet included a makefile which will allow compilation under MinGW. However, it should be a rather trivial operation to modify the linux Makefile to make it compile under MinGW.
In future releases, we will look into expanding our build files to include a Makefile for MinGW.
Thanks for your post.
In future releases, we will look into expanding our build files to include a Makefile for MinGW.
Thanks for your post.
-
Ben - Kirix Support Team
- Posts: 525
- Joined: Mon Dec 19, 2005 6:29 am
Have you considered using bakefiles?
Currently with a bakefile you can automatically generate:
-MS Visual C++ projects
-MS eMbedded Visual C++ projects
-Borland C++ Builder X projects
-Xcode 2 projects
-MS Visual C++ makefiles
-MinGW makefiles
-GNU GCC makefiles
-Borland makefiles
-Digital Mars makefiles
-Open Watcom makefiles
-Symbian makefiles
-Autoconf support
-More are in development
Currently with a bakefile you can automatically generate:
-MS Visual C++ projects
-MS eMbedded Visual C++ projects
-Borland C++ Builder X projects
-Xcode 2 projects
-MS Visual C++ makefiles
-MinGW makefiles
-GNU GCC makefiles
-Borland makefiles
-Digital Mars makefiles
-Open Watcom makefiles
-Symbian makefiles
-Autoconf support
-More are in development
- tenmon
- Registered User
- Posts: 9
- Joined: Wed Dec 28, 2005 7:16 pm
tenmon wrote:Have you considered using bakefiles?
Certainly the thought has crossed our minds. The goal of the wxAUI 0.9 release was to get the library into the hands of the public as soon as possible. Since the "library" right now consists of one "cpp" and one "h" file, we thought we would simply include rudimentary build facilities.
In future versions, we hope to beef out these build facilities significantly, possibly by using bakefiles.
Thanks for your input.
-
Ben - Kirix Support Team
- Posts: 525
- Joined: Mon Dec 19, 2005 6:29 am
What's mean of this error compiling the wxaui lib
While the wxaui library was compiled using MinGW, a error occurred. But I didn't know how it happened. this error information is:
src/manager.cpp:786: error: definition of static data member 'wxFrameManager::sm_eventTableEntries' of dllimport'd class.
What happened?
src/manager.cpp:786: error: definition of static data member 'wxFrameManager::sm_eventTableEntries' of dllimport'd class.
What happened?
- jerry
- Registered User
- Posts: 3
- Joined: Thu Dec 29, 2005 9:39 am
I have found out a solution for MinGW
insert following codes into manager.h and build a libwxaui.a for MinGW:
#if defined(__WXMSW__)
#define WXDLLEXPORT /* */
#endif
#if defined(__WXMSW__)
#define WXDLLEXPORT /* */
#endif
- jerry
- Registered User
- Posts: 3
- Joined: Thu Dec 29, 2005 9:39 am
thx for this fine library !
wxAUI builds fine with MinGW gcc (3.4.4)
for a static lib build i removed the WXDLLEXPORT too as posted before.
if someone is interested, here
http://tiwag.front.ru/codeblocks/wxAUI_example.zip
you can find a CodeBlocks project, which builds wxAUI as static lib and the simple example
(from the Website http://www.kirix.com/en/community/opens ... mples.html )
using this lib.
this CodeBlocks project file is usable with any recent SVN build of CodeBlocks, which can be downloaded from here
http://paginas.terra.com.br/informatica ... odeblocks/
regards, tiwag
wxAUI builds fine with MinGW gcc (3.4.4)
for a static lib build i removed the WXDLLEXPORT too as posted before.
if someone is interested, here
http://tiwag.front.ru/codeblocks/wxAUI_example.zip
you can find a CodeBlocks project, which builds wxAUI as static lib and the simple example
(from the Website http://www.kirix.com/en/community/opens ... mples.html )
using this lib.
this CodeBlocks project file is usable with any recent SVN build of CodeBlocks, which can be downloaded from here
http://paginas.terra.com.br/informatica ... odeblocks/
regards, tiwag
- tiwag
- Registered User
- Posts: 1
- Joined: Sun Jan 01, 2006 9:37 am
- Location: Vienna - Austria
- tenmon
- Registered User
- Posts: 9
- Joined: Wed Dec 28, 2005 7:16 pm
That's fantastic news! We here at Kirix are thrilled that Code::Blocks has decided to use wxAUI.
All the best,
Ben
All the best,
Ben
-
Ben - Kirix Support Team
- Posts: 525
- Joined: Mon Dec 19, 2005 6:29 am
9 posts
· Page 1 of 1
Return to wxAUI Questions, Thoughts & Feedback