Re: Missing .iv load with n32/64 libs

New Message Reply Date view Thread view Subject view Author view

Frank Purschke (frank.purschke++at++audi.de)
Mon, 23 Sep 1996 09:17:37 +0200


Scott McMillan wrote:
>
> >
> > Dear Performers,
> >
> > I've tried to compile perfly for the n32/64 bit library. There is no trouble
> > during compilation, but the resulting perfly application is unable load
> > Inventor files because the Inventor loader (dso) are missing in
> > /usr/lib{32,64}/libpfdb/. The configuration here is: Performer 2.1, Irix6.2.
> > Those loaders are'nt on the distribution cd I've got. Any idea where to get
> > them or will it be fixed with Performer 2.2?
> >
> > Frank
> >
> > --
> > Frank Purschke
> > Volkswagen AG
> > Virtual Reality Lab
> > Frank.Purschke++at++audi.de
> > =======================================================================
> > List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> > Submissions: info-performer++at++sgi.com
> > Admin. requests: info-performer-request++at++sgi.com
> >
>
> If you install the Loader Source code from the CDROM you can build your own
> inventor loader (in /usr/share/Performer/src/lib/libpfdb/libpfiv). However,
> there is a bug/flakiness with either the N32/64 compiler or the code
> itself and it won't compile the loader straight up. You have to change the
> following to get it to compile (I probably should have used diff, right?):
>
> // original code (pfiv.C lines 795-798):
> SoGetBoundingBoxAction bba(SbViewportRegion());
> bba.apply((SoNode *)node);
> SbXfBox3f &bbox = bba.getXfBoundingBox();
> const SbVec3f &center = bba.getCenter();
>
> // replacement code:
> SoGetBoundingBoxAction *bba =
> new SoGetBoundingBoxAction(SbViewportRegion());
> bba->apply((SoNode *)node);
> SbXfBox3f &bbox = bba->getXfBoundingBox();
> const SbVec3f &center = bba->getCenter();
> delete bba;
>
> Please let me know if this works for you.
>
> scott
>
> --
> Scott McMillan | HT Medical, Inc. | Developing virtual environ-
> scott++at++ht.com | http://www.ht.com | ment medical and surgical
> Ph: 301-984-3706 | 6001 Montrose Rd., Ste. 902 | simulations and surgery
> Fax: 301-984-2104 | Rockville, MD 20852 | simulation creation tools.

Dear Scott,

yes it works with the n32 libs. It is sufficient to place the resulting libiv_ogl.so in the directory where
the n32-perfly gets started (as libiv.so) so you do not need to copy it into /usr/lib32/libpfdb/ . The same
procedure fails for the 64-lib. I don't know why, but I get a core dump... But I will keep trying to get the
64-perfly working.

Frank

-- 
Frank Purschke
Volkswagen AG
Virtual Reality Lab
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/Performer/
            Submissions:  info-performer++at++sgi.com
        Admin. requests:  info-performer-request++at++sgi.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:36 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.