M
Michael Sgier
Hi
why that error?
Main.cpp.text+0xd0f): undefined reference to
`CJoysticksManager::CJoysticksManager()'
the constructor is in Joysticks.h:
class CJoysticksManager : public CStreamObject
{
public:
CJoysticksManager();
in main.cpp:
globals->joymgr = new CJoysticksManager();
and in globals.h:
CJoysticksManager *joymgr;
headers are included:
#include "../Include/FlyLegacy.h"
#include "../Include/Joysticks.h"
#include "../Include/Globals.h"
why that error?
Main.cpp.text+0xd0f): undefined reference to
`CJoysticksManager::CJoysticksManager()'
the constructor is in Joysticks.h:
class CJoysticksManager : public CStreamObject
{
public:
CJoysticksManager();
in main.cpp:
globals->joymgr = new CJoysticksManager();
and in globals.h:
CJoysticksManager *joymgr;
headers are included:
#include "../Include/FlyLegacy.h"
#include "../Include/Joysticks.h"
#include "../Include/Globals.h"