info-inventor
[Top] [All Lists]

Compiling problem

To: info-inventor@xxxxxxxxxxx
Subject: Compiling problem
From: Gildardo Sanchez-Ante <gsanchez@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 16 Jan 2001 19:34:08 -0600
Organization: ITESM Campus Guadalajara
Sender: owner-inventor@xxxxxxxxxxx
Hi!

I compiled and installed SGI's Open Inventor on Mandrake7.2, and
basically everything seems to be working great, except that when i
compile my codes and i run them i get a Segmentation Fault. 
What seems weird to me is that i copied one of the files from the
examples included in the distribution (HelloCone.c++ to mention one). I
compiled it and linked it and it didn't worked. 

Since the GNUmakefile on /apps/examples/Mentor/C++ prints the command
line while compiling, I took it from there and did the compilation
manually, something like:
/usr/bin/g++ -I/usr/X11R6/include -I. -I/usr/local/lib/database/include
-I/usr/local/lib/interaction/include -I/usr/local/lib/nodekits/include
-I/usr/local/libSoXt/include -fPIC -O  -c HelloCone.c++

However, the .o file that i got has 3824 bytes, while the one generated
automatically has 3680 bytes. If i copy the .o file generate
automatically and link, everything works, so, the problem is when
compiling. 

Is there any option that i'm forgetting?

Thanks!

-- Gildardo

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