Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

SGI inventor Frequently Asked Questions (FAQ)
Section - -28- Why do I get errors compiling the Inventor sample programs?

( Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Schools ]


Top Document: SGI inventor Frequently Asked Questions (FAQ)
Previous Document: -27- Prerequisite error installing Inventor 1.1.2
See reader questions & answers on this topic! - Help others by sharing your knowledge
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/.

User Contributions:

Comment about this article, ask questions, or add new information about this topic:




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 March 27 2014 @ 02:12 PM