Network API - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html) +--- Forum: Development (https://forum.cuberite.org/forum-13.html) +--- Thread: Network API (/thread-1700.html) |
RE: Network API - xoft - 01-16-2015 That is most weird, WSAStartup is called from within the cNetworkSingleton constructor, so it should have been called, and I have no idea if it could even fail nowadays. Anyway, I've added failure logging. RE: Network API - NiLSPACE - 01-16-2015 Maybe I did something wrong when compiling. I did have some trouble with cmake. It said that it didn't know the argument -DSELF_TEST
errormessage:
RE: Network API - worktycho - 01-16-2015 You need to use -DSELF_TEST=1. Crake doesn't support the shorthand syntax. RE: Network API - NiLSPACE - 01-16-2015 I know, but then it says that the parameter doesn't exist. I just remembered how I fixed it last time. The problem is that I didn't install cmake in a way that it's available in the command prompt, but because I was too lazy to re-install it I created a batch file that calls cmake with the given parameters and put it in system32. cmake doesn't seem to like that. RE: Network API - xoft - 01-17-2015 As @worktycho already said, you're missing the "=1" at the end of the commandline, that's what the error message is saying. Do reinstall your cmake properly and then re-configure If you're reconfiguring an existing folder, remember to remove the CMakeCache.txt file before that. RE: Network API - NiLSPACE - 01-17-2015 I just tried that, and it worked perfectly, but now Visual Studio says winsock2.h doesn't exist. This is probably because I deïnstalled some older versions of Visual c++ and the 2015 preview. I'm reïnstalling VS 2013 now. RE: Network API - NiLSPACE - 01-17-2015 I reïnstalled it, and it works normaly again, but I still get the same WSAStartup error: RE: Network API - xoft - 01-17-2015 Now I got the same error. Super weird. RE: Network API - xoft - 01-17-2015 Ah, that was a stupid mistake. Fixed now in 838f3dff6685795f90d59f2980d091f111f0180a. RE: Network API - NiLSPACE - 01-17-2015 It works now, but Windows XP still doesn't have an IPv4 connection. Code: Actieve verbindingen |