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

Re: 'Opportunities' in the Inventor code

To: "Scott S. Ross" <ssross@xxxxxxxxxx>
Subject: Re: 'Opportunities' in the Inventor code
From: Alexandre Naaman <naaman@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 23 Aug 2000 22:28:06 -0700
Cc: info-inventor-dev@xxxxxxxxxxx
In-reply-to: <Pine.LNX.4.21.0008191417170.7684-100000@ssrlap2.cosd.fedex.com>
Sender: owner-info-inventor-dev@xxxxxxxxxxx
On Sat, 19 Aug 2000, Scott S. Ross wrote:

Hi Scott,

> First, appologies for just throwing these out. Without the archives I
> don't know if these have been addressed already.
> 
> A year or so ago I tried to use Inventor from TGS under Linux.  I ran into
> 4 problems that seem to also be in the base code just released.  I don't
> have the fixes I wrote anymore and before I dive in and do it all again I
> thought it better to see if they are already being worked on (or if
> different directions are being taken).
> 
> 1) Dynamic loading.  I remember that I could fix this by a simple hack of
> the .a and .so files to change the pattern used in the name passed to
> dlopen et.al.

Nico Schmidt submitted a patch that will get incorporated into the current
source to fix this problem. It turns out that contrary to the MIPSPro C++
compiler, the GNU C++ compiler (g++) does not mangle names differently
depending on which ABI you're targeting (o32,n32,n64).

The whole point here is that we need to know what the mangled name for the
initClass() method will be. This way after dlopen() has been called on the
shared lib we can invoke the method which initializes this class.

> 2) Fonts.  I remember this being a byte order problem (in the X fonts, I
> don't remember fixing the Adobe fonts). I got by last time by re-compiling
> fonts (with mixed success).  This one tought me the fine points of strace.

The bigger problem with the fonts is that we are using a library called
libFL which we cannot re-distribute at this point in time. Hopefully
someone will replace the font library with libfreetype.

[clip]

Hope this answers some of your questions ...

A+,

Alexandre.

--
Alexandre Naaman - naaman@xxxxxxx - La conformite est la mort de l'ame.




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