User forums > Help

CB keeps crashing (my fault)

<< < (3/3)

_teo_:

--- Quote from: mandrav on October 22, 2006, 12:46:35 am ---Why did you build wx from source? Is something missing from the version in the repositories?

--- End quote ---
mandrav, actually there is something that's missing: wxChoice::GetCurrentSelection method is used in some of contributed plugins. In wxWidgets online-help one can read following:

"This function is new since wxWidgets version 2.6.2 (before this version GetSelection itself behaved like this)."
The URL: http://www.wxwindows.org/manuals/2.6.3/wx_wxchoice.html

In Ubuntu repositories there is an older version.

However I managed to build 2.6.3 from source (patch 2 is applied) and I built C::B against it. This works, but I get an error about missing CBProfiles.zip file (I noticed the other thread in this forum).

mandrav:

--- Quote ---mandrav, actually there is something that's missing: wxChoice::GetCurrentSelection method is used in some of contributed plugins.
--- End quote ---

Well, post the errors here so we can fix them. Normally (as in the core sdk and plugins), we use #ifdef guards around calls to wxChoice::GetCurrentSelection() so that compilation works.

_teo_:
I just compiled C::B 3126 against wx 2.6.1 from Ubuntu repositories. There seems to be only one single problem:

/trunk/src/plugins/contrib/symtab/symtabconfig.cpp
Line 340

PS: CBProfiler.zip isn't found and Settings > Compiler and debugger crashes C::B

MortenMacFly:

--- Quote from: _teo_ on October 23, 2006, 11:58:27 pm ---/trunk/src/plugins/contrib/symtab/symtabconfig.cpp
Line 340

--- End quote ---
Do you read the changelog (http://svn.berlios.de/wsvn/codeblocks/?op=log&rev=0&sc=0&isdir=1)?
Check out revision 3129... ;-)
With regards, Morten.

_teo_:

--- Quote from: MortenMacFly on October 24, 2006, 08:28:17 am ---
--- Quote from: _teo_ on October 23, 2006, 11:58:27 pm ---/trunk/src/plugins/contrib/symtab/symtabconfig.cpp
Line 340

--- End quote ---
Do you read the changelog (http://svn.berlios.de/wsvn/codeblocks/?op=log&rev=0&sc=0&isdir=1)?
Check out revision 3129... ;-)
With regards, Morten.

--- End quote ---
Well, I don't. Anyway I'm going to use 2.6.3. Keep the good work!

Navigation

[0] Message Index

[*] Previous page

Go to full version