Ygl Frequently Asked Questions

©opyright 1993,95 by Fred Hucht (fred@hal6000.Uni-Duisburg.DE)

Q 1:
We have an SGI Indigo on which we run a number of softwares that use GL and which are provided to us as binaries. Since we have an X terminal networked to this station we would be interested in using it to run these softwares. Do you think that Ygl could be used for such a purpose ?
A 1:
I don't think this is possible. Normally you must have the source of the GL application and relink it with libYgl.a instead of libgl.a. This relink will fail if the application uses routines that are not implemented in Ygl, ie. all 3D stuff, object stuff and so on. There is one known case where you don't need the sources:
You have shared libraries and both libgl.a and libYgl.a are shared libs (True under AIX3). Then you can make a directory eg. ~/lib and prepend ~/lib to the libpath. Under AIX3 this is done by setting the environment variable LIBPATH to "~/lib:/usr/lib". Then move libYgl.a to ~/lib/libgl.a and try to run your application. If you get errors like "symbol xxx in yyy is undefined" the application requires routines that are not part of Ygl. If you are lucky the program runs.