[16225] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: can not compile OpenInventor applications

daemon@ATHENA.MIT.EDU (Alex T Prengel)
Tue Aug 25 17:10:12 1998

To: hyliu@MIT.EDU
Cc: alexp@MIT.EDU, bugs@MIT.EDU
Date: Tue, 25 Aug 1998 17:09:24 EDT
From: Alex T Prengel <alexp@MIT.EDU>


>after the OS upgrade, SGI workstations can not compile open inventor
>applications right. Even for those examples given  in /usr/share/src/Inventor,
>there had always been compiling error. 

Haiyang,

I don't have enough details to know exactly what is happening when you try
to build these, but we are aware of problems with the examples and they
have been reported to SGI- there are some worka-rounds to the Makefiles
that let them build; here is what you can try:

Copy the entire demo tree below /os/usr/share/src/Inventor to some
place where you have write permission, like:

cd /os/usr/share/src; cp -r Inventor /var/tmp 

and then cd to some example directory, like .../Inventor/demos/drop (for
example). You will need the whole tree and not just branches because
there are dependencies in the branches on things higher up in the
tree.

There is a problem with our configuration that will require an
edit to the Makefiles- you will need to add a line:

LD_QUICKSTART_INFO=

somewhere near the top, and if you get "unresolved text symbol"
errors, you will need to add explicit links to the Motif and X libraries by
adding -lXm -lXt -lX11 to the "LLDLIBS = ..." line (before -lm, if not
already present). Then, just typing "make" should build the
example. You will still get errors about things like:

ld: INFO 31: libm.so specified in the "libInventor.so.3"'s liblist cannot be fou
nd or does not match the one specified in the link-line -- NON-QUICKSTART

but these can be ignored. The reason for all this is that SGI has a special
"quickstart" feature that we do not currently have correctly configured-
it affects linking and implicit relationships between libraries (that in
effect can automatically link in other libraries they depend on). This is
broken so you have to explicitly link them in. they will almost always
be the Motif and X libraries libXm, libXt and libX11.

If you study the Makefiles you should be able to build Inventor applications
in similar fashion- other than the configuration problem above, everything
should work- I hope this helps!

                                        Alex Prengel
                                        MIT Academic Computing Support Team
                                        Software Acquisition Coordinator



home help back first fref pref prev next nref lref last post