Dear sir, I want to use Open Inventor to develope some utilities for a scientif software package, to draw the results. My computer has RH Linux 7.3 installed with LessTif. I installed Mesa and I can compile Open GL C/C++ program with the GCC 2.xx compile with the linux. Few days ago I downloaded SGI's Open Inventor and installed it on my system. I can use SceneViewer to enjoy those fantansitc examples. But when I tried to compile a example from the "red book"---"The Inventor Mentro", The compiler gave me a lot of error. At first it told me it cannot find the path of "Xm/Xm.h" file, then I use the following command to compile it, g++ -I /usr/X11/LessTif/Motif2.1/include example.c++ there is no more compiling error. But there are more errors in the link stage. It told me something like /tmp/SoXt.o something not define. May I use the G++/GCC compiler to compile the Inventor C++ files? I found a message from your website, it said that " Inventor C++ doesnot work with GCC, because GCC gives incompatiable binary with SGI's compiler". Does it mean that if I want to use SGI' Inventor library, I must use SGI's compiler? Thanks Yours Zhang
|