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

Re: g++ warnings and motif

To: Rasmus Tamstorf <tamstorf@xxxxxxxxxxxxx>
Subject: Re: g++ warnings and motif
From: Tanner Lovelace <lovelace@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 17 Aug 2000 14:11:12 -0700
Cc: info-inventor-dev@xxxxxxxxxxx
References: <Pine.SGI.4.21.0008171247090.269593-100000@bacon.fas.fa.disney.com>
Sender: owner-info-inventor-dev@xxxxxxxxxxx
Rasmus Tamstorf wrote:
> 
> Hi,
> 
> Two questions : I was trying to compile inventor on linux with gcc 2.95-2,
> but within the first 10 seconds I got a bazillion different warnings. What
> version of gcc was used to produce the rpms in the download directory ?
> 
> Also, the README.FIRST states that inventor requires Motif 1.2x. However,
> if you choose to go with OpenMotif instead of lesstif you get motif 2.x,
> so I was wondering if there is a list of known issues / problems with
> motif 2.x ?
> 
> Rasmus

Rasmus,

I've been compiling it under Mandrake 7.1 which uses gcc 2.95-2.  One
thing I found out though was that the correct variables hadn't been
set it the makefile because bash on Mandrake sets the OSTYPE variable
to linux-gnu and the Inventor makefile only checks for "linux" and
"Linux".  So, if you add that check into whereever it checks for it
(3 files in the make/ directory) you should get the correct compiler
options and things should work better.  A few files still fail to
compile, mainly they don't have the correct prototypes for strdup()
and bcopy(), but that's easy to fix.

Tanner Lovelace

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