Compiling project erros

Results 1 to 8 of 8
  1. #1
    Account Upgraded | Title Enabled! ponteleymon is offline
    MemberRank
    Jan 2013 Join Date
    276Posts

    Compiling project erros

    compilation object prick gives me why these errors and how to fix them?
    I using Visual Studio 2010 Professional

    Error 2 error C2601: TestSend: invalid local definition of the functions d: \ muservers8zteamupd9 \ source test \ vs2010 \ ex802_source \ source \ protocol.cpp 1456 1 zGameServer
    Error 3 error C2601: MsgSendV2: invalid local definition of the functions d: \ muservers8zteamupd9 \ source test \ vs2010 \ ex802_source \ source \ protocol.cpp 1469 1 zGameServer
    Error 4 error C2601: CGLiveClient: invalid local definition of the functions d: \ muservers8zteamupd9 \ source test \ vs2010 \ ex802_source \ source \ protocol.cpp 1483 1 zGameServer
    Error 5 error C2601: GCCheckMainExeKeySend: invalid local definition of the functions d: \ muservers8zteamupd9 \ source test \ vs2010 \ ex802_source \ source \ protocol.cpp 1518 1 zGameServer
    Error 6 error C2601: EncryptCheckSumKey: invalid local definition of the functions d: \ muservers8zteamupd9 \ source test \ vs2010 \ ex802_source \ source \ protocol.cpp 1530 1 zGameServer
    Error 7 error C2601: CGCheckMainRecv: invalid local definition of the functions d: \ muservers8zteamupd9 \ source test \ vs2010 \ ex802_source \ source \ protocol.cpp 1537 1 zGameServer
    Error 8 error C2601: PEchoProc: invalid local definition of the functions d: \ muservers8zteamupd9 \ source test \ vs2010 \ ex802_source \ source \ protocol.cpp 1567 1 zGameServer
    Error 9 error C2601: GCResultSend: invalid local definition of the functions d: \ muservers8zteamupd9 \ source test \ vs2010 \ ex802_source \ source \ protocol.cpp 1578 1 zGameServer
    Error 10 error C2601: ChatSend: invalid local definition of the functions d: \ muservers8zteamupd9 \ source test \ vs2010 \ ex802_source \ source \ protocol.cpp 1588 1 zGameServer
    Error 11 error C2601: vChatSend: invalid local definition of the functions d: \ muservers8zteamupd9 \ source test \ vs2010 \ ex802_source \ source \ protocol.cpp 1617 1 zGameServer
    Error 12 error C2601: AllSendServerMsg: invalid local definition of the functions d: \ muservers8zteamupd9 \ source test \ vs2010 \ ex802_source \ source \ protocol.cpp 1653 1 zGameServer
    Error 13 error C2601: DataSendAll: invalid local definition of the functions d: \ muservers8zteamupd9 \ source test \ vs2010 \ ex802_source \ source \ protocol.cpp 1671 1 zGameServer
    Error 14 error C2601: ChatTargetSend: invalid local definition of the functions d: \ muservers8zteamupd9 \ source test \ vs2010 \ ex802_source \ source \ protocol.cpp 1685 1 zGameServer
    Error 15 error C2870: Command: namespace definition should be done at the file level or directly to another namespace definition d: \ muservers8zteamupd9 \ source test \ vs2010 \ ex802_source \ source \ commandmanager.h January 21 zGameServer
    Error 16 error C1903: can not recover from previous errors; stop compiling d: \ muservers8zteamupd9 \ source test \ vs2010 \ ex802_source \ source \ commandmanager.h 89 1 zGameServer
    Last edited by Dope Boy One; 30-11-15 at 12:15 AM.


  2. #2
    Trafalgar D. Water Law Dope Boy One is offline
    ModeratorRank
    Jun 2005 Join Date
    HellasLocation
    1,227Posts

    Re: Compiling project erros

    Please next time use prefix [Help] on your topic
    View the Rules of each section you post please,

    [Help] fixed

    Regards Dope.

  3. #3
    Enthusiast brunohkbx is offline
    MemberRank
    Mar 2014 Join Date
    mov ebx,1Location
    30Posts

    Re: Compiling project erros

    C2601 : 'function' : local function definitions are illegalCode tries to define a function within a function.
    Or, there may be an extra brace in your source code before the location of the C2601 error.

    C2870 : 'name' : a namespace definition must appear either at file scope or immediately within another namespace definition

    You defined namespace name incorrectly. Namespaces must be defined at file scope (outside all blocks and classes) or immediately within another namespace.

    C1903 : The compiler found too many errors to continue. Fix the errors and recompile.





  4. #4
    (づ。◕‿‿◕。) Natzugen is offline
    MemberRank
    Jun 2014 Join Date
    ElbelandLocation
    1,858Posts

    Re: Compiling project erros

    if you are using zteam s8 you are supossed to use vs 2008 else you have to make some modifications to make it work in newer versions

  5. #5
    Account Upgraded | Title Enabled! ponteleymon is offline
    MemberRank
    Jan 2013 Join Date
    276Posts

    Re: Compiling project erros

    and this errors

    Warning 1 warning LNK4075: not taken into account "/ INCREMENTAL" because of the specification "/ LTCG" D: \ MuServerS8zTeamUpd9 \ Source Test \ VS2010 \ ex802_Source \ Source \ LINK zGameServer

  6. #6

    Re: Compiling project erros

    use older visual studio or maybe higher than what u got

  7. #7
    Account Upgraded | Title Enabled! ponteleymon is offline
    MemberRank
    Jan 2013 Join Date
    276Posts

    Re: Compiling project erros

    Quote Originally Posted by KarLi View Post
    use older visual studio or maybe higher than what u got
    I use VS 2010 and project vs2010 and what is the problem?

  8. #8
    (づ。◕‿‿◕。) Natzugen is offline
    MemberRank
    Jun 2014 Join Date
    ElbelandLocation
    1,858Posts

    Re: Compiling project erros

    that is not an error, its a warning its a different thing, just dissable warnings in project properties



Advertisement