View Single Post
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#77
Originally Posted by misiak View Post
Nice to hear that, it's always nice to know someone appreciates my help



Few notes on this:

1. For clutter configuration options, you can read http://developer.gnome.org/clutter/1...g-clutter.html , e.g. part "Platform specific instructions" -> "Linux", there are these two options: so we need to set it to e.g. eglx unless maemo version has this already changed and So you may want to set it to 2.0 (as both Fremantle and Harmattan have these libs), but remember to install -dev packages of it (and maybe of GLES 1, it won't do harm I guess).
If I configure with GLES 2.0 I get the following error very early during the build so I assumed that the code is not compatible with GLES 2.0

Code:
In file included from cogl-pvr-texture-gl.c:30:
/usr/include/GLES/gl.h:756: error: conflicting types for 'glTexImage2D'
/usr/include/GLES2/gl2.h:609: note: previous declaration of 'glTexImage2D' was here
Relevant google result: http://lists.linuxtogo.org/pipermail...ne/021223.html (which I don't understand)

With some help from the cordia-dev mailing list I downloaded the correct hildon-desktop branch but I still hit that glMultMatrix error.

Originally Posted by misiak View Post
2. As you already wrote you have problem with paths - maybe it looks for opengles in wrong places? It's not default in N900 sdk afaik (example opengl es 1.1 codes need to have include paths changed, maybe there's a problem with directories here, to?) EDIT: I'm not sure how it would work later in a chroot in Harmattan - if it's linked somehow with opengl es libraries from Fremntle and then you would try to run it on Harmattan - these libs should be at the same location and in abi-compatible versions, can we be sure this is possible? As these libs are closed source and ~2 years passed between them, it is not obvious to me. Maybe someone with both N900 and N9 can check that and in the meanwhile, please look at third option
The idea (a bit perverted I agree) is to run hildon-desktop outside the chroot, as a window manager in xephyr, and run the applications from the chroot inside the hildon-desktop display. Eventually, more things can be done, like switching window managers natively in harmattan or, just rebuild all extras applications with the new COBS with a harmattan target and a depencency for hildon-desktop. The possibilities are endless

Originally Posted by misiak View Post
3. If you are really blocked now, maybe try compiling clutter with software rendering only (to get things going and just leave this on TODO list and go back later maybe)? See http://talk.maemo.org/showthread.php?t=83442 , "For developer" part, "step #2". You may also want to ping AapoRantalainen as he seems to know more about compiling clutter (he also had some compilation errors and had to correct one of source files), maybe he can help you with this issue.
The thing is that clutter compiles fine, it's hildon-desktop I can't build...
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jolla –– contactlaunch –– timenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob
 

The Following 2 Users Say Thank You to qwazix For This Useful Post: