compile a C program with C++

New Message Reply Date view Thread view Subject view Author view

Sibylle Geiger (sib++at++bayleaf.kyb.tuebingen.mpg.de)
Mon, 13 Jul 1998 16:23:21 +0200


Hi pfAll,

I need to include a memberfunction of one of our C++ libraries in my old C
program. So I try to compile it with a C++-Compiler. But then the compiler
doesn't know a lots of pfCommands, e.g.,

../tasks.C", line 259: error(1020): identifier "pfChanView" is undefined
      pfChanView(Shared->mainChan, Shared->view.xyz, Shared->view.hpr);

altough I include the header files, e.g.,
#include <Performer/pf.h>

Could the problem be the "PF_CPLUSPLUS_API" in the Performer headers?
Could I change this value?
Does anybody know the problem?
Any ideas?

Thanks for your time.

Greetings Sibylle

-- 
-----------------------------------------------------------

_/ _/ _/_/_/ _/_/_/ Sibylle Geiger _/_/ _/_/ _/ _/ _/ Max-Planck Institut f"ur _/ _/ _/ _/_/_/ _/ biologische Kybernetik _/ _/ _/ _/ Spemannstrasse 38 _/ _/ _/ _/_/_/ 72076 T"ubingen, Germany

phone: +49-7071-601 630 fax : +49-7071-601 616 web : www.kyb.tuebingen.mpg.de email: sibylle.geiger++at++tuebingen.mpg.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


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:57:41 PDT

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