[wxPython-dev] Errors on embedded platform
Gary Thomas
gary at mlbassoc.com
Fri Nov 9 12:18:32 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).
>
> 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?
No, this is just GCC-4.x being a bit pedantic :-)
> Could someone please be so kind and give me some hints??
Do you have other X applications running on this embedded platform?
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
More information about the wxpython-dev
mailing list