DSGame-server

Post Reply
Magiknight
Posts: 153
Joined: Tue Sep 04, 2012 12:42 am

DSGame-server

Post by Magiknight » Wed Oct 24, 2012 7:40 pm

I have been working on building a server and I have had no problems until I get to the section titled "Building the Map Server." When I build it I get the following error message.

merit.cpp
c:\dsp\src\map\merit.h(247): error C2365: 'MERIT_ARCANE_CIRCLE_RECAST' : redefinition; previous definition was 'enumerator'
c:\dsp\src\map\merit.h(204) : see declaration of 'MERIT_ARCANE_CIRCLE_RECAST'

I am using Visual C++ 2010 express.

devmonkey
Posts: 3
Joined: Tue Aug 21, 2012 9:45 pm

Re: DSGame-server

Post by devmonkey » Wed Oct 24, 2012 8:16 pm

I'm having a similar issue with building the server on linux:

src/merit/merit.cpp:36:12:
error: missing binary operator before token "ABYSSEA_EXPANSION"

build fails after this error...

Suggestions?

devmonkey
Posts: 3
Joined: Tue Aug 21, 2012 9:45 pm

Re: DSGame-server

Post by devmonkey » Wed Oct 24, 2012 8:26 pm

Fixed it... in merit.cpp on line:

#if define "ABYSSEA_EXPANSION"

change it to:

#if define == "ABYSSEA_EXPANSION"

bluekirby0
Developer
Posts: 707
Joined: Sun Jul 22, 2012 12:11 am

Re: DSGame-server

Post by bluekirby0 » Wed Oct 24, 2012 9:08 pm

ehh that should probably be #if defined or #ifdef rather than #if define ==

Post Reply