Server source compiling error

07/16/2014 10:23 gabika08#1
Hello,

I'd like to ask for some help compiling the novaline server source.
I am using Visual Studio 2012 (Update 4, with .NET 4.5 Framework installed) and I am getting this error on the 'game' project, 'castle.cpp' source file:

Error C2371: 'POSITION' : redefinition; different basic types.

The error message points to this block on my file:


Code:
struct POSITION
{
int x, y;
};
 
 
static POSITION s_frog_pos[4][MAX_CASTLE_FROG] = {
// EMPIRE_NONE
{
{ 0, 0 },
{ 0, 0 },
{ 0, 0 },
{ 0, 0 },
{ 0, 0 },
 
 
{ 0, 0 },
{ 0, 0 },
{ 0, 0 },
{ 0, 0 },
{ 0, 0 },
 
 
{ 0, 0 },
{ 0, 0 },
{ 0, 0 },
{ 0, 0 },
{ 0, 0 }
I have read MSDN and stackoverflow entries already, but none of them helped me.
I'd appreciate any help.