Installing OpenGL from where? -
KayBee - 04-21-2020
Hi All,
I checked my O2 (6.5.22) usr/share/src/ dir and I don't have the OpenGL files there as specified in the "OpenGL on Silicon Graphics Systems" manual. Could someone point me to the location of the OpenGL install files?
Thank you.
KB
RE: Installing OpenGL from where? -
jpstewart - 04-21-2020
That OpenGL manual says the sources are in the ogl_dev.sw.samples package, but that doesn't exist. There is, however, a gl_dev collection on the Development Libraries CD. So you'll need to install gl_dev.sw.samples from it to get the OpenGL sample sources under /usr/share/src.
RE: Installing OpenGL from where? -
KayBee - 04-21-2020
Excellent, thank you for sharing that JP. Much obliged.
KB
RE: Installing OpenGL from where? -
KayBee - 04-22-2020
Hi Again,
Well this is not what I expected. Using the Developer Libraries CD, I tried to install the OpenGL sample code (assuming OpenGL itself is installed, not sure how to know) and I got conflicts. "gl_dev.sw.samples... is incompatible with eoe.sw.base. So I cannot install the sample code.
I tried with a drive with IRIX 6.5.30 (of which the Dev Lib CD was what I used to install 6.5.30), and I tried a drive with 6.5.22 and get the same thing. Do you fellows have any guidance on this? I would like to mess with OpenGL via C++.
Thank you as always.
KB
RE: Installing OpenGL from where? -
nintendoeats - 04-22-2020
I haven't tried this, but my guess is that there is an updated version of OpenGL on one of the 6.5.30 distribution CDs. The conflict message should ask if you want to load another distribution to resolve the conflict. When it does, start loading the overlay distributions.
I know this is counter-intuitive, since you would think you could just load the updated libraries from the overlay CD without the base. However, this is what I needed to do to install MIDIsynth on 6.5.22. I'm guessing it's the same thing: you need to install both the base and overlay packages at the same time.
RE: Installing OpenGL from where? -
jpstewart - 04-22-2020
The Development Libraries CD didn't change during the life of IRIX 6.5; it's not version-specific. So you'll need both the base packages from the Libraries CD and the patches from the 6.5.30 Overlays 2 CD to install them.
Sorry. Should have mentioned that in my previous post.
RE: Installing OpenGL from where? -
KayBee - 04-23-2020
Oh, interesting and will save me some search and install grief.
Cheers JP and NE.
KB
RE: Installing OpenGL from where? -
KayBee - 04-25-2020
Gents, thanks, that did work. In this case I used the physical CDs, and selected the OpenGL sample code and I was prompted to add a distribution, which I did. Software Manager asked for the appropriate CDwhen the time came. So I have the samples now. Thanks again.
KB
RE: Installing OpenGL from where? -
KayBee - 04-26-2020
Hi Fellows,
Getting closer to compiling some of the OpenGL samples, but I have an error. The location of the samples is:
/usr/share/src/OpenGL/teach/glut_based
and in that directory is the example I want to compile: "line.c" which has the inclusion:
#include <GL/glu.h>
when I try to compile it:
cc -n32 line.c -o line -lglut -lGLU -lGL -lXmu -lX11
I get:
"The source file "GL/glut.h" is unavailable."
1 catastrophic error...
Compilation terminated.
There is a GL/glut.h located in /usr/share/src/OpenGL/toolkits/include/GL so I presume I need to set something else up such that the library can be found.
Can one of you Sensei advise? Thank you.
KB
RE: Installing OpenGL from where? -
hamei - 04-27-2020
(04-26-2020, 11:54 PM)KayBee Wrote: Can one of you Sensei advise? Thank you.
Most likely there is a better way ... but I used to stock various text files with different settings (e.g. 'setenv xyz LMNOP') for different purposes, then just swipe and drop them into a terminal and build from there. That made it easy to try different libraries or other features without having to jump through a bunch of hoops.
This is probably a terrible habit and I will now get my peepee wacked with a rubber hammer for suggesting it