• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

I cannot compile a server

Status
Not open for further replies.
Newbie Spellweaver
Joined
Apr 9, 2013
Messages
84
Reaction score
1
So I am trying to compile the server called "HeroWars" just for fun and see what it is and can do.
But I cannot compile auth server and game server

Auth error compile log;

1>------ Build started: Project: md5, Configuration: Debug Win32 ------
1>Build started 2014-02-05 12:29:50.
1>InitializeBuildStatus:
1> Touching ".\md5__Win32_Debug\md5.unsuccessfulbuild".
1>ClCompile:
1> md5.cpp
1>c:\lolserver\herowars-master\dep\include\crypt\md5.h(36): fatal error C1083: Cannot open include file: 'string': No such file or directory
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.10
2>------ Build started: Project: authd, Configuration: Debug Win32 ------
2>Build started 2014-02-05 12:29:50.
2>InitializeBuildStatus:
2> Touching "authd__Win32_Debug\authd.unsuccessfulbuild".
2>ClCompile:
2> WinSocket.cpp
2>c:\lolserver\herowars-master\authd\stdafx.h(34): fatal error C1083: Cannot open include file: 'memory': No such file or directory
2> Settings.cpp
2>c:\lolserver\herowars-master\authd\stdafx.h(34): fatal error C1083: Cannot open include file: 'memory': No such file or directory
2> PostgreSQL.cpp
2>c:\lolserver\herowars-master\authd\stdafx.h(34): fatal error C1083: Cannot open include file: 'memory': No such file or directory
2> Packets.cpp
2>c:\lolserver\herowars-master\authd\stdafx.h(34): fatal error C1083: Cannot open include file: 'memory': No such file or directory
2> PacketHandler.cpp
2>c:\lolserver\herowars-master\authd\stdafx.h(34): fatal error C1083: Cannot open include file: 'memory': No such file or directory
2> MySQL.cpp
2>c:\lolserver\herowars-master\authd\stdafx.h(34): fatal error C1083: Cannot open include file: 'memory': No such file or directory
2> Main.cpp
2>c:\lolserver\herowars-master\authd\stdafx.h(34): fatal error C1083: Cannot open include file: 'memory': No such file or directory
2> Log.cpp
2>c:\lolserver\herowars-master\authd\stdafx.h(34): fatal error C1083: Cannot open include file: 'memory': No such file or directory
2> Crypt.cpp
2>c:\lolserver\herowars-master\authd\stdafx.h(34): fatal error C1083: Cannot open include file: 'memory': No such file or directory
2> AuthHandler.cpp
2>c:\lolserver\herowars-master\authd\stdafx.h(34): fatal error C1083: Cannot open include file: 'memory': No such file or directory
2>
2>Build FAILED.
2>
2>Time Elapsed 00:00:00.33
========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========

Game server;

