[ Usenet FAQs | Web FAQs | Documents | RFC Index ]
Single Page
Top Document: SGI inventor Frequently Asked Questions (FAQ)
Previous Document: -27- Prerequisite error installing Inventor 1.1.2
-
Search the FAQ Archives
Single Page
Top Document: SGI inventor Frequently Asked Questions (FAQ)
Previous Document: -27- Prerequisite error installing Inventor 1.1.2
-28- Why do I get errors compiling the Inventor sample programs?
Date: 06 May 1995 00:00:01 EST
Inventor 1.0.1 requires C++ version 2.*. If you have C++ version 3.*
installed on your system, you must specify the -v2 flag to compile
Inventor programs. If you are using the Makefiles distributed with
Inventor, you should change the line that looks like:
LC++OPTS = +p -Wf,-XNp10000
to:
LC++OPTS = -v2 +p -Wf,-XNp10000
Inventor 1.1.2 and Inventor 2.0 work with C++ 3.*; you must remove
the -v2 flag from your Makefiles when you upgrade to those versions
of Inventor.
If you receive this error when compiling:
"/usr/include/X11/X.h", line 44: error:
Cursor declared as unsigned short [16] and XID
You should rearrange the order in which you #include your files so
that the Xt files are included before any file that references the
IRIS GL include file. For example, be sure to #include
<Inventor/SoXt.h> before <Inventor/nodes/SoTexture2.h>.
------------------------------
End of sgi/faq/inventor Digest
******************************
--
The SGI FAQ group <sgi-faq@viz.tamu.edu> http://www-viz.tamu.edu/~sgi-faq/
Finger us for info on the SGI FAQs, or look in ftp://viz.tamu.edu/pub/sgi/.
Top Document: SGI inventor Frequently Asked Questions (FAQ)
Previous Document: -27- Prerequisite error installing Inventor 1.1.2
Single Page
[ Usenet FAQs | Web FAQs | Documents | RFC Index ]
Send corrections/additions to the FAQ Maintainer:
sgi-faq@viz.tamu.edu (The SGI FAQ group)
Last Update October 22 2009 @ 05:34 AM