a pfGeoset failiour in with lib32.

New Message Reply Date view Thread view Subject view Author view

Roni Kass (roni++at++dreamteam-ltd.com)
Thu, 17 Dec 1998 21:15:02 +0200


Hello Performers..

The attached-file contains a problem that I ran into, when I tried to
use Performer linked with the Performer-libs in /usr/lib32/Performer.

any help will be appreciated.

   Roni

Hello,

I am Yoram from DreamTeam ltd.

Developping a graphic application on SGI-IRIX I ran into a problem using pfGeoSet.
I am compiling with options '-n32 -mips3' and linking to /usr/lib32/...

The attached file is an example : pfGeoSet member numPrims does not get true value.

The source code file was compiled by this command:

CC test.C -n32 -mips4 -L/usr/lib32 -L/usr/lib32/Performer/Debug -lpf -lpfdu -lpfutil -lGL -lfpe -lC -lm

executing looks like this:

ONYX 14% a.out
**** Num prims = 0
ONYX 15%

What should I do ?

Thanx!

      _ .----.
     (_\/ \_,
yoram 'uu----uu~'

attachment: the source code file - test.C

#include <Performer/pr/pfGeoSet.h>
#include <Performer/pf.h>
#include <iostream.h>

void main()
{
/*
    This source code file was compiled by this command:

CC test.C -n32 -mips4 -L/usr/lib32 -L/usr/lib32/Performer/Debug -lpf -lpfdu -lpfutil -lGL -lfpe -lC -lm

*/

    pfInit();
    pfMultiprocess(PFMP_APPCULLDRAW);
    pfConfig();

    pfGeoSet *gset = new pfGeoSet;
    gset->setNumPrims(8);
    cout << "**** Num prims = " << gset->getNumPrims() << endl << flush;
}


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Thu Dec 17 1998 - 11:06:58 PST

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