I am getting the following errors when trying to compile my code:
DLLMain.obj : error LNK2001: unresolved external symbol "class BMLClient netClient" (?netClient@@3VBMLClient@@A)
Desktop\Walker26.dlc : fatal error LNK1120: 1 unresolved externals
the line that is causing it is :
netClient is declared asCode:int az = netClient.GetAzimuth();in the same fileCode:extern BMLClient netClient;
the original declaration is in another header file BMLDrawable.h:
GetAzimuth is declared asCode:class BMLDrawable: public osg::Drawable { public: BMLDrawable(); virtual ~BMLDrawable(); virtual osg::Object* cloneType() const { return new BMLDrawable(); } virtual osg::Object* clone(const osg::CopyOp&) const { return new BMLDrawable(); } bool computeBound() const; virtual void drawImplementation(osg::State& state) const; protected: BMLClient netClient; };in the BMLClient classCode:int GetAzimuth(void) { return m_nAzimuth; }
is anyone familiar with what this error means?



LinkBack URL
About LinkBacks


