Jun Issues on 64bit Linux

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

Jun Issues on 64bit Linux

Tom Carden-4
Hi All,

I'm having problems getting Jun to work (display OpenGL objects) for 64bit vw771 on Linux. I'm running OpenSuse and it works fine when I run the 32bit engine on the same platform. The first error I got was an Elf compatibility issue so I changed the library folder definitions in JunMesaInterface from 'usr/lib' to 'usr/lib64' etc. Now the libraries load fine but I get external method not found messages and nil returns whenever Jun tries to access the libGLU.so file. I've checked that I'm using a recent Mesa version.

Has anyone come across something similar? Any help appreciated.

T. Carden
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Jun Issues on 64bit Linux

Jim Harsh

Hi Tom,

Are you seeing the error in
JunOpenGLInterface>>gluVersion on line
pointer := interface gluGetString: interface GLU_VERSION

?


At 11:53 AM 1/26/2011, Tom Carden wrote:

>Hi All,
>
>I'm having problems getting Jun to work (display OpenGL objects) for
>64bit vw771 on Linux. I'm running OpenSuse and it works fine when I
>run the 32bit engine on the same platform. The first error I got was
>an Elf compatibility issue so I changed the library folder
>definitions in JunMesaInterface from 'usr/lib' to 'usr/lib64' etc.
>Now the libraries load fine but I get external method not found
>messages and nil returns whenever Jun tries to access the libGLU.so
>file. I've checked that I'm using a recent Mesa version.
>
>Has anyone come across something similar? Any help appreciated.
>
>T. Carden
>_______________________________________________
>vwnc mailing list
>[hidden email]
>http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Jun Issues on 64bit Linux

Jim Harsh

Hi Tom,

On the Jun stuff, stepping through the JunOpenGLInterface
class>>gluVersion, when the interface is sent the  GLU_VERSION
message, a nil is returned. In the JunMesaOpenGLInterface GLU_VERSION
is set to the same value as is in /lib/include/glu.h so the problem
is the value is not returned returned . It looks like the glu-values,
etc are set by reading the gl headers. Rather than just setting the
values it actually looks like a call to "C". I  put the correct
value, 100800 in the "pointer := ..." line of code.  The code then
runs till the next spot where the interface is asked for different
values and it fails again.

I've not used this technique so I don't know what is wrong other than
it just doesn't work.

Jim


At 03:58 PM 2/2/2011, Jim Harsh wrote:

>Hi Tom,
>
>Are you seeing the error in
>JunOpenGLInterface>>gluVersion on line
>pointer := interface gluGetString: interface GLU_VERSION
>
>?
>
>
>At 11:53 AM 1/26/2011, Tom Carden wrote:
> >Hi All,
> >
> >I'm having problems getting Jun to work (display OpenGL objects) for
> >64bit vw771 on Linux. I'm running OpenSuse and it works fine when I
> >run the 32bit engine on the same platform. The first error I got was
> >an Elf compatibility issue so I changed the library folder
> >definitions in JunMesaInterface from 'usr/lib' to 'usr/lib64' etc.
> >Now the libraries load fine but I get external method not found
> >messages and nil returns whenever Jun tries to access the libGLU.so
> >file. I've checked that I'm using a recent Mesa version.
> >
> >Has anyone come across something similar? Any help appreciated.
> >
> >T. Carden
> >_______________________________________________
> >vwnc mailing list
> >[hidden email]
> >http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
>
>_______________________________________________
>vwnc mailing list
>[hidden email]
>http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Jun Issues on 64bit Linux

Jim Harsh
Hi Tom,

I've made some progress.

Since it looked like we were not getting any thing returned from the
"defines" built from the *.h files, I used the External Interface
Builder to parse the gl.h, glu.h and glxtokens.h files.

After opening the External Interface Finder, I selected
Jun.JunMeasInterface and looked at the defines; nothing was there.  I
selected Class>>Builder from the menu. Added gl.h, glu.h and
glztokens.h to the "include files", and for my machine added
/usr/include/GL, /usr/include/linux and /usr/include to the "include
libraries and then pressed the "parse files" button. After it was
done, I used External>Select All and the "Add Methods" button. This
added all the defines I think we need, not necessarily in the right
protocol but they are there. I then could select a JunOpenGL3DObject,
define a collimator and display it. Once. If I resized the window, or
closed it and reopened it, the window was blank. This is actually
what I saw in the previous version.

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Jun Issues on 64bit Linux

Jim Harsh
Ok I think the problem is with Jun not our use of Jun. If you try to
run the metaball solid example, it displays fine until you resize the
window and then the display is just the background.

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc