Reply
Thread Tools
Posts: 8 | Thanked: 0 times | Joined on Mar 2010 @ Canada
#11
Hmm. funny I just added some cout calls to see if it actually does anything. And none of them showed plus I got this
Code:
[sbox-FREMANTLE_X86: ~/MyDocs/programming/simplegl] > ./main
[sbox-FREMANTLE_X86: ~/MyDocs/programming/simplegl] > hildon-desktop[6317]: GLIB WARNING ** ClutterX11 - Failed to get XImage of pixmap: c00012, removing
After that I tried the run-standalone.sh and it just returned like it used to. And I can't get it to give me that warning anymore.

Do cout commands get shown in the console? It's the first thing I have in my main function. After that its the XOpenDisplay(NULL). I imagine it's that call that gave me that error.
 
javispedro's Avatar
Posts: 2,351 | Thanked: 5,243 times | Joined on Jan 2009 @ Barcelona
#12
So $DISPLAY is :0.0 ?
 
Posts: 8 | Thanked: 0 times | Joined on Mar 2010 @ Canada
#13
Originally Posted by javispedro View Post
So $DISPLAY is :0.0 ?
Nope
Code:
[sbox-FREMANTLE_X86: ~/MyDocs/programming/simplegl] > echo $DISPLAY
:2
 
javispedro's Avatar
Posts: 2,351 | Thanked: 5,243 times | Joined on Jan 2009 @ Barcelona
#14
Could you test following the instructions I'm writing at http://wiki.maemo.org/User:Javispedro/SDL-GLES ? I just followed those from a clean X86 (well, mostly clean...) fremantle target, and it worked.
 
Posts: 8 | Thanked: 0 times | Joined on Mar 2010 @ Canada
#15
Yeah, I'm still getting the same thing on X86
Code:
[sbox-FREMANTLE_X86: ~/MyDocs/programming/javispedro] > ./gles2
[sbox-FREMANTLE_X86: ~/MyDocs/programming/javispedro] > hildon-desktop[3612]: GLIB WARNING ** ClutterX11 - Failed to get XImage of pixmap: e00012, removing
Hildon applications seem to work fine when I build and run them. Maybe I should reinstall my scratchbox env.
 
javispedro's Avatar
Posts: 2,351 | Thanked: 5,243 times | Joined on Jan 2009 @ Barcelona
#16
I guess so. Else, start stracing binaries...
 
BruceL's Avatar
Posts: 305 | Thanked: 154 times | Joined on Aug 2006 @ Colorado
#17
Javispedro, thanks for the wiki page, but where is the file libgles2-sgx-img-dev?
__________________
Give me immortality or give me death!
 
javispedro's Avatar
Posts: 2,351 | Thanked: 5,243 times | Joined on Jan 2009 @ Barcelona
#18
Originally Posted by BruceL View Post
Javispedro, thanks for the wiki page, but where is the file libgles2-sgx-img-dev?
It's not a file, but a package. Use "fakeroot apt-get install libgles2-sgx-img-dev".
 
BruceL's Avatar
Posts: 305 | Thanked: 154 times | Joined on Aug 2006 @ Colorado
#19
Yes I know. But I mean which repository? (or where is the deb file) I have all the major repositories added and I get "Package libgles2-sgx-img-dev has no installation candidate." The other packages installed just fine.
__________________
Give me immortality or give me death!
 
javispedro's Avatar
Posts: 2,351 | Thanked: 5,243 times | Joined on Jan 2009 @ Barcelona
#20
Originally Posted by BruceL View Post
Yes I know. But I mean which repository? (or where is the deb file) I have all the major repositories added and I get "Package libgles2-sgx-img-dev has no installation candidate." The other packages installed just fine.
nokia-binaries repository. Do you have the nokia binaries installed in the ARM target?
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 06:14.