Re: <Performer/pf.h>

New Message Reply Date view Thread view Subject view Author view

Sharon Clay (src++at++rose.engr.sgi.com)
Fri, 30 Jan 1998 01:44:07 -0800


+>---- On Jan 29, 7:55pm, Sonu Kansal wrote:
> Subject: <Performer/pf.h>
->
->I'm trying to use: pfDCSTrans
->And I have included the Performer/pf.h
->but I keep getting this error:
->
->-----------------------
->
->"../sim4.C", line 608: error(3114): identifier "pfDCSTrans" is undefined
-> pfDCSTrans(dcseb01,xxx1,yyy1,zzz1);
->
->-----------------------
->
->Can someone point me in the right direction?
->

You need to use either the C API or the C++ API but you don't get
to use both. By default, C++ apps use the C++ API unless
they define PF_C_API 1.
You have a C++ app so you probably want the C++ so you should then
include <Performer/pf/pfDCS.h> and use dcs->trans().
You should also check out the C++ chapter in the Programmer's Guide
since it has some C vs C++ hints and tips.

src.

-- 
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++
Sharon Rose Clay - Silicon Graphics, Advanced Systems Dev.
src++at++sgi.com  (650) 933 - 1002  FAX: (650) 965 - 2658  MS 8U-590
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++
=======================================================================
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:56:39 PDT

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