User forums > Embedded development

cb crashes very often on embedded system

<< < (3/3)

seahawkibiza:
Ok, i tried the newest build from the svn. its not posible to compile with wxWidgets 2.9.4
Also the available patches dont work.
with wxwidgets last stable versión works fine.

the only problem is that i need wxwidgets in a versión before 3.0, because I have own lexer for scintilla, and since 3.0 all is different....

Jenna:
Use wx2.8.12 if possible.
C::B is not fully compatible with wx > 3.0, it compiles and most stuff works, but it's by far not as stable as with 2.8.

oBFusCATed:

--- Quote from: seahawkibiza on April 06, 2015, 11:16:42 am ---the only problem is that i need wxwidgets in a versión before 3.0, because I have own lexer for scintilla, and since 3.0 all is different....

--- End quote ---
CB doesn't use the wxSTC component, so if you're using the lexer with cb then you're not dependant on wxWidgets.
If you're using wxSTC in your projects then you can have multiple versions of wx installed and use the appropriate one for building different projects.

seahawkibiza:
Ok, so I´ve tried severall installations.
To test I changed meanwhile to a Debian Wheezy, NVideo-Grafics, Intel 686 dual core, wxWidgets build on gtk+-2.0,
but also I made the same tests on Bananian Pi, but between this 2 systems I detect no difference (only the speed :-) )

I tried:
CB from SVN last build, with wxWidgets last stable 3.0.2
CB from SVN last build, with wxWidgets prelast stable 2.8.x
CB from SVN last build, with wxWidgets 2.9.4
CB 3.12 from tarball, with wxWidgets last stable 3.0.2
CB 3.12 from tarball, with wxWidgets prestable 2.8.x
CB 3.12 from tarball, with wxWidgets 2.9.4

Following happens:
Only on the first build (CB from svn, wxWidgets 3.0.2) I can open the project in CB and cann use wxSmith to edit the Ressouces.
On the other builds CB frozen, hangs, crashes with the Ressources, especially the Notebook-Pages.

So I decided to use this configuration.

Then I build the wxWidgets 2.9.4 for my project with:
--with-opengl --enable-unicode --enable-debug --enable-debug_info

I can compile and link my project fine. I can edit the resosources.

To remember:
On Windows, CB 3.12, wxWidgets 2.9.4 rns the project very nice (on different platforms by a lot of customers)

But on booth linux systems comes now the followig error:

../src/gtk/window.cpp(2698): assert "m_widget" failed in DoSetSize(): invalid window
(followed by a lot of similiar messages with a Sig fault error at the end)

Occured in the constructor of the mainframe,
FlexGridSizer1->Add
PageProg->SetSizer(FlexGridSizer1)
FlexGridSizer1->Fit(PageProg)  <-- here occurs the Error.

This code is the code produced by wxSmith.

What can be the reason?

seahawkibiza:
Ok, problems are solved.

I compiled CB from svn, last version with wxWidgets 2.8.x (last stable).
Then I compiled wxWidgets 2.8.x again in a other folder with all debug_infos, opengl, etc..

This now is working fine. On all my platforms including Banana Pi.

Only the openGL makes trouble, but this is a other problem :-)

Navigation

[0] Message Index

[*] Previous page

Go to full version