From: Michael Logan (mlogan++at++arc.nasa.gov)
Date: 04/10/2003 09:34:25
I am having non-stop linking problems with my Performer app and STL
on IRIX using C++ 7.3.1.3m and Performer 2.5.
I know its really bad to do this:
vector<pfNode> nodelist;
without using the STL allocator mentioned in this group, but
this is ok, right?
vector< pfNode* > nodeptrlist;
Anytime I try this in a class, for example:
class A {
private:
vector< pfNode* > nodeptrlist;
.
.
};
then later in the .C
nodeptrlist.push_back( pf_node_ptr ); // its a pfNode*
I get this link error..
ld32: ERROR 33 : Unresolved text symbol
"std::vector<pfNode*,std::allocator<pfNode*>
>::_M_insert_aux(pfNode**,pfNode *const&)"
-- 1st referenced by ../lib/libNelGeometry.a(NelGeometryPf.o).
any help??
mike
-- Michael Logan Task Lead, Visual Cueing & Simulation, (650)-604-4494 QSS Group, Inc. / NASA Ames Research Center MS 262-6,Moffett Field,CA, 94035 private: vonlogan++at++rcn.com, http://users.rcn.com/vonlogan/index.htm
This archive was generated by hypermail 2b29 : Thu Apr 10 2003 - 09:33:20 PDT