Errors on embedded platform
Markus Kuhnla
kuhnla at comas.de
Fri Nov 9 11:25:04 PST 2007
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).
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?
Could someone please be so kind and give me some hints??
Kind regards
Markus
--
*******************************************
* COMAS GmbH, Markus Kuhnla *
* *
* Kontakt *
* ======= *
* *
* Markus Kuhnla *
* C/O COMAS GmbH *
* Friolzheimer Str. 5 *
* D-70499 Stuttgart *
* *
* Fon...: +49 (0)711 838892-31 *
* Fax...: +49 (0)711 838892-39 *
* E-mail: kuhnla at comas.de *
*******************************************
More information about the wxpython-dev
mailing list