Game Server not building in VS 2017
Posted: Sun Nov 25, 2018 1:11 pm
So it's been a couple of years things have happened like my old HDD dying so i lost my old files etc... i am aware that i had a old thread on this subject but since i wasn't sure if necroing it was against the rules or not i decided not to post in it but i decided to try and make a server again however the issue i've been having is again with building the game server i'm getting a few error messages stopping it from being built in both 32 and 64 formats.
I've tried downloading the battleutils file multiple times but it's always the same errors i would be grateful for any help.
I've tried downloading the battleutils file multiple times but it's always the same errors i would be grateful for any help.
Code: Select all
1>------ Build started: Project: DSGame-server, Configuration: Debug x64 ------
1>battleutils.cpp
1>synthutils.cpp
1>e:\darkstar\darkstar\src\map\utils\battleutils.cpp(2464): error C3646: 'uint8': unknown override specifier
1>e:\darkstar\darkstar\src\map\utils\battleutils.cpp(2464): error C3646: 'distribution': unknown override specifier
1>e:\darkstar\darkstar\src\map\utils\battleutils.cpp(2464): error C2061: syntax error: identifier 'GetRandomNumber'
1>e:\darkstar\darkstar\src\map\utils\battleutils.cpp(2464): error C2761: 'GetRandomNumber': redeclaration of member is not allowed
1>e:\darkstar\darkstar\src\map\utils\battleutils.cpp(2467): error C2059: syntax error: 'switch'
1>e:\darkstar\darkstar\src\map\utils\battleutils.cpp(2468): error C2447: '{': missing function header (old-style formal list?)
1>e:\darkstar\darkstar\src\map\utils\battleutils.cpp(2521): error C2059: syntax error: 'return'
1>Done building project "DSGame-server.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========