Re: Nokia n900 and Euphoria
- Posted by Jerome May 21, 2011
- 5436 views
So, rather than putting in the absolute address, I think we need to have a relative address. We were using a similar thing with 64-bit code, though for various reasons, made this use an absolute address. We might want to do something similar here.
Ok, so it looks like I made a few mistakes early on by making too many changes at once... So I retraced my steps, double checked my changes to the eu source code (there are only a few), and cross-compiled the interpreter again. Now, most things seem to be working well, including call_back functions (I tested a simple case). So pushing forward, I cross-compiled wxWidgets according to this post: http://maemogeek.blogspot.com/2007/12/wxgtk-working-on-maemo.html. Finally, I cross-compiled wxEuphoria 0.15 and was able to run some of the demos! Here is a screenshot of the about.exw demo running on my phone: http://dl.dropbox.com/u/5805068/About.png.
There seem to be a few issues with wxEu, for example mouse events work but a call to mouse_event_position() crashes. In any case, it looks like I can write GUI programs with wxEu on my phone, which was my goal.
Thanks for your help and patience!
- Ira