Search found 14 matches

by doragasu
Mon Nov 28, 2011 4:40 am
Forum: Development of Ren'Py
Topic: Cross compilation problems
Replies: 22
Views: 3544

Re: Cross compilation problems

I have done a small modification of the macro used to load the EGL symbols and now the error about eglDisplay function is gone :D. But guess what, the game still starts in software mode and now I face a new error message: Could not get pygame screen: error('X11 driver not configured with OpenGL',) A...
by doragasu
Fri Nov 25, 2011 5:03 am
Forum: Development of Ren'Py
Topic: Cross compilation problems
Replies: 22
Views: 3544

Re: Cross compilation problems

I've been really busy past week, and had no time to do much tests. Things I've tested: - Py'Tom was right: I was not linking to EGL, and was only linking to GLES_CM. Unfortunately, I have built again both SDL and Ren'Py module linking against both GLES_CM and EGL, and the behaviour is exactly the sa...
by doragasu
Fri Nov 18, 2011 3:50 am
Forum: Development of Ren'Py
Topic: Cross compilation problems
Replies: 22
Views: 3544

Re: Cross compilation problems

Yes, that's what looks like, but I'm indeed linking against libGLES_CM.so. I have tried locating the libraries in my Pandora console and trying to read the simbols to see if the offending function is listed, and I have found something really strange. If I run from my PC "arm-angstrom-linux-gnueabi-n...
by doragasu
Thu Nov 17, 2011 12:30 pm
Forum: Development of Ren'Py
Topic: Cross compilation problems
Replies: 22
Views: 3544

Re: Cross compilation problems

I think I'm getting a bit nearer, but still no luck. The error I get now is: "Could not retrieve EGL function eglGetDisplay"

Full traceback log: http://pastebin.com/PgWgE9MT

I may be wrong, but I think I don't need to touch pygame, just renpy and SDL to get this working with GLES.
by doragasu
Thu Nov 17, 2011 3:30 am
Forum: Development of Ren'Py
Topic: Cross compilation problems
Replies: 22
Views: 3544

Re: Cross compilation problems

Hum... Looks like this is going to be more difficult than I thought... :( A difficult port for a newbie in the cross compiling world :lol: But I'll not give up easily 8) EDIT: Playing a bit with setup.py and setuplib.py I managed to build a semi-working version. Now games can be started and played, ...
by doragasu
Wed Nov 16, 2011 4:35 pm
Forum: Development of Ren'Py
Topic: Cross compilation problems
Replies: 22
Views: 3544

Re: Cross compilation problems

I think you're right. I think I was not properly building the module, because I was not defining ANDROID. Anyway, I discovered it too late, before compiling glew. But I'm still not able to make GLES work. Now I get a "Failed loading libGL.so.1" Maybe the process I'm using to compile the module is wr...
by doragasu
Wed Nov 16, 2011 4:25 am
Forum: Development of Ren'Py
Topic: Cross compilation problems
Replies: 22
Views: 3544

Re: Cross compilation problems

gldraw.so throws and "undefined symbol: glewInit". It looks like I have to build libGLEW, that is the only dependency I wasn't able to build. I'll have to try harder :)
by doragasu
Tue Nov 15, 2011 3:51 pm
Forum: Development of Ren'Py
Topic: Cross compilation problems
Replies: 22
Views: 3544

Re: Cross compilation problems

Thanks for the tips. I modified glcompat.h and setup.py, and it has succesfully compiled using libGLESv2. I have put everything in the console, ran the launcher and it popped up :). Unfortunately, it's not working as expected. When I launch the tutorial game, it starts, but shows me a warning tellin...
by doragasu
Tue Nov 15, 2011 8:55 am
Forum: Development of Ren'Py
Topic: Cross compilation problems
Replies: 22
Views: 3544

Re: Cross compilation problems

Thanks a lot, watching your post I guessed the problem. The problem is I was calling python instead of hostpython to compile. Now that problem is gone. The problem I have now is that as the console doesn't support OpenGL, and I have not built libGLEW, the process fails because it can't find libglew3...
by doragasu
Tue Nov 15, 2011 4:25 am
Forum: Development of Ren'Py
Topic: Cross compilation problems
Replies: 22
Views: 3544

Re: Cross compilation problems

That was a good idea, but unfortunately didn't work. Copied /usr/bin/python to /home/jalon/Pandora/renpy/renpy-deps/install/python/bin/python.host and ran this copy to build the module. Nothing changed :-( The way distutils behaves, calling arm-angstrom-linux-gnueabi-gcc to compile and gcc to link, ...
by doragasu
Mon Nov 14, 2011 12:53 pm
Forum: Development of Ren'Py
Topic: Cross compilation problems
Replies: 22
Views: 3544

Re: Cross compilation problems

Thanks for help.

That was the first I tried :-). It's indeed working for the compilation steps, but fails when linking.

I think it's some weird problem with distutils, but have no clue on how to fix it. (By the way I know almost nothing about Python and distutils).
by doragasu
Mon Nov 14, 2011 11:47 am
Forum: Development of Ren'Py
Topic: Ren'Py on Maemo
Replies: 2
Views: 1117

Re: Ren'Py on Maemo

I'm trying to port Ren'Py to the OpenPandora console. It uses the same screen resolution (800x480), the same SoC (TI OMAP3530) and is also Linux based, so I suppose if I get it to work, maybe the same package could be used with Maemo...
by doragasu
Mon Nov 14, 2011 11:41 am
Forum: Development of Ren'Py
Topic: Cross compilation problems
Replies: 22
Views: 3544

Cross compilation problems

I'm trying to cross compile Ren'Py 6.13.7 to the OpenPandora console. As I'm far from being an expert in cross compiling, and I know almost nothing about Python, I'm facing a lot of problems. Compiling the dependencies has been a pain in the ass, but I have compiled almost all (libGLEW failed, but I...
by doragasu
Mon Nov 14, 2011 11:35 am
Forum: Welcome!
Topic: Guestbook
Replies: 5441
Views: 1457019

Re: Guestbook

Hello,

I'm interested in porting Ren'Py to the OpenPandora console (and maybe other targets in the future), and I have joined the forum to see if I can get some help!