OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Problem Using Glut
mabrown
post Jun 8 2007, 09:40 PM
Post #1





Group: Members
Posts: 21
Joined: 25-April 04
From: Australia
Member No.: 3,009



Hi Everyone,

Not sure if anyone will be able to help with this. Some time ago, I ported the Euphoria programming language to my C860 (it is available at the Euphoria Archive - do a search for "Zaurus".) I've been able to do some useful things with it (simple gtk apps for example.)

I've started work on Euphoria bindings for OpenGL based on the Mesa 6.5.3 includes. These are working fine on my Windoze box. However, I prefer to develop on my Z where possible. On my Z the simple redbook "hello" sample intialises its window OK but fails to display the expected white polygon. The window contents just display black.

I am using 1.1.0beta1 and the mesa version from that feed. I thought perhaps that GLUT might be at fault so I compiled and used freeGlut instead, which gave me the error "Unable to create direct context rendering for window..." I then tried the switch "-indirect" which gets rid of the error. I still have a black display though.

I don't care if this runs slow on my Z as what I'm working on is for the desktop anyway, I just prefer to do most of the dev work on the Z.

Any help with this would be much appreciated.

Mark
Go to the top of the page
 
+Quote Post
mabrown
post Jun 10 2007, 05:17 AM
Post #2





Group: Members
Posts: 21
Joined: 25-April 04
From: Australia
Member No.: 3,009



I think I've narrowed the problem down a bit. Anything inside a glBegin/glEnd pair (or glPushMatrix/glPopMatrix for that matter) doesn't seem to work. I can get a torus to display using glutSolidTorus() so at least something is working. I've also tried this with bindings and example code written by others. Their code also has the same problem. Very strange.

I tried the C redbook demo examples from Mesa found in a thread on this forum. They run fine. I also tried installing the version of Mesa (6.4) from that thread. It didn't help.

If anyone has a clue as to why this is happening I'd love to hear it. Perhaps my compile of Euphoria is at fault...

Mark
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd September 2014 - 06:21 PM