croquet + ubuntu 7.0.4

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

croquet + ubuntu 7.0.4

nick hemsley
Hey all,

Im having problems getting croquet running on ubuntu.
The card is a RADEON 9600 XT, Im using the ATI fglrx driver (the
opensource drivers dont implement all of the functionality it seems),

glxgears is working fine, glxinfo|grep reports direct rendering: yes

running the following code (from
http://croquetweak.blogspot.com/2007/02/opengl-in-workspace.html):

| ogl green |
ogl := OpenGL newIn: (0@0 extent: 100@100).
green := 1.
[[
        ogl glClearColor(0, green, 0, 1).
        ogl glClear(16r4000).
        ogl swapBuffers.
        Sensor waitClickButton.
        green := 1 - green.
] repeat] ensure: [ogl destroy]

throws an ExternalCallFailed on glClearColor.

Any ideas? Can I get verbose errors any linking errors etc. from the
dll (.so) side?

Thanks Nick
Reply | Threaded
Open this post in threaded view
|

Re: croquet + ubuntu 7.0.4

Bert Freudenberg

On May 29, 2007, at 21:37 , nick hemsley wrote:

> Hey all,
>
> Im having problems getting croquet running on ubuntu.
> The card is a RADEON 9600 XT, Im using the ATI fglrx driver (the
> opensource drivers dont implement all of the functionality it seems),
>
> glxgears is working fine, glxinfo|grep reports direct rendering: yes
>
> running the following code (from
> http://croquetweak.blogspot.com/2007/02/opengl-in-workspace.html):
>
> | ogl green |
> ogl := OpenGL newIn: (0@0 extent: 100@100).
> green := 1.
> [[
>        ogl glClearColor(0, green, 0, 1).
>        ogl glClear(16r4000).
>        ogl swapBuffers.
>        Sensor waitClickButton.
>        green := 1 - green.
> ] repeat] ensure: [ogl destroy]
>
> throws an ExternalCallFailed on glClearColor.
>
> Any ideas? Can I get verbose errors any linking errors etc. from the
> dll (.so) side?
>

Could you report the exact error? Or attach the error debug log?

It sounds like it is not finding or cannot load libGL.so. Does it  
exist? Anything in the console?

- Bert -


Reply | Threaded
Open this post in threaded view
|

Re: croquet + ubuntu 7.0.4

nick hemsley
sorry for the delay, long weekend in oz :)

attached is the error debug log & also a lsof of the running squeak
process, looks like it is loading a libGL.so. Any suggestions much
appreciated.

Nick

On 5/30/07, Bert Freudenberg <[hidden email]> wrote:

>
> On May 29, 2007, at 21:37 , nick hemsley wrote:
>
> > Hey all,
> >
> > Im having problems getting croquet running on ubuntu.
> > The card is a RADEON 9600 XT, Im using the ATI fglrx driver (the
> > opensource drivers dont implement all of the functionality it seems),
> >
> > glxgears is working fine, glxinfo|grep reports direct rendering: yes
> >
> > running the following code (from
> > http://croquetweak.blogspot.com/2007/02/opengl-in-workspace.html):
> >
> > | ogl green |
> > ogl := OpenGL newIn: (0@0 extent: 100@100).
> > green := 1.
> > [[
> >        ogl glClearColor(0, green, 0, 1).
> >        ogl glClear(16r4000).
> >        ogl swapBuffers.
> >        Sensor waitClickButton.
> >        green := 1 - green.
> > ] repeat] ensure: [ogl destroy]
> >
> > throws an ExternalCallFailed on glClearColor.
> >
> > Any ideas? Can I get verbose errors any linking errors etc. from the
> > dll (.so) side?
> >
>
> Could you report the exact error? Or attach the error debug log?
>
> It sounds like it is not finding or cannot load libGL.so. Does it
> exist? Anything in the console?
>
> - Bert -
>
>
>

SqueakDebug.log (5K) Download Attachment
lsof.txt (4K) Download Attachment