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

Re: Motif and Inventor

To: Laird Prussner <laird@xxxxxxxxx>
Subject: Re: Motif and Inventor
From: Gerd Sussner <Gerd.Sussner@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 10 Dec 2003 08:29:13 +0100 (CET)
Cc: info-inventor-dev@xxxxxxxxxxx
In-reply-to: <3FD65445.6868C23F@xxxxxxxxx>
References: <3FD65445.6868C23F@xxxxxxxxx>
Sender: info-inventor-dev-bounce@xxxxxxxxxxx
> Hello,
> I seek some clarification concerning Motif and Inventor.
> Some comments in the mailing lists lead me to think
> that Inventor programs must be linked to a Motif 1.2 library
> while from others I get the impression that Motif 2.1 may
> be used.
>
> Under what circumstances may I use Motif 2.1?
>

the best way is to compile your own inventor library. the binary packages
are often linked against motif-1.2, therefore you have to use motif-1.2.
by compiling inventor by yourself using motif-2.1 you can safely use
motif-2.1 within your applications

it's not so difficult to do this. i always used a current cvs-snapshot
for compiling and it worked fine. the only things i remember i had to do
were: grab a current version of the mesa-library and compile the libGLw.*
library (located in <Mesa-Dir>/widgets-sgi/) . the ones coming with
standard binary packages often do not contain the motif-stuff and if, they
are probably not linked against your motif-version. if using gcc3 you may
also compile the libGLU.*. although it seems to be a plain C library, it
uses C++ (for the nurbs stuff). the binary packages containing the
libGLU.* are often compiled with a different C++-compiler (e.g. gcc2).
now you are setup and ready for compilation. just edit the ivcommondefs
file in the directory "make" for your needs (e.g. IVPREFIX etc) and
(that's important with newer versions of bison!) use the original yacc
by defining the YACC variable in "commondefs"

i hope this helps

gerd

-------------------------------------------
Dipl.-Math. Gerd Sussner
Informatik 9 - Graphische Datenverarbeitung
Universitaet Erlangen

Tel. : +49-9131-85-29928
Fax. : +49-9131-85-29931
Email: sussner@xxxxxxxxxxxxxxxxxxxxxxxxxx


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