simple pfSwitch trouble

New Message Reply Date view Thread view Subject view Author view

James Klinge (klinge++at++reality.psych.umn.edu)
Tue, 3 Mar 1998 23:36:58 -0600 (CST)


I've got a rookie problem working a pfSwitch. I have these lines in my code:

#include <Performer/pr.h>
#include <Performer/pf.h>
...
pfSwitch *brakes;
...
pfSwitchVal( brakes, PFSWITCH_ON );

and I get these errors when compiling:

"LeadCar.c", line 130: error(3114): identifier "pfSwitchVal" is undefined
    pfSwitchVal( brake_part, PFSWITCH_ON );
    ^

"LeadCar.c", line 130: error(3114): identifier "PFSWITCH_ON" is undefined
    pfSwitchVal( brake_part, PFSWITCH_ON );

I'm using Performer 2.0 on an Indigo2. If pf.h isn't the right header,
what is? pfSwitch.h is C++, not C so it can't be that.

Thanks for any help,
Jim.

-- 
James Klinge    klinge++at++reality.psych.umn.edu  -  Human Factors Research Lab 
voice:(612)626-7521   fax:(612)625-8867       -  University of Minnesota
=======================================================================
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:58 PDT

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