Steve Baker (sbaker++at++link.com)
Fri, 19 Jun 1998 14:40:51 -0500 (CDT)
>
> I'm trying to convert a custom loader, pfTera.c, over to C++ and am having
> run time problems. When I run the C++ loader on perfly, perfly says
> that pfdLoadFile_Tera is not defined in libpfTera_ogl.so. I've made
> very little changes to pfTera.c itself. It seems like Performer is
> recognizing the loader, but is not able to see anything inside it.
>
> I've used two Makefiles and neither of them work:
>
> #!smake
>
> PFROOT ?= $(ROOT)
> include $(PFROOT)/usr/share/Performer/src/pfmakedefs
>
> LIBRARY = libpfTera
> CXXFILES = \
> pfTera.C
>
> include $(PFROOT)/usr/share/Performer/src/pfmakerules
You probably need to declare all the entry point routines as
extern "C" - this prevents the C++ compiler from 'mangling'
the function name.
Steve Baker (817)619-8776 (Vox/Vox-Mail)
Raytheon Systems Inc. (817)619-4028 (Fax)
Work: SBaker++at++link.com http://www.hti.com
Home: SJBaker1++at++airmail.net http://web2.airmail.net/sjbaker1
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:57:34 PDT