News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Compile & run C::B on wxWidgets 2.7

Started by momaa, September 13, 2006, 01:11:22 PM

Previous topic - Next topic

momaa

Hello,

Is it possible to compile Code::Blocks IDE (itself) with the wxWidgets 2.7 library on Linux.
Has anybody done it?   Any difficulties with the C::B + wxWidgets 2.7.0 ?

wxWidgets 2.7.0 is the current test release.
http://wxwidgets.org/downloads/

My system is:
Ubuntu Linux 6.06.1,  32bits PC.

Regardless of the answers, I will make a try ;-)

David Perfors

As far as I know it is not yet tested with success, at least not on Windows. And because wx2.7 is the unstable release, the development team is not supporting it. When wx 2.8 is out, I think the team starts with testing that version, but that could take a year (or more I think)
OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN WX: 2.8.4 Wish list: faster code completion, easier debugging, refactoring

momaa

#2
Ok, the wx 2.8 (even number) will be the stable release.

I made a test and the compilation of C::B with wx2.7 headers failed.

./sdk_events.h: In member function 'virtual wxEvent* CodeBlocksEvent::Clone() const':
./sdk_events.h:31: error: request for member 'operator new' is ambiguous
./blockallocated.h:122: error: candidates are: static void* BlockAllocated<T, pool_size, debug>::operator new(size_t) [with T = CodeBlocksEvent, unsigned int pool_size = 75u, bool debug = false]

Also similar errors on CodeBlocksDockEvent and CodeBlocksLayoutEvent classes.

The errors are too difficult for me to interpret so I will now continue with the normal wx2.6.3.

Thanks.

kelo81

That's because the new wx2.7 has changed several things in the interface; they are even implementing new features... so, it's pretty normal to get errors if you are trying to compile a wx2.6.3 application with a wx2.7 enviroment...
We'll have to be patient... the most important thing is to get the final stable version of Codeblocks with wx2.6.3. I suppose that future Codeblocks versions (after the final 1) will use wx2.8, but we'll have to wait about one year... perhaps more.  :shock:
Ezequiel Ruiz
Tango/04 consultant
www.tango04.com