Kirix Support Forums

Is there any version of wxAUI for MinGW?

Please post all general questions, comments, bug reports, and any other wxAUI feedback here.

Is there any version of wxAUI for MinGW?

Postby jerry on Thu Dec 29, 2005 9:51 am

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

Postby Ben on Thu Dec 29, 2005 12:34 pm

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.
User avatar
Ben
Kirix Support Team
 
Posts: 522
Joined: Mon Dec 19, 2005 6:29 am

Postby tenmon on Thu Dec 29, 2005 11:06 pm

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
tenmon
Registered User
 
Posts: 9
Joined: Wed Dec 28, 2005 7:16 pm

Postby Ben on Sat Dec 31, 2005 3:27 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.
User avatar
Ben
Kirix Support Team
 
Posts: 522
Joined: Mon Dec 19, 2005 6:29 am

What's mean of this error compiling the wxaui lib

Postby jerry on Sun Jan 01, 2006 1:40 am

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?
jerry
Registered User
 
Posts: 3
Joined: Thu Dec 29, 2005 9:39 am

I have found out a solution for MinGW

Postby jerry on Sun Jan 01, 2006 5:16 am

insert following codes into manager.h and build a libwxaui.a for MinGW:

#if defined(__WXMSW__)
#define WXDLLEXPORT /* */
#endif

:-)
jerry
Registered User
 
Posts: 3
Joined: Thu Dec 29, 2005 9:39 am

Postby tiwag on Sun Jan 01, 2006 9:49 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
tiwag
Registered User
 
Posts: 1
Joined: Sun Jan 01, 2006 9:37 am
Location: Vienna - Austria

Postby tenmon on Mon Jan 02, 2006 1:00 am

And I can add, Code::Blocks has switched from using wxDockIt for it's own interface to using wxAUI today! :D

Be sure to check it out the latest builds :D

Here is an screenshoot in the Windows version:
Image
tenmon
Registered User
 
Posts: 9
Joined: Wed Dec 28, 2005 7:16 pm

Postby Ben on Mon Jan 02, 2006 10:03 pm

That's fantastic news! We here at Kirix are thrilled that Code::Blocks has decided to use wxAUI.

All the best,
Ben
User avatar
Ben
Kirix Support Team
 
Posts: 522
Joined: Mon Dec 19, 2005 6:29 am

Return to wxAUI Questions, Thoughts & Feedback