info-inventor-dev
[Top] [All Lists]

Compiling open inventor using gcc on IRIX

To: info-inventor-dev@xxxxxxxxxxx
Subject: Compiling open inventor using gcc on IRIX
From: Zhi-Wei Lu <zwluxx@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 01 Mar 2001 11:06:31 -0800
Sender: owner-info-inventor-dev@xxxxxxxxxxx
Dear Open Inventor Developers,

We would like to compile Open Inventor using gcc on IRIX, since gcc/g++ has
some nice features that IRIX CC lacks.

I downloaded "inventor-2.1.5-6.src.tar.gz" and I changed the compiler 
definitions to GCC/G++.  My operating system is 6.5.9m on an O2 machine
 and I am using this gcc:

Reading specs from /usr/freeware/lib/gcc-lib/mips-sgi-irix6.2/2.95.2/specs
gcc version 2.95.2 19991024 (release)


I was able to compile some routines, but it failed at this point

======================================================================make[2]: 
Entering directory `/sgi-ws/zwluxx/src/inventor/tools/ppp'
/usr/freeware/bin/g++         -I. -I../../lib/database/include 
-I../../lib/interaction/include -I../../lib/nodekits/include 
-I../../libSoXt/include      -nostdinc -I/usr/include/CC -I/usr/include  -O 
-DNDEBUG   -c ppp.c++
In file included from ../../lib/database/include/Inventor/SbBox.h:63,
                 from ../../lib/database/src/sb/SbBox.c++:57,
                 from ../../lib/database/src/sb/Sb.c++:55,
                 from ppp.c++:118:
../../lib/database/include/Inventor/SbLinear.h: In method `class SbMatrix & 
SbMatrix::operator =(float (&)[4][4])':
../../lib/database/include/Inventor/SbLinear.h:971: converting to `float[4][4]' 
from `float (*)[4]'
In file included from ../../lib/database/src/sb/Sb.c++:67,
                 from ppp.c++:118:
../../lib/database/src/sb/SbTime.c++: In method `SbTime::SbTime(double)':
../../lib/database/src/sb/SbTime.c++:78: warning: assignment to `time_t' from 
`double'
make[2]: *** [ppp.o] Error 1
make[2]: Leaving directory `/sgi-ws/zwluxx/src/inventor/tools/ppp'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/sgi-ws/zwluxx/src/inventor/tools'
make: *** [all] Error 1
=======================================================================

It only gives some warning message but what the real error was.   Does anybody 
have some suggestions to solve this problem?  
Thank you very much for your help.


-- 
Zhi-Wei Lu              
CIPIC (Center for Image Processing and Integrated Computing)
UC Davis                Phone:  (530)-752-0494
Davis, CA 95616         Fax:    (530)-752-8894



<Prev in Thread] Current Thread [Next in Thread>