I've been looking of solutions but apparently this error isn't quite narrow enough,
The exact error is
1 2
1>c:\users\bombshell\documents\visual studio 2010\projects\indigoengine\indigoengine\indigo.cpp(6): error C2011: 'Indigo::DXManager' : 'class' type redefinition
1> c:\users\bombshell\documents\visual studio 2010\projects\indigoengine\indigoengine\indigo.h(18) : see declaration of 'Indigo::DXManager'
Indigo.cpp being an implementation File
Indigo.h being the header file for Indigo.cpp's use
but I can't get my head around the error,
In Indigo.h I'm using
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#ifndef INDIGO_H
#define INDIGO_H
// Include windows and D3D
namespace Indigo
{
class DXManager
{
//function prototypes
};
};
#endif