Getting C2601 error when building DSGame-server
-
- Posts: 4
- Joined: Mon Apr 29, 2019 5:32 pm
Getting C2601 error when building DSGame-server
I am building the Darkstar server in Visual Studio 2019 and I got DSConnect-server and DSSearch-server built, but when I build the DSGame-server it will give me C2601 errors on battleutils.cpp and has the error message, "local function definitions are illegal". I attached the output log and the error log. Thank you to anyone that can help me.
- Attachments
-
- Error Log.xlsx
- (8.28 KiB) Downloaded 773 times
-
- Output Log.docx
- (7.23 KiB) Downloaded 754 times
Re: Getting C2601 error when building DSGame-server
Did you modify the source? I just compiled the game server and got no errors. I pulled latest as of this post. Those functions look to be pretty basic.
-- Whasf
-
- Posts: 4
- Joined: Mon Apr 29, 2019 5:32 pm
Re: Getting C2601 error when building DSGame-server
I pulled the latest master and compiled it but I still got the same errors. Do you have different settings other then the default Visual Studio settings?
Re: Getting C2601 error when building DSGame-server
Could there be some other dependency missing, or are you using a non-english based language?
I know there can be problems when you are running system local in Japanese.
I know there can be problems when you are running system local in Japanese.
-
- Posts: 4
- Joined: Mon Apr 29, 2019 5:32 pm
Re: Getting C2601 error when building DSGame-server
That is probably the problem, I'm running Windows 7 with a Japanese local, let me build it on a different computer to see if it will work.
-
- Posts: 4
- Joined: Mon Apr 29, 2019 5:32 pm
Re: Getting C2601 error when building DSGame-server
Ok I got it to build. I changed my locale to English (United States) and it built successfully. Thank you for everyone's help!
Re: Getting C2601 error when building DSGame-server
Yeah, Japanese local changing the file path stuff to ¥ messes things up sometimes.
c:¥path¥to¥stuff = certain programs hate it!
c:¥path¥to¥stuff = certain programs hate it!