Hi, i wanted to write something leaning on vc - mp, but i have problem with compilation of source code. I made all according to readme (i get RakNet networking library), but i get errors during compilation. I did not alter in source anything yet. Only things from readme. I use Visual Studio 6.0 and for example i get this errors:
| QUOTE |
C:\vcmp-src-01c\server\vehicle.cpp(108) : error C2661: 'RPC' : no overloaded function takes 8 parameters C:\vcmp-src-01c\server\netrpc.cpp(408) : error C2664: 'RegisterAsRemoteProcedureCall' : cannot convert parameter 2 from 'void (char *,int,struct PlayerID)' to 'void (__cdecl *)(struct RPCParameters *)' None of the functions with this name in scope match the target type C:\vcmp-src-01c\raknet\RakServer.cpp(449) : error C2562: 'AttachMessageHandler' : 'void' function returning a value c:\vcmp-src-01c\raknet\rakserver.h(388) : see declaration of 'AttachMessageHandler' |
I depend on your help