hi can anyone help me in this
code:
Code:std::vector <struct defGeompoint> defPoints; struct defGeompoint {double defGeompt[3]; }; class defGeometry:public defFile{ public: struct Section Section1, Section2, Section3, TempdefGeomSec; std::map<std::string, tag_t> objectNameTag; void populateGeometry(void); static tag_t createSplineThruPoints(struct Section); Section formSection(Section Section1,Section Section2,int N1,int N2,int); Section xtractPoints( Section Section1,int FromPoint,int ToPoint); };
errors:
error LNK2005: "class std::vector<struct defGeompoint,class std::allocator<struct defGeompoint> > defPoints" (?defPoints@@3V?$vector@UdefGeompoint@@V?$allocato r@UdefGeompoint@@@std@@@std@@A) already defined in defFile.obj
error LNK2005: "class std::vector<struct defGeompoint,class std::allocator<struct defGeompoint> > defPoints" (?defPoints@@3V?$vector@UdefGeompoint@@V?$allocato r@UdefGeompoint@@@std@@@std@@A) already defined in defFile.obj
fatal error LNK1169: one or more multiply defined symbols found



LinkBack URL
About LinkBacks


