Posts: 6,485
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1075 thank(s) in 852 post(s)
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.
Posts: 783
Threads: 12
Joined: Jan 2014
Thanks: 2
Given 73 thank(s) in 61 post(s)
You need to use -DSELF_TEST=1. Crake doesn't support the shorthand syntax.
Posts: 4,628
Threads: 115
Joined: Dec 2011
Thanks: 693
Given 494 thank(s) in 423 post(s)
01-16-2015, 10:26 PM
(This post was last modified: 01-16-2015, 10:29 PM by NiLSPACE.)
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.
Posts: 4,628
Threads: 115
Joined: Dec 2011
Thanks: 693
Given 494 thank(s) in 423 post(s)
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.
Posts: 6,485
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1075 thank(s) in 852 post(s)
Now I got the same error. Super weird.
Posts: 6,485
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1075 thank(s) in 852 post(s)
Ah, that was a stupid mistake. Fixed now in 838f3dff6685795f90d59f2980d091f111f0180a.