Re: Missing .iv load with n32/64 libs

New Message Reply Date view Thread view Subject view Author view

Scott McMillan (scott++at++ht.com)
Fri, 20 Sep 1996 11:23:42 -0400 (EDT)


>
> 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.

======================================================================= 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:35 PDT

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