R. Krijnen 0278, 3J03, 2-4 (rkrj5++at++fel.tno.nl)
Wed, 9 Apr 1997 14:53:53 GMT+1
In my Performer application I have the need for a visChannal class
which is derived from the pfChannel class. This worked fine on our SGI
systems running Performer 2.01 and CC 4.0 compiler. Now I'm trying to
port the application to our new Onyx2 iR which has Performer 2.1
installed. Besides the new warnings generated by the new compiler (CC
v7.1) I get a linker error telling me I have got an unresolved on the
protected pfChannel method pf_copyToDraw??! The code below gives you a
example of how did it.
visChannel : public pfChannel {
public:
visChannel (pfPipe* pipe) : pfChannel (pipe)
{ }
bool configure();
};
_.
VisChannel* ch =new TvisChannel (pipe);
_.
ch->configure();
_
ch->setViewpoint (xyz, hpr);
_
My link line looks like:
CC -g -32 complex.C -L/usr/lib -L/lib -lm -all -lpfdu_ogl -lpfui
-lpfutil_ogl -lpf_ogl -none -limage -lfm -lGLU -lGL -lXext -lXsgivc
-lXmu -lX11 -lfpe -lm -lC -lpfflt_ogl -o complex
ld: ERROR 33: Unresolved text symbol "pfChannel::pf_copyToDraw(const
pfUpdatable *)" -- 1st referenced by complex.o
Development environment:
Onyx2 iR (running Irix 6.4)
Performer 2.1
Irix CC 7.1 compiler
Using old 32 bit style because of third party lib's
Any suggestions?!
I really don't want to rewrite my application.
+========================================================+
|Robbert Krijnen |
|e-mail: krijnen++at++fel.tno.nl |
| TNO - Physics and Electronics Laboratory |
|http://www.tno.nl/instit/fel Oude waaldorperweg 63 |
|Tel. +31 (0)70 374 02 78 Postbus 96864 |
|Fax +31 (0)70 32 80 961 2509 JG 's-Gravenhage |
+========================================================+
=======================================================================
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:55:01 PDT