Reply to "I think I'm going to go insane!"
sabbagh
sabbagh at acf5.NYU.EDU
Fri Jun 7 05:22:22 AEST 1991
m19730 at MWVM.MITRE.ORG ("Carla X. Gladstone") writes:
>Ranjan, Even though I don't have C++ experience on the iris, I do know what
>ERR_BADWINDOW signifies: it usually means that when calling ortho one or more
>of the left-right, bottom-top, or near-far pairs has been switched.
>There exists a list from the SG Customer Support Division which gives a
>cryptic listing of all the GL error messages. I recommend trying to get hold
>of a copy.
>* *
>| Carla (703) 883-6861 |
>*---------------------------------------------------------------*
This is usually the problem when calling from C, but from C++ the real
problem is that you must provide
-acpp -prototypes
as flags to CC (which then passes them on to cc).
There are some ramifications once you start doing this, which you must do
for all C++ programs. I have found that iostream operators break with
floats; you must cast them to double like this:
float aFloatVar = 1.0e0;
cout << (double) aFloatVar;
I believe that you must recompile the libraries when you have provided
these flags.
Hadil G. Sabbagh
E-mail: sabbagh at cs.nyu.edu
Voice: (212) 998-3125
Snail: Courant Institute of Math. Sci.
251 Mercer St.
New York,NY 10012
"Injustice anywhere is a threat to justice everywhere."
- Martin Luther King, Jr.
Disclaimer: This is not a disclaimer.
More information about the Comp.sys.sgi
mailing list