By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,665 Members | 1,761 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,665 IT Pros & Developers. It's quick & easy.

error LNK2001 and error LNK2005

P: 6
Hi

I have a problem with my program in vc 2008
When I compile it, the following errors are listed.
I try to resolve it but no hope
Does any one can help me ?
thanks .

Linking...
1>tdrawAa.obj : error LNK2005: _main already defined in tclose.obj
1>thnurbsS.obj : error LNK2005: _main already defined in tclose.obj
1>tleastS.obj : error LNK2005: _main already defined in tclose.obj
1>tmatrixRT.obj : error LNK2005: _main already defined in tclose.obj
1>tmeasures.obj : error LNK2005: _main already defined in tclose.obj
1>tnApprox.obj : error LNK2005: _main already defined in tclose.obj
1>tnInterp.obj : error LNK2005: _main already defined in tclose.obj
1>tnlength.obj : error LNK2005: _main already defined in tclose.obj
1>tnMovePoint.obj : error LNK2005: _main already defined in tclose.obj
1>tnsMovePoint.obj : error LNK2005: _main already defined in tclose.obj
1>tnsSweep.obj : error LNK2005: _main already defined in tclose.obj
1>tnurbs.obj : error LNK2005: _main already defined in tclose.obj
1>tnurbs_sp.obj : error LNK2005: _main already defined in tclose.obj
1>tnurbsS.obj : error LNK2005: _main already defined in tclose.obj
1>tnurbsS_sp.obj : error LNK2005: _main already defined in tclose.obj
1>tnurbsSub.obj : error LNK2005: _main already defined in tclose.obj
1>topengl.obj : error LNK2005: _main already defined in tclose.obj
1>trispline.obj : error LNK2005: _main already defined in tclose.obj
1>tclose.obj : error LNK2001: unresolved external symbol "public: class PLib::Vector<float> & __thiscall PLib::Vector<float>::operator=(class PLib::Vector<float> const &)" (??4?$Vector@M@PLib@@QAEAAV01@ABV01@@Z)
1>tclose.obj : error LNK2001: unresolved external symbol "void __cdecl PLib::wrapPointVectorH<float,3>(class PLib::Vector<struct PLib::HPoint_nD<float,3> > const &,int,class PLib::Vector<struct PLib::HPoint_nD<float,3> > &)" (??$wrapPointVectorH@M$02@PLib@@YAXABV?$Vector@U?$ HPoint_nD@M$02@PLib@@@0@HAAV10@@Z)
1>tclose.obj : error LNK2001: unresolved external symbol "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl PLib::<<(class std::basic_ostream<char,struct std::char_traits<char> > &,class PLib::BasicArray<struct PLib::HPoint_nD<float,3> > const &)" (?<<@PLib@@YAAAV?$basic_ostream@DU?$char_traits@D@ std@@@std@@AAV23@ABV?$BasicArray@U?$HPoint_nD@M$02 @PLib@@@1@@Z)
1>tclose.obj : error LNK2001: unresolved external symbol "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl PLib::<<(class std::basic_ostream<char,struct std::char_traits<char> > &,class PLib::BasicArray<float> const &)" (?<<@PLib@@YAAAV?$basic_ostream@DU?$char_traits@D@ std@@@std@@AAV23@ABV?$BasicArray@M@1@@Z)
1>tclose.obj : error LNK2001: unresolved external symbol "void __cdecl PLib::resizeBasicArray<struct PLib::HPoint_nD<float,3> >(class PLib::BasicArray<struct PLib::HPoint_nD<float,3> > &,int)" (??$resizeBasicArray@U?$HPoint_nD@M$02@PLib@@@PLib @@YAXAAV?$BasicArray@U?$HPoint_nD@M$02@PLib@@@0@H@ Z)
1>tclose.obj : error LNK2001: unresolved external symbol "public: virtual float __thiscall PLib::ParaCurve<float,3>::extremum(int,enum CoordinateType,float,int,int,float,float)const " (?extremum@?$ParaCurve@M$02@PLib@@UBEMHW4Coordinat eType@@MHHMM@Z)
1>tclose.obj : error LNK2001: unresolved external symbol "public: virtual struct PLib::Point_nD<float,3> __thiscall PLib::ParaCurve<float,3>::minDistZ(float,float &,float,float,int,int,float,float)const " (?minDistZ@?$ParaCurve@M$02@PLib@@UBE?AU?$Point_nD @M$02@2@MAAMMMHHMM@Z)
1>tclose.obj : error LNK2001: unresolved external symbol "public: virtual struct PLib::Point_nD<float,3> __thiscall PLib::ParaCurve<float,3>::minDistX(float,float &,float,float,int,int,float,float)const " (?minDistX@?$ParaCurve@M$02@PLib@@UBE?AU?$Point_nD @M$02@2@MAAMMMHHMM@Z)
1>tclose.obj : error LNK2001: unresolved external symbol "public: virtual struct PLib::Point_nD<float,3> __thiscall PLib::ParaCurve<float,3>::minDistY(float,float &,float,float,int,int,float,float)const " (?minDistY@?$ParaCurve@M$02@PLib@@UBE?AU?$Point_nD @M$02@2@MAAMMMHHMM@Z)
1>tclose.obj : error LNK2001: unresolved external symbol "public: virtual float __thiscall PLib::ParaCurve<float,3>::minDist2(struct PLib::Point_nD<float,3> const &,float &,float,float,int,int,float,float)const " (?minDist2@?$ParaCurve@M$02@PLib@@UBEMABU?$Point_n D@M$02@2@AAMMMHHMM@Z)
1>tclose.obj : error LNK2001: unresolved external symbol "public: float __thiscall PLib::BasicArray<float>::operator[](int)const " (??A?$BasicArray@M@PLib@@QBEMH@Z)
1>tclose.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall PLib::BasicArray<float>::reset(float)" (?reset@?$BasicArray@M@PLib@@UAEXM@Z)
1>tclose.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall PLib::BasicArray<float>::~BasicArray<float>(void)" (??1?$BasicArray@M@PLib@@UAE@XZ)
1>tclose.obj : error LNK2001: unresolved external symbol "public: int __thiscall PLib::NurbsCurve<float,3>::writePS(char const *,int,float,float,bool)const " (?writePS@?$NurbsCurve@M$02@PLib@@QBEHPBDHMM_N@Z)
1>tclose.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall PLib::NurbsCurve<float,3>::read(class std::basic_ifstream<char,struct std::char_traits<char> > &)" (?read@?$NurbsCurve@M$02@PLib@@UAEHAAV?$basic_ifst ream@DU?$char_traits@D@std@@@std@@@Z)
1>tclose.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall PLib::NurbsCurve<float,3>::degreeElevate(int)" (?degreeElevate@?$NurbsCurve@M$02@PLib@@UAEXH@Z)
1>tclose.obj : error LNK2001: unresolved external symbol "public: void __thiscall PLib::NurbsCurve<float,3>::globalInterpClosedH(cla ss PLib::Vector<struct PLib::HPoint_nD<float,3> > const &,int)" (?globalInterpClosedH@?$NurbsCurve@M$02@PLib@@QAEX ABV?$Vector@U?$HPoint_nD@M$02@PLib@@@2@H@Z)
1>tclose.obj : error LNK2001: unresolved external symbol "public: void __thiscall PLib::NurbsCurve<float,3>::globalInterpH(class PLib::Vector<struct PLib::HPoint_nD<float,3> > const &,int)" (?globalInterpH@?$NurbsCurve@M$02@PLib@@QAEXABV?$V ector@U?$HPoint_nD@M$02@PLib@@@2@H@Z)
1>tclose.obj : error LNK2001: unresolved external symbol "public: void __thiscall PLib::NurbsCurve<float,3>::unclamp(void)" (?unclamp@?$NurbsCurve@M$02@PLib@@QAEXXZ)
1>tclose.obj : error LNK2001: unresolved external symbol "public: void __thiscall PLib::NurbsCurve<float,3>::clamp(void)" (?clamp@?$NurbsCurve@M$02@PLib@@QAEXXZ)
1>tclose.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall PLib::NurbsCurve<float,3>::deriveAt(float,int,clas s PLib::Vector<struct PLib::Point_nD<float,3> > &)const " (?deriveAt@?$NurbsCurve@M$02@PLib@@UBEXMHAAV?$Vect or@U?$Point_nD@M$02@PLib@@@2@@Z)
1>tclose.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall PLib::NurbsCurve<float,3>::deriveAtH(float,int,cla ss PLib::Vector<struct PLib::HPoint_nD<float,3> > &)const " (?deriveAtH@?$NurbsCurve@M$02@PLib@@UBEXMHAAV?$Vec tor@U?$HPoint_nD@M$02@PLib@@@2@@Z)
1>tclose.obj : error LNK2001: unresolved external symbol "public: virtual struct PLib::HPoint_nD<float,3> __thiscall PLib::NurbsCurve<float,3>::hpointAt(float,int)cons t " (?hpointAt@?$NurbsCurve@M$02@PLib@@UBE?AU?$HPoint_ nD@M$02@2@MH@Z)
1>tclose.obj : error LNK2001: unresolved external symbol "public: virtual struct PLib::HPoint_nD<float,3> __thiscall PLib::NurbsCurve<float,3>::operator()(float)const " (??R?$NurbsCurve@M$02@PLib@@UBE?AU?$HPoint_nD@M$02 @1@M@Z)
1>tclose.obj : error LNK2001: unresolved external symbol "public: virtual class PLib::NurbsCurve<float,3> & __thiscall PLib::NurbsCurve<float,3>::operator=(class PLib::NurbsCurve<float,3> const &)" (??4?$NurbsCurve@M$02@PLib@@UAEAAV01@ABV01@@Z)
1>tclose.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall PLib::NurbsCurve<float,3>::reset(class PLib::Vector<struct PLib::HPoint_nD<float,3> > const &,class PLib::Vector<float> const &,int)" (?reset@?$NurbsCurve@M$02@PLib@@UAEXABV?$Vector@U? $HPoint_nD@M$02@PLib@@@2@ABV?$Vector@M@2@H@Z)
1>tclose.obj : error LNK2001: unresolved external symbol "public: __thiscall PLib::NurbsCurve<float,3>::NurbsCurve<float,3>(voi d)" (??0?$NurbsCurve@M$02@PLib@@QAE@XZ)
1>tclose.obj : error LNK2001: unresolved external symbol "public: struct PLib::HPoint_nD<float,3> & __thiscall PLib::BasicArray<struct PLib::HPoint_nD<float,3> >::operator[](int)" (??A?$BasicArray@U?$HPoint_nD@M$02@PLib@@@PLib@@QA EAAU?$HPoint_nD@M$02@1@H@Z)
1>tclose.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall PLib::BasicArray<struct PLib::HPoint_nD<float,3> >::reset(struct PLib::HPoint_nD<float,3>)" (?reset@?$BasicArray@U?$HPoint_nD@M$02@PLib@@@PLib @@UAEXU?$HPoint_nD@M$02@2@@Z)
1>tclose.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall PLib::BasicArray<struct PLib::HPoint_nD<float,3> >::~BasicArray<struct PLib::HPoint_nD<float,3> >(void)" (??1?$BasicArray@U?$HPoint_nD@M$02@PLib@@@PLib@@UA E@XZ)
1>tclose.obj : error LNK2001: unresolved external symbol "public: __thiscall PLib::BasicArray<struct PLib::HPoint_nD<float,3> >::BasicArray<struct PLib::HPoint_nD<float,3> >(int)" (??0?$BasicArray@U?$HPoint_nD@M$02@PLib@@@PLib@@QA E@H@Z)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall PLib::ParaSurface<float,3>::writeVRML97(class std::basic_ostream<char,struct std::char_traits<char> > &,class PLib::Color const &,int,int,float,float,float,float)const " (?writeVRML97@?$ParaSurface@M$02@PLib@@UBEHAAV?$ba sic_ostream@DU?$char_traits@D@std@@@std@@ABVColor@ 2@HHMMMM@Z)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall PLib::ParaSurface<float,3>::writeVRML97(char const *,class PLib::Color const &,int,int,float,float,float,float)const " (?writeVRML97@?$ParaSurface@M$02@PLib@@UBEHPBDABVC olor@2@HHMMMM@Z)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall PLib::ParaSurface<float,3>::writeVRML(class std::basic_ostream<char,struct std::char_traits<char> > &,class PLib::Color const &,int,int,float,float,float,float)const " (?writeVRML@?$ParaSurface@M$02@PLib@@UBEHAAV?$basi c_ostream@DU?$char_traits@D@std@@@std@@ABVColor@2@ HHMMMM@Z)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall PLib::ParaSurface<float,3>::writeVRML(char const *,class PLib::Color const &,int,int,float,float,float,float)const " (?writeVRML@?$ParaSurface@M$02@PLib@@UBEHPBDABVCol or@2@HHMMMM@Z)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: virtual float __thiscall PLib::ParaSurface<float,3>::minDist2xy(struct PLib::Point_nD<float,3> const &,float &,float &,float,float,float,int,int,int,float,float,float, float)const " (?minDist2xy@?$ParaSurface@M$02@PLib@@UBEMABU?$Poi nt_nD@M$02@2@AAM1MMMHHHMMMM@Z)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: virtual float __thiscall PLib::ParaSurface<float,3>::minDist2b(struct PLib::Point_nD<float,3> const &,float &,float &,float,float,int,int,float,float,float,float)cons t " (?minDist2b@?$ParaSurface@M$02@PLib@@UBEMABU?$Poin t_nD@M$02@2@AAM1MMHHMMMM@Z)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: virtual float __thiscall PLib::ParaSurface<float,3>::minDist2(struct PLib::Point_nD<float,3> const &,float &,float &,float,float,int,int,float,float,float,float)cons t " (?minDist2@?$ParaSurface@M$02@PLib@@UBEMABU?$Point _nD@M$02@2@AAM1MMHHMMMM@Z)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl PLib::<<(class std::basic_ostream<char,struct std::char_traits<char> > &,class PLib::Basic2DArray<struct PLib::Point_nD<float,3> > const &)" (?<<@PLib@@YAAAV?$basic_ostream@DU?$char_traits@D@ std@@@std@@AAV23@ABV?$Basic2DArray@U?$Point_nD@M$0 2@PLib@@@1@@Z)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl PLib::<<(class std::basic_ostream<char,struct std::char_traits<char> > &,class PLib::Basic2DArray<struct PLib::HPoint_nD<float,3> > const &)" (?<<@PLib@@YAAAV?$basic_ostream@DU?$char_traits@D@ std@@@std@@AAV23@ABV?$Basic2DArray@U?$HPoint_nD@M$ 02@PLib@@@1@@Z)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: struct PLib::Point_nD<float,3> & __thiscall PLib::Basic2DArray<struct PLib::Point_nD<float,3> >::elem(int,int)" (?elem@?$Basic2DArray@U?$Point_nD@M$02@PLib@@@PLib @@QAEAAU?$Point_nD@M$02@2@HH@Z)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall PLib::Basic2DArray<struct PLib::Point_nD<float,3> >::~Basic2DArray<struct PLib::Point_nD<float,3> >(void)" (??1?$Basic2DArray@U?$Point_nD@M$02@PLib@@@PLib@@U AE@XZ)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: __thiscall PLib::Basic2DArray<struct PLib::Point_nD<float,3> >::Basic2DArray<struct PLib::Point_nD<float,3> >(void)" (??0?$Basic2DArray@U?$Point_nD@M$02@PLib@@@PLib@@Q AE@XZ)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: __thiscall PLib::Basic2DArray<struct PLib::Point_nD<float,3> >::Basic2DArray<struct PLib::Point_nD<float,3> >(int,int)" (??0?$Basic2DArray@U?$Point_nD@M$02@PLib@@@PLib@@Q AE@HH@Z)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: struct PLib::HPoint_nD<float,3> & __thiscall PLib::Basic2DArray<struct PLib::HPoint_nD<float,3> >::elem(int,int)" (?elem@?$Basic2DArray@U?$HPoint_nD@M$02@PLib@@@PLi b@@QAEAAU?$HPoint_nD@M$02@2@HH@Z)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: struct PLib::HPoint_nD<float,3> __thiscall PLib::Basic2DArray<struct PLib::HPoint_nD<float,3> >::elem(int,int)const " (?elem@?$Basic2DArray@U?$HPoint_nD@M$02@PLib@@@PLi b@@QBE?AU?$HPoint_nD@M$02@2@HH@Z)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall PLib::Basic2DArray<struct PLib::HPoint_nD<float,3> >::~Basic2DArray<struct PLib::HPoint_nD<float,3> >(void)" (??1?$Basic2DArray@U?$HPoint_nD@M$02@PLib@@@PLib@@ UAE@XZ)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall PLib::NurbsSurface<float,3>::read(class std::basic_ifstream<char,struct std::char_traits<char> > &)" (?read@?$NurbsSurface@M$02@PLib@@UAEHAAV?$basic_if stream@DU?$char_traits@D@std@@@std@@@Z)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall PLib::NurbsSurface<float,3>::mergeKnotV(class PLib::Vector<float> const &)" (?mergeKnotV@?$NurbsSurface@M$02@PLib@@UAEXABV?$Ve ctor@M@2@@Z)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall PLib::NurbsSurface<float,3>::mergeKnotU(class PLib::Vector<float> const &)" (?mergeKnotU@?$NurbsSurface@M$02@PLib@@UAEXABV?$Ve ctor@M@2@@Z)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall PLib::NurbsSurface<float,3>::mergeKnots(class PLib::Vector<float> const &,class PLib::Vector<float> const &)" (?mergeKnots@?$NurbsSurface@M$02@PLib@@UAEXABV?$Ve ctor@M@2@0@Z)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall PLib::NurbsSurface<float,3>::refineKnotV(class PLib::Vector<float> const &)" (?refineKnotV@?$NurbsSurface@M$02@PLib@@UAEXABV?$V ector@M@2@@Z)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall PLib::NurbsSurface<float,3>::refineKnotU(class PLib::Vector<float> const &)" (?refineKnotU@?$NurbsSurface@M$02@PLib@@UAEXABV?$V ector@M@2@@Z)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall PLib::NurbsSurface<float,3>::refineKnots(class PLib::Vector<float> const &,class PLib::Vector<float> const &)" (?refineKnots@?$NurbsSurface@M$02@PLib@@UAEXABV?$V ector@M@2@0@Z)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall PLib::NurbsSurface<float,3>::degreeElevateV(int)" (?degreeElevateV@?$NurbsSurface@M$02@PLib@@UAEXH@Z )
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall PLib::NurbsSurface<float,3>::degreeElevateU(int)" (?degreeElevateU@?$NurbsSurface@M$02@PLib@@UAEXH@Z )
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: void __thiscall PLib::NurbsSurface<float,3>::globalInterp(class PLib::Matrix<struct PLib::Point_nD<float,3> > const &,int,int)" (?globalInterp@?$NurbsSurface@M$02@PLib@@QAEXABV?$ Matrix@U?$Point_nD@M$02@PLib@@@2@HH@Z)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall PLib::NurbsSurface<float,3>::deriveAtH(float,float ,int,class PLib::Matrix<struct PLib::HPoint_nD<float,3> > &)const " (?deriveAtH@?$NurbsSurface@M$02@PLib@@UBEXMMHAAV?$ Matrix@U?$HPoint_nD@M$02@PLib@@@2@@Z)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall PLib::NurbsSurface<float,3>::deriveAt(float,float, int,class PLib::Matrix<struct PLib::Point_nD<float,3> > &)const " (?deriveAt@?$NurbsSurface@M$02@PLib@@UBEXMMHAAV?$M atrix@U?$Point_nD@M$02@PLib@@@2@@Z)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: virtual struct PLib::HPoint_nD<float,3> __thiscall PLib::NurbsSurface<float,3>::operator()(float,floa t)const " (??R?$NurbsSurface@M$02@PLib@@UBE?AU?$HPoint_nD@M$ 02@1@MM@Z)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall PLib::NurbsSurface<float,3>::resizeKeep(int,int,in t,int)" (?resizeKeep@?$NurbsSurface@M$02@PLib@@UAEXHHHH@Z)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: virtual class PLib::NurbsSurface<float,3> & __thiscall PLib::NurbsSurface<float,3>::operator=(class PLib::NurbsSurface<float,3> const &)" (??4?$NurbsSurface@M$02@PLib@@UAEAAV01@ABV01@@Z)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: __thiscall PLib::NurbsSurface<float,3>::NurbsSurface<float,3> (void)" (??0?$NurbsSurface@M$02@PLib@@QAE@XZ)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: int __thiscall PLib::HNurbsSurface<float,3>::maxLevel(void)const " (?maxLevel@?$HNurbsSurface@M$02@PLib@@QBEHXZ)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: int __thiscall PLib::HNurbsSurface<float,3>::write(char const *)const " (?write@?$HNurbsSurface@M$02@PLib@@QBEHPBD@Z)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: int __thiscall PLib::HNurbsSurface<float,3>::read(char const *)" (?read@?$HNurbsSurface@M$02@PLib@@QAEHPBD@Z)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall PLib::HNurbsSurface<float,3>::updateLevels(int)" (?updateLevels@?$HNurbsSurface@M$02@PLib@@UAEXH@Z)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: virtual class PLib::HNurbsSurface<float,3> * __thiscall PLib::HNurbsSurface<float,3>::addLevel(int)" (?addLevel@?$HNurbsSurface@M$02@PLib@@UAEPAV12@H@Z )
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall PLib::HNurbsSurface<float,3>::~HNurbsSurface<float ,3>(void)" (??1?$HNurbsSurface@M$02@PLib@@UAE@XZ)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: __thiscall PLib::HNurbsSurface<float,3>::HNurbsSurface<float, 3>(void)" (??0?$HNurbsSurface@M$02@PLib@@QAE@XZ)
1>thnurbsS.obj : error LNK2001: unresolved external symbol "public: __thiscall PLib::HNurbsSurface<float,3>::HNurbsSurface<float, 3>(class PLib::NurbsSurface<float,3> const &)" (??0?$HNurbsSurface@M$02@PLib@@QAE@ABV?$NurbsSurfa ce@M$02@1@@Z)
1>tmatrixRT.obj : error LNK2001: unresolved external symbol "public: class PLib::MatrixRT<float> & __thiscall PLib::MatrixRT<float>::rotate(float,float,float)" (?rotate@?$MatrixRT@M@PLib@@QAEAAV12@MMM@Z)
1>tmatrixRT.obj : error LNK2001: unresolved external symbol "public: __thiscall PLib::MatrixRT<float>::MatrixRT<float>(void)" (??0?$MatrixRT@M@PLib@@QAE@XZ)
1>tmatrixRT.obj : error LNK2001: unresolved external symbol "struct PLib::Point_nD<float,3> __cdecl PLib::operator*<float,3>(class PLib::MatrixRT<float> const &,struct PLib::Point_nD<float,3> const &)" (??$?DM$02@PLib@@YA?AU?$Point_nD@M$02@0@ABV?$Matri xRT@M@0@ABU10@@Z)
1>tmatrixRT.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall PLib::Basic2DArray<float>::~Basic2DArray<float>(vo id)" (??1?$Basic2DArray@M@PLib@@UAE@XZ)
1>tmeasures.obj : error LNK2001: unresolved external symbol "public: int __thiscall PLib::NurbsSurface<float,3>::writeDisplayQUADMESH( char const *,int,int,class PLib::Color const &,float,float)const " (?writeDisplayQUADMESH@?$NurbsSurface@M$02@PLib@@Q BEHPBDHHABVColor@2@MM@Z)
1>tmeasures.obj : error LNK2001: unresolved external symbol "public: float __thiscall PLib::NurbsSurface<float,3>::area(float,int)const " (?area@?$NurbsSurface@M$02@PLib@@QBEMMH@Z)
1>tmeasures.obj : error LNK2001: unresolved external symbol "public: void __thiscall PLib::NurbsSurface<float,3>::makeSphere(struct PLib::Point_nD<float,3> const &,float)" (?makeSphere@?$NurbsSurface@M$02@PLib@@QAEXABU?$Po int_nD@M$02@2@M@Z)
1>tmeasures.obj : error LNK2001: unresolved external symbol "public: void __thiscall PLib::NurbsSurface<float,3>::sweep(class PLib::NurbsCurve<float,3> const &,class PLib::NurbsCurve<float,3> const &,int,int,int)" (?sweep@?$NurbsSurface@M$02@PLib@@QAEXABV?$NurbsCu rve@M$02@2@0HHH@Z)
1>tmeasures.obj : error LNK2001: unresolved external symbol "public: void __thiscall PLib::NurbsCurve<float,3>::makeCircle(struct PLib::Point_nD<float,3> const &,struct PLib::Point_nD<float,3> const &,struct PLib::Point_nD<float,3> const &,float,double,double)" (?makeCircle@?$NurbsCurve@M$02@PLib@@QAEXABU?$Poin t_nD@M$02@2@00MNN@Z)
1>tmeasures.obj : error LNK2001: unresolved external symbol "public: float __thiscall PLib::NurbsCurve<float,3>::length(float,int)const " (?length@?$NurbsCurve@M$02@PLib@@QBEMMH@Z)
1>tnInterp.obj : error LNK2001: unresolved external symbol "public: void __thiscall PLib::NurbsCurve<float,3>::globalInterpD(class PLib::Vector<struct PLib::Point_nD<float,3> > const &,class PLib::Vector<struct PLib::Point_nD<float,3> > const &,int,int,float)" (?globalInterpD@?$NurbsCurve@M$02@PLib@@QAEXABV?$V ector@U?$Point_nD@M$02@PLib@@@2@0HHM@Z)
1>tnInterp.obj : error LNK2001: unresolved external symbol "public: void __thiscall PLib::NurbsCurve<float,3>::globalInterp(class PLib::Vector<struct PLib::Point_nD<float,3> > const &,int)" (?globalInterp@?$NurbsCurve@M$02@PLib@@QAEXABV?$Ve ctor@U?$Point_nD@M$02@PLib@@@2@H@Z)
1>tnInterp.obj : error LNK2001: unresolved external symbol "public: int __thiscall PLib::NurbsCurve<float,3>::leastSquares(class PLib::Vector<struct PLib::Point_nD<float,3> > const &,int,int)" (?leastSquares@?$NurbsCurve@M$02@PLib@@QAEHABV?$Ve ctor@U?$Point_nD@M$02@PLib@@@2@HH@Z)
1>tnInterp.obj : error LNK2001: unresolved external symbol "public: struct PLib::Point_nD<float,3> & __thiscall PLib::BasicArray<struct PLib::Point_nD<float,3> >::operator[](int)" (??A?$BasicArray@U?$Point_nD@M$02@PLib@@@PLib@@QAE AAU?$Point_nD@M$02@1@H@Z)
1>tnInterp.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall PLib::BasicArray<struct PLib::Point_nD<float,3> >::reset(struct PLib::Point_nD<float,3>)" (?reset@?$BasicArray@U?$Point_nD@M$02@PLib@@@PLib@ @UAEXU?$Point_nD@M$02@2@@Z)
1>tnInterp.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall PLib::BasicArray<struct PLib::Point_nD<float,3> >::~BasicArray<struct PLib::Point_nD<float,3> >(void)" (??1?$BasicArray@U?$Point_nD@M$02@PLib@@@PLib@@UAE @XZ)
1>tnInterp.obj : error LNK2001: unresolved external symbol "public: __thiscall PLib::BasicArray<struct PLib::Point_nD<float,3> >::BasicArray<struct PLib::Point_nD<float,3> >(int)" (??0?$BasicArray@U?$Point_nD@M$02@PLib@@@PLib@@QAE @H@Z)
1>tnlength.obj : error LNK2001: unresolved external symbol "?*@PLib@@YA?AV?$Matrix@M@1@ABV21@0@Z" (?*@PLib@@YA?AV?$Matrix@M@1@ABV21@0@Z)
1>tnlength.obj : error LNK2001: unresolved external symbol "public: class PLib::Matrix<float> & __thiscall PLib::Matrix<float>::operator=(class PLib::Matrix<float> const &)" (??4?$Matrix@M@PLib@@QAEAAV01@ABV01@@Z)
1>tnlength.obj : error LNK2001: unresolved external symbol "public: float __thiscall PLib::NurbsCurve<float,3>::lengthIn(float,float,fl oat,int)const " (?lengthIn@?$NurbsCurve@M$02@PLib@@QBEMMMMH@Z)
1>tnlength.obj : error LNK2001: unresolved external symbol "public: struct PLib::HPoint_nD<float,3> __thiscall PLib::BasicArray<struct PLib::HPoint_nD<float,3> >::operator[](int)const " (??A?$BasicArray@U?$HPoint_nD@M$02@PLib@@@PLib@@QB E?AU?$HPoint_nD@M$02@1@H@Z)
1>tnlength.obj : error LNK2001: unresolved external symbol "public: float & __thiscall PLib::Basic2DArray<float>::elem(int,int)" (?elem@?$Basic2DArray@M@PLib@@QAEAAMHH@Z)
1>tnlength.obj : error LNK2001: unresolved external symbol "public: void __thiscall PLib::Basic2DArray<float>::resize(int,int)" (?resize@?$Basic2DArray@M@PLib@@QAEXHH@Z)
1>tnlength.obj : error LNK2001: unresolved external symbol "public: __thiscall PLib::Basic2DArray<float>::Basic2DArray<float>(int ,int)" (??0?$Basic2DArray@M@PLib@@QAE@HH@Z)
1>tnlength.obj : error LNK2001: unresolved external symbol "void __cdecl PLib::binomialCoef<float>(class PLib::Matrix<float> &)" (??$binomialCoef@M@PLib@@YAXAAV?$Matrix@M@0@@Z)
1>tnMovePoint.obj : error LNK2001: unresolved external symbol "void __cdecl PLib::resizeBasicArray<float>(class PLib::BasicArray<float> &,int)" (??$resizeBasicArray@M@PLib@@YAXAAV?$BasicArray@M@ 0@H@Z)
1>tnMovePoint.obj : error LNK2001: unresolved external symbol "void __cdecl PLib::resizeBasicArray<struct PLib::Point_nD<float,3> >(class PLib::BasicArray<struct PLib::Point_nD<float,3> > &,int)" (??$resizeBasicArray@U?$Point_nD@M$02@PLib@@@PLib@ @YAXAAV?$BasicArray@U?$Point_nD@M$02@PLib@@@0@H@Z)
1>tnMovePoint.obj : error LNK2001: unresolved external symbol "void __cdecl PLib::resizeBasicArray<int>(class PLib::BasicArray<int> &,int)" (??$resizeBasicArray@H@PLib@@YAXAAV?$BasicArray@H@ 0@H@Z)
1>tnMovePoint.obj : error LNK2001: unresolved external symbol "public: float & __thiscall PLib::BasicArray<float>::operator[](int)" (??A?$BasicArray@M@PLib@@QAEAAMH@Z)
1>tnMovePoint.obj : error LNK2001: unresolved external symbol "public: __thiscall PLib::BasicArray<float>::BasicArray<float>(int)" (??0?$BasicArray@M@PLib@@QAE@H@Z)
1>tnMovePoint.obj : error LNK2001: unresolved external symbol "public: void __thiscall PLib::NurbsCurve<float,3>::setTangentAtEnd(struct PLib::Point_nD<float,3> const &,struct PLib::Point_nD<float,3> const &)" (?setTangentAtEnd@?$NurbsCurve@M$02@PLib@@QAEXABU? $Point_nD@M$02@2@0@Z)
1>tnMovePoint.obj : error LNK2001: unresolved external symbol "public: int __thiscall PLib::NurbsCurve<float,3>::movePoint(float,class PLib::BasicArray<struct PLib::Point_nD<float,3> > const &)" (?movePoint@?$NurbsCurve@M$02@PLib@@QAEHMABV?$Basi cArray@U?$Point_nD@M$02@PLib@@@2@@Z)
1>tnMovePoint.obj : error LNK2001: unresolved external symbol "public: int __thiscall PLib::NurbsCurve<float,3>::movePoint(class PLib::BasicArray<float> const &,class PLib::BasicArray<struct PLib::Point_nD<float,3> > const &,class PLib::BasicArray<int> const &,class PLib::BasicArray<int> const &)" (?movePoint@?$NurbsCurve@M$02@PLib@@QAEHABV?$Basic Array@M@2@ABV?$BasicArray@U?$Point_nD@M$02@PLib@@@ 2@ABV?$BasicArray@H@2@2@Z)
1>tnMovePoint.obj : error LNK2001: unresolved external symbol "public: int __thiscall PLib::NurbsCurve<float,3>::movePoint(class PLib::BasicArray<float> const &,class PLib::BasicArray<struct PLib::Point_nD<float,3> > const &,class PLib::BasicArray<int> const &,class PLib::BasicArray<int> const &,class PLib::BasicArray<int> const &)" (?movePoint@?$NurbsCurve@M$02@PLib@@QAEHABV?$Basic Array@M@2@ABV?$BasicArray@U?$Point_nD@M$02@PLib@@@ 2@ABV?$BasicArray@H@2@22@Z)
1>tnMovePoint.obj : error LNK2001: unresolved external symbol "public: struct PLib::Point_nD<float,3> __thiscall PLib::NurbsCurve<float,3>::derive3D(float,int)cons t " (?derive3D@?$NurbsCurve@M$02@PLib@@QBE?AU?$Point_n D@M$02@2@MH@Z)
1>tnMovePoint.obj : error LNK2001: unresolved external symbol "public: int & __thiscall PLib::BasicArray<int>::operator[](int)" (??A?$BasicArray@H@PLib@@QAEAAHH@Z)
1>tnMovePoint.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall PLib::BasicArray<int>::reset(int)" (?reset@?$BasicArray@H@PLib@@UAEXH@Z)
1>tnMovePoint.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall PLib::BasicArray<int>::~BasicArray<int>(void)" (??1?$BasicArray@H@PLib@@UAE@XZ)
1>tnMovePoint.obj : error LNK2001: unresolved external symbol "public: __thiscall PLib::BasicArray<int>::BasicArray<int>(int)" (??0?$BasicArray@H@PLib@@QAE@H@Z)
1>tnsMovePoint.obj : error LNK2001: unresolved external symbol "public: int __thiscall PLib::NurbsSurface<float,3>::movePoint(float,float ,struct PLib::Point_nD<float,3> const &)" (?movePoint@?$NurbsSurface@M$02@PLib@@QAEHMMABU?$P oint_nD@M$02@2@@Z)
1>tnsMovePoint.obj : error LNK2001: unresolved external symbol "public: int __thiscall PLib::NurbsSurface<float,3>::movePoint(class PLib::Vector<float> const &,class PLib::Vector<float> const &,class PLib::Vector<struct PLib::Point_nD<float,3> > const &,class PLib::Vector<int> const &,class PLib::Vector<int> const &,class PLib::Vector<int> const &,class PLib::Vector<int> const &,class PLib::BasicArray<class PLib::Coordinate> const &)" (?movePoint@?$NurbsSurface@M$02@PLib@@QAEHABV?$Vec tor@M@2@0ABV?$Vector@U?$Point_nD@M$02@PLib@@@2@ABV ?$Vector@H@2@222ABV?$BasicArray@VCoordinate@PLib@@ @2@@Z)
1>tnsMovePoint.obj : error LNK2001: unresolved external symbol "public: int __thiscall PLib::NurbsSurface<float,3>::write(char const *)const " (?write@?$NurbsSurface@M$02@PLib@@QBEHPBD@Z)
1>tnsMovePoint.obj : error LNK2001: unresolved external symbol "public: __thiscall PLib::NurbsSurface<float,3>::NurbsSurface<float,3> (class PLib::NurbsSurface<float,3> const &)" (??0?$NurbsSurface@M$02@PLib@@QAE@ABV01@@Z)
1>tnsMovePoint.obj : error LNK2001: unresolved external symbol "public: class PLib::Coordinate & __thiscall PLib::BasicArray<class PLib::Coordinate>::operator[](int)" (??A?$BasicArray@VCoordinate@PLib@@@PLib@@QAEAAVCo ordinate@1@H@Z)
1>tnsMovePoint.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall PLib::BasicArray<class PLib::Coordinate>::~BasicArray<class PLib::Coordinate>(void)" (??1?$BasicArray@VCoordinate@PLib@@@PLib@@UAE@XZ)
1>tnsMovePoint.obj : error LNK2001: unresolved external symbol "public: __thiscall PLib::BasicArray<class PLib::Coordinate>::BasicArray<class PLib::Coordinate>(int)" (??0?$BasicArray@VCoordinate@PLib@@@PLib@@QAE@H@Z)
1>tnsMovePoint.obj : error LNK2001: unresolved external symbol "class PLib::Matrix<struct PLib::HPoint_nD<float,3> > __cdecl PLib::-(class PLib::Matrix<struct PLib::HPoint_nD<float,3> > const &,class PLib::Matrix<struct PLib::HPoint_nD<float,3> > const &)" (?-@PLib@@YA?AV?$Matrix@U?$HPoint_nD@M$02@PLib@@@1@AB V21@0@Z)
1>tnsSweep.obj : error LNK2001: unresolved external symbol "public: int __thiscall PLib::NurbsSurface<float,3>::writeRIB(char const *,class PLib::Color const &,struct PLib::Point_nD<float,3> const &)const " (?writeRIB@?$NurbsSurface@M$02@PLib@@QBEHPBDABVCol or@2@ABU?$Point_nD@M$02@2@@Z)
1>tnsSweep.obj : error LNK2001: unresolved external symbol "public: void __thiscall PLib::NurbsSurface<float,3>::makeFromRevolution(cl ass PLib::NurbsCurve<float,3> const &,struct PLib::Point_nD<float,3> const &,struct PLib::Point_nD<float,3> const &)" (?makeFromRevolution@?$NurbsSurface@M$02@PLib@@QAE XABV?$NurbsCurve@M$02@2@ABU?$Point_nD@M$02@2@1@Z)
1>tnsSweep.obj : error LNK2001: unresolved external symbol "public: void __thiscall PLib::NurbsSurface<float,3>::sweep(class PLib::NurbsCurve<float,3> const &,class PLib::NurbsCurve<float,3> const &,class PLib::NurbsCurve<float,3> const &,int,int,int)" (?sweep@?$NurbsSurface@M$02@PLib@@QAEXABV?$NurbsCu rve@M$02@2@00HHH@Z)
1>tnurbs.obj : error LNK2001: unresolved external symbol "public: int __thiscall PLib::NurbsCurve<float,3>::writeVRML97(char const *,float,int,class PLib::Color const &,int,int,float,float)const " (?writeVRML97@?$NurbsCurve@M$02@PLib@@QBEHPBDMHABV Color@2@HHMM@Z)
1>tnurbs.obj : error LNK2001: unresolved external symbol "public: int __thiscall PLib::NurbsCurve<float,3>::writeVRML(char const *,float,int,class PLib::Color const &,int,int,float,float)const " (?writeVRML@?$NurbsCurve@M$02@PLib@@QBEHPBDMHABVCo lor@2@HHMM@Z)
1>tnurbs.obj : error LNK2001: unresolved external symbol "public: int __thiscall PLib::NurbsCurve<float,3>::write(char const *)const " (?write@?$NurbsCurve@M$02@PLib@@QBEHPBD@Z)
1>tnurbs.obj : error LNK2001: unresolved external symbol "public: int __thiscall PLib::NurbsCurve<float,3>::read(char const *)" (?read@?$NurbsCurve@M$02@PLib@@QAEHPBD@Z)
1>tnurbs.obj : error LNK2001: unresolved external symbol "public: struct PLib::Point_nD<float,3> __thiscall PLib::NurbsCurve<float,3>::firstDn(float)const " (?firstDn@?$NurbsCurve@M$02@PLib@@QBE?AU?$Point_nD @M$02@2@M@Z)
1>tnurbs.obj : error LNK2001: unresolved external symbol "public: struct PLib::HPoint_nD<float,3> __thiscall PLib::NurbsCurve<float,3>::firstD(float)const " (?firstD@?$NurbsCurve@M$02@PLib@@QBE?AU?$HPoint_nD @M$02@2@M@Z)
1>tnurbs.obj : error LNK2001: unresolved external symbol "public: __thiscall PLib::NurbsCurve<float,3>::NurbsCurve<float,3>(cla ss PLib::Vector<struct PLib::HPoint_nD<float,3> > const &,class PLib::Vector<float> const &,int)" (??0?$NurbsCurve@M$02@PLib@@QAE@ABV?$Vector@U?$HPo int_nD@M$02@PLib@@@1@ABV?$Vector@M@1@H@Z)
1>tnurbs_sp.obj : error LNK2001: unresolved external symbol "public: void __thiscall PLib::NurbsCurveSP<float,3>::updateMaxU(void)" (?updateMaxU@?$NurbsCurveSP@M$02@PLib@@QAEXXZ)
1>tnurbs_sp.obj : error LNK2001: unresolved external symbol "public: void __thiscall PLib::NurbsCurve<float,3>::makeCircle(struct PLib::Point_nD<float,3> const &,float,double,double)" (?makeCircle@?$NurbsCurve@M$02@PLib@@QAEXABU?$Poin t_nD@M$02@2@MNN@Z)
1>tnurbs_sp.obj : error LNK2001: unresolved external symbol "public: void __thiscall PLib::NurbsCurve<float,3>::mergeKnotVector(class PLib::Vector<float> const &)" (?mergeKnotVector@?$NurbsCurve@M$02@PLib@@QAEXABV? $Vector@M@2@@Z)
1>tnurbs_sp.obj : error LNK2001: unresolved external symbol "public: void __thiscall PLib::NurbsCurve<float,3>::refineKnotVector(class PLib::Vector<float> const &)" (?refineKnotVector@?$NurbsCurve@M$02@PLib@@QAEXABV ?$Vector@M@2@@Z)
1>tnurbs_sp.obj : error LNK2001: unresolved external symbol "public: int __thiscall PLib::NurbsCurve<float,3>::knotInsertion(float,int ,class PLib::NurbsCurve<float,3> &)" (?knotInsertion@?$NurbsCurve@M$02@PLib@@QAEHMHAAV1 2@@Z)
1>tnurbs_sp.obj : error LNK2001: unresolved external symbol "public: void __thiscall PLib::NurbsCurve<float,3>::removeKnotsBound(class PLib::Vector<float> const &,class PLib::Vector<float> &,float)" (?removeKnotsBound@?$NurbsCurve@M$02@PLib@@QAEXABV ?$Vector@M@2@AAV32@M@Z)
1>tnurbs_sp.obj : error LNK2001: unresolved external symbol "public: void __thiscall PLib::NurbsCurve<float,3>::removeKnot(int,int,int) " (?removeKnot@?$NurbsCurve@M$02@PLib@@QAEXHHH@Z)
1>tnurbsS.obj : error LNK2001: unresolved external symbol "public: void __thiscall PLib::NurbsSubSurface<float>::drawSubdivisionVRML( char const *,float,class PLib::Color const &)" (?drawSubdivisionVRML@?$NurbsSubSurface@M@PLib@@QA EXPBDMABVColor@2@@Z)
1>tnurbsS.obj : error LNK2001: unresolved external symbol "public: __thiscall PLib::NurbsSubSurface<float>::~NurbsSubSurface<flo at>(void)" (??1?$NurbsSubSurface@M@PLib@@QAE@XZ)
1>tnurbsS.obj : error LNK2001: unresolved external symbol "public: __thiscall PLib::NurbsSubSurface<float>::NurbsSubSurface<floa t>(class PLib::NurbsSurface<float,3> const &)" (??0?$NurbsSubSurface@M@PLib@@QAE@ABV?$NurbsSurfac e@M$02@1@@Z)
1>tnurbsS.obj : error LNK2001: unresolved external symbol "public: int __thiscall PLib::NurbsSurface<float,3>::writePS(char const *,int,int,struct PLib::Point_nD<float,3> const &,struct PLib::Point_nD<float,3> const &,int,float,float)const " (?writePS@?$NurbsSurface@M$02@PLib@@QBEHPBDHHABU?$ Point_nD@M$02@2@1HMM@Z)
1>tnurbsS.obj : error LNK2001: unresolved external symbol "public: int __thiscall PLib::NurbsSurface<float,3>::read(char const *)" (?read@?$NurbsSurface@M$02@PLib@@QAEHPBD@Z)
1>tnurbsS.obj : error LNK2001: unresolved external symbol "public: void __thiscall PLib::NurbsSurface<float,3>::makeTorus(struct PLib::Point_nD<float,3> const &,float,float)" (?makeTorus@?$NurbsSurface@M$02@PLib@@QAEXABU?$Poi nt_nD@M$02@2@MM@Z)
1>tnurbsS.obj : error LNK2001: unresolved external symbol "public: struct PLib::Point_nD<float,3> __thiscall PLib::NurbsSurface<float,3>::normal(float,float)co nst " (?normal@?$NurbsSurface@M$02@PLib@@QBE?AU?$Point_n D@M$02@2@MM@Z)
1>tnurbsS.obj : error LNK2001: unresolved external symbol "public: int __thiscall PLib::NurbsCurve<float,3>::writeVRML(class std::basic_ostream<char,struct std::char_traits<char> > &,float,int,class PLib::Color const &,int,int,float,float)const " (?writeVRML@?$NurbsCurve@M$02@PLib@@QBEHAAV?$basic _ostream@DU?$char_traits@D@std@@@std@@MHABVColor@2 @HHMM@Z)
1>tnurbsS.obj : error LNK2001: unresolved external symbol "public: void __thiscall PLib::NurbsCurve<float,3>::makeCircle(struct PLib::Point_nD<float,3> const &,float)" (?makeCircle@?$NurbsCurve@M$02@PLib@@QAEXABU?$Poin t_nD@M$02@2@M@Z)
1>tnurbsS_sp.obj : error LNK2001: unresolved external symbol "public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall PLib::NurbsSurface<float,3>::print(class std::basic_ostream<char,struct std::char_traits<char> > &)const " (?print@?$NurbsSurface@M$02@PLib@@QBEAAV?$basic_os tream@DU?$char_traits@D@std@@@std@@AAV34@@Z)
1>tnurbsS_sp.obj : error LNK2001: unresolved external symbol "public: void __thiscall PLib::NurbsSurfaceSP<float,3>::updateMaxV(void)" (?updateMaxV@?$NurbsSurfaceSP@M$02@PLib@@QAEXXZ)
1>tnurbsS_sp.obj : error LNK2001: unresolved external symbol "public: void __thiscall PLib::NurbsSurfaceSP<float,3>::updateMaxU(void)" (?updateMaxU@?$NurbsSurfaceSP@M$02@PLib@@QAEXXZ)
1>tnurbsS_sp.obj : error LNK2001: unresolved external symbol "public: class PLib::NurbsSurfaceSP<float,3> __thiscall PLib::NurbsSurfaceSP<float,3>::generateParallel(fl oat)const " (?generateParallel@?$NurbsSurfaceSP@M$02@PLib@@QBE ?AV12@M@Z)
1>tnurbsSub.obj : error LNK2001: unresolved external symbol "public: void __thiscall PLib::NurbsSubSurface<float>::drawSubdivisionVRML9 7(char const *,float,class PLib::Color const &)" (?drawSubdivisionVRML97@?$NurbsSubSurface@M@PLib@@ QAEXPBDMABVColor@2@@Z)
1>tnurbsSub.obj : error LNK2001: unresolved external symbol "public: void __thiscall PLib::NurbsSubSurface<float>::drawSubdivisionPS(ch ar const *,float)" (?drawSubdivisionPS@?$NurbsSubSurface@M@PLib@@QAEX PBDM@Z)
1>tnurbsSub.obj : error LNK2001: unresolved external symbol "public: void __thiscall PLib::NurbsSurface<float,3>::resize(int,int,int,in t)" (?resize@?$NurbsSurface@M$02@PLib@@QAEXHHHH@Z)
1>tnurbsSub.obj : error LNK2001: unresolved external symbol "public: __thiscall PLib::BasicArray<float>::BasicArray<float>(float *,int)" (??0?$BasicArray@M@PLib@@QAE@PAMH@Z)
1>trispline.obj : error LNK2001: unresolved external symbol "public: int __thiscall PLib::RTriangularBSpline<float,3>::writeVRML(char const *,class PLib::Color const &,int,int,int)const " (?writeVRML@?$RTriangularBSpline@M$02@PLib@@QBEHPB DABVColor@2@HHH@Z)
1>trispline.obj : error LNK2001: unresolved external symbol "public: int __thiscall PLib::RTriangularBSpline<float,3>::writeVRML(class std::basic_ostream<char,struct std::char_traits<char> > &,class PLib::Color const &,int,int,int)const " (?writeVRML@?$RTriangularBSpline@M$02@PLib@@QBEHAA V?$basic_ostream@DU?$char_traits@D@std@@@std@@ABVC olor@2@HHH@Z)
1>trispline.obj : error LNK2001: unresolved external symbol "public: struct PLib::HPoint_nD<float,3> __thiscall PLib::RTriangularBSpline<float,3>::operator()(floa t,float)const " (??R?$RTriangularBSpline@M$02@PLib@@QBE?AU?$HPoint _nD@M$02@1@MM@Z)
1>trispline.obj : error LNK2001: unresolved external symbol "public: struct PLib::HPoint_nD<float,3> & __thiscall PLib::RTriangularBSpline<float,3>::b(int,int,int)" (?b@?$RTriangularBSpline@M$02@PLib@@QAEAAU?$HPoint _nD@M$02@2@HHH@Z)
1>trispline.obj : error LNK2001: unresolved external symbol "public: __thiscall PLib::RTriangularBSpline<float,3>::RTriangularBSpl ine<float,3>(int)" (??0?$RTriangularBSpline@M$02@PLib@@QAE@H@Z)
1>trispline.obj : error LNK2001: unresolved external symbol "public: int __thiscall PLib::NurbsSurface<float,3>::decompose(class PLib::NurbsSurfaceArray<float,3> &)const " (?decompose@?$NurbsSurface@M$02@PLib@@QBEHAAV?$Nur bsSurfaceArray@M$02@2@@Z)
1>trispline.obj : error LNK2001: unresolved external symbol "public: struct PLib::Point_nD<float,3> __thiscall PLib::TriangularBSpline<float,3>::operator()(float ,float)const " (??R?$TriangularBSpline@M$02@PLib@@QBE?AU?$Point_n D@M$02@1@MM@Z)
1>trispline.obj : error LNK2001: unresolved external symbol "public: struct PLib::Point_nD<float,3> & __thiscall PLib::TriangularBSpline<float,3>::b(int,int,int)" (?b@?$TriangularBSpline@M$02@PLib@@QAEAAU?$Point_n D@M$02@2@HHH@Z)
1>trispline.obj : error LNK2001: unresolved external symbol "public: __thiscall PLib::TriangularBSpline<float,3>::TriangularBSplin e<float,3>(int)" (??0?$TriangularBSpline@M$02@PLib@@QAE@H@Z)
1>trispline.obj : error LNK2001: unresolved external symbol "void __cdecl PLib::convert<float,3>(class PLib::NurbsSurface<float,3> const &,class PLib::RTriangularBSpline<float,3> &,class PLib::RTriangularBSpline<float,3> &)" (??$convert@M$02@PLib@@YAXABV?$NurbsSurface@M$02@0 @AAV?$RTriangularBSpline@M$02@0@1@Z)
1>C:\Users\RANDA\Desktop\COMP\COMP\Release\COMP.ex e : fatal error LNK1120: 162 unresolved externals
1>Build log was saved at "file://c:\Users\RANDA\Desktop\COMP\COMP\COMP\Release\Buil dLog.htm"
1>COMP - 181 error(s), 32 warning(s)
May 4 '11 #1
Share this Question
Share on Google+
2 Replies


