Re: LINK OF pfGeoSet

New Message Reply Date view Thread view Subject view Author view

Bernard Leclerc (bleclerc++at++cae.ca)
Fri, 29 Nov 1996 08:55:53 -0500


Tran cong Tam wrote:

> URGENCE Please help !!!
>
> We are using Irix5.3, Performer2.0, GL, Onyx Reality-2.
>
> I modified perfly.c in directory :
>
> /usr/src/Performer/src/sample/perfly

How come you're using /usr/src/Performer??? This used to be the location
of sources for Performer 1.2

Starting with Performer 2.0, all sources are located in
/usr/share/Performer/src.

>
> And insert some lines :
>
> pfNewGset
> pfRemoveGset
> pfGetNumGsets
> pfAddGset
> pfGetGset
>
> with include :
>
> #include <Performer/pf.h>
> #include <Performer/pr.h>
>
> Then compile with Makefile of this directory. I got messages :
>
> ======================= MESSAGE ========================
>
> making OPT version of perfly
> cc -xansi -D__STDC__ -I.. -I../../common
> -I/usr/src/Performer/include -I/usr/include/Performer -O -o
> perfly.OPT cmdline.o generic.o env.o gui.o keybd.o
> tristrip.o billboard.o TAM_pfiv.o mov_dcs5.o perfly.o
> main.o /usr/src/Performer/src/lib/libpfsgi/libpfsgi.a
> /usr/src/Performer/lib/libpfsgi.a /usr/src/Performer/lib/libpfdwb.a
> /usr/src/Performer/lib/libpfflt.a /usr/src/Performer/lib/libpfutil.a
> /usr/lib/libpf.a /usr/lib/libpr.a -lgen -lmpc -limage -lfm -lgl
> -lX11 -lm -lfpe -lC
>
> ld:
> Unresolved:
> pfNewGset
> pfRemoveGset
> pfGetNumGsets
> pfAddGset
> pfGetGset
>
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)
>
> ========================================================
>
> Does anyone know why and how to resolve.
>

Again, looking at the output of your Makefile, I'm quite convinced you've
modified a pf1.2 version of Perfly. Now the question should be: Is
Performer 2.x installed on your computer? Specifically, is the command
`showprods performer_dev` showing Performer 2.0 or 1.2?

What I think happened is: You had pf1.2 installed previously then you
updated to pf2.0 -- Now you can no longer develop using pf1.2 -- That
explains why the old Makefile is complaining.

--
Bernard Leclerc			CAE Electronics Ltd., 8585 Cote De Liesse
Technical Leader		Saint-Laurent, Quebec, Canada, H4L-4X4
3-D Graphics Applications	tel: +1 514 341 2000 extension 2275
bleclerc++at++cae.ca			fax: +1 514 340 5496
=======================================================================
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:54:02 PDT

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