SGI IRIX port?

I saw in the online docs that there is an unofficial IRIX port, can
anyone give me information about this? I’ve been using SDL all year for
OpenGL and simple kb+mouse i/o, but am on an SGI O2 this summer and
would prefer to keep using SDL if possible instead of rewriting my stuff
for glut. thanks,

-Lucas

I saw in the online docs that there is an unofficial IRIX port, can
anyone give me information about this? I’ve been using SDL all year for
OpenGL and simple kb+mouse i/o, but am on an SGI O2 this summer and
would prefer to keep using SDL if possible instead of rewriting my stuff
for glut. thanks,

You should be able to just run ./configure on the irix and have it work.
(you’ll probably have to tweak some things)
The audio isn’t implemented yet - I had an IRIX audio implementation but
it was lost in the shuffle, let me know if/when you need it and I’ll try
to find it.

I’ll be happy to help you get it running if you can get me an account on
your IRIX system.

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

thanks for the info. I was able to compile it with
./configure --disable-audio --disable-pthreads

(probly didnt need the disable pthreads, but it worked)
got these errors doing make:

“SDL_mutex.c”, line 136: error(1101): “semun” has already been declared in
the
current scope
union semun {
^

“SDL_mutex.c”, line 178: error(1020): identifier “EACCESS” is undefined
} while ((mutex->id < 0) && (key != IPC_PRIVATE) && (errno ==
EACCESS));

but was able to get around them by commenting stuff out (removed the dup
semun def, removed the errno==EACCESS check).

my program builds and executes now, but I get the following error upon
SDL_SetVideoMode(): “Couldn’t set GL mode: could not determine glx visual
info”. I tried various combinations of OpenGL framebuffer settings, but
nothing seems to work. I don’t know whats causing the problem. thanks for
the offer to help get this running, but it’s not my machine so I can’t get
you an account. I’d appreciate any other advice to help get this working.
fyi, it’s an SGI O2, running IRIX 6.5, w/ 384mb ram. thanks

-Lucas

Sam Lantinga wrote:> > I saw in the online docs that there is an unofficial IRIX port, can

anyone give me information about this? I’ve been using SDL all year for
OpenGL and simple kb+mouse i/o, but am on an SGI O2 this summer and
would prefer to keep using SDL if possible instead of rewriting my stuff
for glut. thanks,

You should be able to just run ./configure on the irix and have it work.
(you’ll probably have to tweak some things)
The audio isn’t implemented yet - I had an IRIX audio implementation but
it was lost in the shuffle, let me know if/when you need it and I’ll try
to find it.

I’ll be happy to help you get it running if you can get me an account on
your IRIX system.

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

i can get you an acount on an SGI Indigo running IRIX 5.2 (75mhz machine i
believe)
it was donated and its having some problems with the hd and cant mount a few
of the partitions or something but it seems to work fine and has a compiler,
i havent really done anything with it yet, i plan on doing a fresh install of
IRIX 5.3(only version of IRIX we have that works on an Indigo) on it when i
get a chance to figure out how to get the net install to work (uses a
combination of tftp and bootp i think, yuck) but i dont have physical access
at the moment. let me know in private if ya want an acount.

Jess

Sam Lantinga wrote:> > I saw in the online docs that there is an unofficial IRIX port, can

anyone give me information about this? I’ve been using SDL all year for
OpenGL and simple kb+mouse i/o, but am on an SGI O2 this summer and
would prefer to keep using SDL if possible instead of rewriting my stuff
for glut. thanks,

You should be able to just run ./configure on the irix and have it work.
(you’ll probably have to tweak some things)
The audio isn’t implemented yet - I had an IRIX audio implementation but
it was lost in the shuffle, let me know if/when you need it and I’ll try
to find it.

I’ll be happy to help you get it running if you can get me an account on
your IRIX system.

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

“Couldn’t set GL mode: could not determine glx visual info”

can anyone tell me what’s causing this error? I’ve tried everything I can
think of as far as framebuffer bit combinations, bpp, etc, and can’t seem to
puzzle this out.

-Lucas

strangely enough, I was able to get the testgl.c example to build and run. I
must be doing something dumb in my prog. hmmmmmmmmmmm.

-Lucas> “Couldn’t set GL mode: could not determine glx visual info”

can anyone tell me what’s causing this error? I’ve tried everything I can
think of as far as framebuffer bit combinations, bpp, etc, and can’t seem to
puzzle this out.

-Lucas