P: 6
Hi

I have a problem with my program in vc 2008
When I compile it, the following errors are listed.
I try to resolve it but no hope
Does any one can help me ?
thanks .



1>Linking...
1>tdrawAa.obj : error LNK2005: _main already defined in tclose.obj
1>thnurbsS.obj : error LNK2005: _main already defined in tclose.obj
1>tleastS.obj : error LNK2005: _main already defined in tclose.obj
1>tmatrixRT.obj : error LNK2005: _main already defined in tclose.obj
1>tmeasures.obj : error LNK2005: _main already defined in tclose.obj
1>tnApprox.obj : error LNK2005: _main already defined in tclose.obj
1>tnInterp.obj : error LNK2005: _main already defined in tclose.obj
1>tnlength.obj : error LNK2005: _main already defined in tclose.obj
1>tnMovePoint.obj : error LNK2005: _main already defined in tclose.obj
1>tnsMovePoint.obj : error LNK2005: _main already defined in tclose.obj
1>tnsSweep.obj : error LNK2005: _main already defined in tclose.obj
1>tnurbs.obj : error LNK2005: _main already defined in tclose.obj
1>tnurbs_sp.obj : error LNK2005: _main already defined in tclose.obj
1>tnurbsS.obj : error LNK2005: _main already defined in tclose.obj
1>tnurbsS_sp.obj : error LNK2005: _main already defined in tclose.obj
1>tnurbsSub.obj : error LNK2005: _main already defined in tclose.obj
1>topengl.obj : error LNK2005: _main already defined in tclose.obj
1>trispline.obj : error LNK2005: _main already defined in tclose.obj
1>C:\Users\RANDA\Desktop\COMP\COMP\Release\COMP.ex e : fatal error LNK1169: one or more multiply defined symbols found
1>Build log was saved at "file://c:\Users\RANDA\Desktop\COMP\COMP\COMP\Release\Buil dLog.htm"
1>COMP - 19 error(s), 0 warning(s)
May 4 '11 #2

Banfa
Expert Mod 5K+
P: 8,916
Not sure if this is a C or C++ program but assuming C++ then you have defined the function main in all of the following source files

tclose.cpp
tdrawAa.cpp
thnurbsS.cpp
tleastS.cpp
tmatrixRT.cpp
tmeasures.cpp
tnApprox.cpp
tnInterp.cpp
tnlength.cpp
tnMovePoint.cpp
tnsMovePoint.cpp
tnsSweep.cpp
tnurbs.cpp
tnurbs_sp.cpp
tnurbsS.cpp
tnurbsS_sp.cpp
tnurbsSub.cpp
topengl.cpp
trispline.cpp

Or alternatively you have defined the main function in a header file (which you should be doing header files are for declarations not definitions on the whole) which you have included into all those files.

When the linker came to try and link all those objects together it found the multiply defined symbols and had to stop because it could not tell which one to use.
May 4 '11 #3

Post your reply

Sign in to post your reply or Sign up for a free account.