[wxPython-dev] Errors on embedded platform

Robin Dunn robin at alldunn.com
Mon Nov 12 15:07:02 PST 2007


Markus Kuhnla wrote:
> Hello wxPython experts,
> 
> this is my very first message to this list and sorry for the 
> circumstance that it is a question. I count on your mercy ;-)
> 
> I try to make wxPython programs running on a Mips-based embedded 
> platform and therefore I need to get wxPython cross-compiled and running 
> for this platform.
> 
> The platform is a uclibc-Linux built with a "buildroot" derived 
> cross-toolkit. Python is version 2.4.2. I got both wxWidgets 2.8.6 and 
> wxPython 2.8.6 cross-compiled but as soon as I try to do a 
> "myApp=wx.App()" I get an "segmentation fault" error. I debugged this 
> out to happen at the call to XOpenDisplay() in function 
> wxPyTestDisplayAvailable() (helpers.cpp).

Which wxWidgets port are you using?

> 
> My next step was to write a little test-program (C-Code) calling 
> XOpenDisplay and XCloseDisplay and this worked fine.
> After this I tried to run the various demo programs, coming with 
> wxWidgets and they ran well too.
> 
> For now, I am a little bit desperated how to isolate the problem. 
> Everything seems to work fine but wxPython is kidding me. I saw a lot of 
> "deprecated conversion from string to char*" while cross-compiling and 
> am unsure, whether this is a problem?

Are you doing an Ansi or a Unicode build?  Are you building both 
wxWidgets and wxPython with the same settings?


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-dev mailing list