1>------ Build started: Project: enet-1.2.5, Configuration: Debug Win32 ------
2>------ Build started: Project: intlib, Configuration: Debug Win32 ------
1>Build started 2014-02-05 13:53:34.
1>InitializeBuildStatus:
1> Creating ".\enet-1.2.5__Win32_Debug\enet-1.2.5.unsuccessfulbuild" because "AlwaysCreate" was specified.
2>Build started 2014-02-05 13:53:34.
2>InitializeBuildStatus:
2> Creating ".\intlib__Win32_Debug\intlib.unsuccessfulbuild" because "AlwaysCreate" was specified.
2>ClCompile:
2> blowfish.cpp
1>ClCompile:
1> win32.c
2>c:\lolserver\herowars-master\dep\src\intlib\blowfish.cpp(1): fatal error C1083: Cannot open include file: 'cstring': No such file or directory
2> base64.cpp
2>c:\lolserver\herowars-master\dep\include\intlib\base64.h(1): fatal error C1083: Cannot open include file: 'string': No such file or directory
2> Generating Code...
1>c:\lolserver\herowars-master\dep\src\enet\win32.c(7): fatal error C1083: Cannot open include file: 'time.h': No such file or directory
1> unix.c
1> protocol.c
2>
2>Build FAILED.
2>
2>Time Elapsed 00:00:00.49
1>c:\lolserver\herowars-master\dep\src\enet\protocol.c(5): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
1> peer.c
1>c:\lolserver\herowars-master\dep\src\enet\peer.c(5): fatal error C1083: Cannot open include file: 'string.h': No such file or directory
1> packet.c
1>c:\lolserver\herowars-master\dep\src\enet\packet.c(5): fatal error C1083: Cannot open include file: 'string.h': No such file or directory
1> list.c
1>c:\lolserver\herowars-master\dep\include\enet\list.h(8): fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory
1> host.c
1>c:\lolserver\herowars-master\dep\src\enet\host.c(6): fatal error C1083: Cannot open include file: 'string.h': No such file or directory
1> callbacks.c
1>c:\lolserver\herowars-master\dep\include\enet\enet.h(13): fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory
1> Generating Code...
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.74
3>------ Build started: Project: gamed, Configuration: Debug Win32 ------
3>Build started 2014-02-05 13:53:35.
3>InitializeBuildStatus:
3> Creating "gamed__Win32_Debug\gamed.unsuccessfulbuild" because "AlwaysCreate" was specified.
3>ClCompile:
3> Entity.cpp
3>c:\lolserver\herowars-master\common.h(3): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
3> Team.cpp
3>c:\lolserver\herowars-master\gamed\team.h(3): fatal error C1083: Cannot open include file: 'memory': No such file or directory
3> StateManager.cpp
3>c:\lolserver\herowars-master\gamed\state.h(3): fatal error C1083: Cannot open include file: 'memory': No such file or directory
3> State.cpp
3>c:\lolserver\herowars-master\gamed\state.h(3): fatal error C1083: Cannot open include file: 'memory': No such file or directory
3> PlayerState.cpp
3>c:\lolserver\herowars-master\gamed\state.h(3): fatal error C1083: Cannot open include file: 'memory': No such file or directory
3> Player.cpp
3> Party.cpp
3>c:\lolserver\herowars-master\gamed\party.h(3): fatal error C1083: Cannot open include file: 'string': No such file or directory
3> main.cpp
3>c:\lolserver\herowars-master\gamed\main.cpp(19): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
3> Packets.cpp
3>c:\lolserver\herowars-master\dep\include\enet\enet.h(13): fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory
3> PacketManager.cpp
3>c:\lolserver\herowars-master\gamed\packetmanager.h(4): fatal error C1083: Cannot open include file: 'memory': No such file or directory
3> NetworkListener.cpp
3>c:\lolserver\herowars-master\dep\include\enet\enet.h(13): fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory
3> MovingState.cpp
3>c:\lolserver\herowars-master\gamed\state.h(3): fatal error C1083: Cannot open include file: 'memory': No such file or directory
3> Log.cpp
3>c:\lolserver\herowars-master\gamed\log.h(3): fatal error C1083: Cannot open include file: 'iostream': No such file or directory
3> LoadingState.cpp
3>c:\lolserver\herowars-master\gamed\state.h(3): fatal error C1083: Cannot open include file: 'memory': No such file or directory
3> InGameState.cpp
3>c:\lolserver\herowars-master\gamed\state.h(3): fatal error C1083: Cannot open include file: 'memory': No such file or directory
3> GameState.cpp
3>c:\lolserver\herowars-master\gamed\state.h(3): fatal error C1083: Cannot open include file: 'memory': No such file or directory
3> GameServer.cpp
3>c:\lolserver\herowars-master\dep\include\enet\enet.h(13): fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory
3> Generating Code...
3>
3>Build FAILED.
3>
3>Time Elapsed 00:00:01.71
========== Build: 0 succeeded, 3 failed, 0 up-to-date, 0 skipped ==========

Could anyone tell me how to fix this?

Many thanks and so forth for the ones helping me out with this!
 
Newbie Spellweaver
Joined
Dec 2, 2013
Messages
23
Reaction score
0
hello,

In your log (for auth server and game server), it's mentionned: "Cannot open include file: 'stdlib.h': No such file or directory".
Be sure having these files in their folder place.
 
Upvote 0
Status
Not open for further replies.
Back
Top