undefined reference to blah blah blah....
Posted: Fri Dec 29, 2006 2:03 am
Ok,I'm making a simple game engine,and now,my compiler is going crazy on me. Its saying I have undefined references to my parent classes. Here is the code for two classes,one in which is getting a linker error:
ILoadedMesh(linker error/parent)
CLoadedMesh(child class)
So what causes these errors? Help would be greatly appreciated.
ILoadedMesh(linker error/parent)
Code: Select all
#ifndef _ILOADEDMESH_H_
#define _ILOADEDMESH_H_
#include "includes.hpp"
#include "IBaseMesh.hpp"
#include "IManager.hpp"
class DLL_EXPORT ILoadedMesh : public IBaseMesh
{
public:
ILoadedMesh(IManager* mgr,const c8* file);
~ILoadedMesh();
};
#endif // _ILOADEDMESH_H_
Code: Select all
#ifndef _CLOADEDMESH_H_
#define _CLOADEDMESH_H_
#include "includes.hpp"
#include "IManager.hpp"
#include "ILoadedMesh.hpp"
class DLL_EXPORT CLoadedMesh : public ILoadedMesh
{
public:
CLoadedMesh(IManager* mgr,const c8* file);
~CLoadedMesh();
};
#endif // _CLOADEDMESH_H_