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

Re: Makefile system

To: prikryl@xxxxxxxx (Jan Prikryl)
Subject: Re: Makefile system
From: jlim@xxxxxxxxxxxxxxxxxxxx (Jonathan Lim)
Date: Mon, 16 Oct 2000 00:19:27 -0700 (PDT)
Cc: info-inventor-dev@xxxxxxxxxxx
In-reply-to: <20001016090540.A19172@beton.vrvis.lan> from "Jan Prikryl" at Oct 16, 2000 09:05:40 AM
Sender: owner-info-inventor-dev@xxxxxxxxxxx
On Mon Oct 16 00:05:40 2000, prikryl@xxxxxxxx wrote:
> 
> Hi,
> 
> I have to prepare a working OpenInventor setup for a colleague of mine
> so I thought I'll just checkout the CVS version and give it a try.
> 
> HOwever, I've experienced several problems:
> 
> (1) There are -lGL -lGLU -lXt -lXi -lX11 missing when linking
>     ivman. The same problem appears when building stuff in 'apps'
>     directory .

I don't believe this is a problem because libInventor.so and libInventorXt.so
automatically loads those other DSO's. Make sure you have LD_LIBRARY_PATH set
correctly.

> (2) Even if making ivman fails, the build continues further

There are no specific instructions to halt the build if that of ivman fails. I
believe gmake determines when it's had enough errors.

> (3) In order to generate the manual pages, ivman needs access to your
>     X display (this I consider to be a feature, but it's not
>     mentionied anywhere as far as I know)

See README.FIRST. X display access is needed because ivman calls SoXt::init().

> Have these problems been already addressed, or shall I write a bug
> report and try to patch it?
> 
> Another question: some time ago, Morten Eriksson from SIM thought
> about providing an automake/autoconf support for the Inventor code
> ... I suppose it is not a trivial thing to set up, and probably better
> done by a single developer, but if I could help somehow (the current
> makefile system drives me nuts sometimes).

Much of the system-dependent stuff has been moved to make/ivcommondefs and
make/system. I believe any use of automake/autoconf should not have to touch
the stuff in the other subdirectories. The most recent check-ins clean up a
lot of compiler warnings, etc.


              Jonathan Lim  _  Silicon Graphics  _  Mountain View
              GPS Graphics     Computer Systems        CA, USA

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