info-inventor
[Top] [All Lists]

Re: Make Open Inventor compile on Mandrake 8.0

To: info-inventor@xxxxxxxxxxx
Subject: Re: Make Open Inventor compile on Mandrake 8.0
From: daedalus@xxxxxxxxxxx
Date: Tue, 15 May 2001 16:38:03 +0200
Cc: Haykel Ben Jemia <haykel@xxxxxxxxxxxxxxx>
In-reply-to: <200105141102.NAA29294@ipk.ipk.fhg.de>
References: <3AFE2453.E834779A@gmx.de> <200105141102.NAA29294@ipk.ipk.fhg.de>
Sender: owner-inventor@xxxxxxxxxxx
On 14 May 2001 13:03:10 +0200, Haykel Ben Jemia
<haykel@xxxxxxxxxxxxxxx> wrote:

>(I didn't understand why this one is necessary, because it's included by
><sys/time.h> which is included by
>"inventor/lib/database/include/Inventor/SbTime.h")???

Because glibc-2.1.x used to include <time.h> in <sys/time.h>, probably
you are using a glibc-2.2.x system. I also had pointed out the
"problem" and I hope developers have noticed our posts. Should we post
directly to the developers' list??


I suggest to add 
        #include <time.h>
  to Inventor/SbTime.h

and also to add
        #include <values.h>
  to Inventor/SbBasic.h

not to .c++ files because I think it is better to keep these things in
the Inventor include files.

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