Error at Compile of EngineGUI
#1

I tried to compile the EngineGUI and I get this error...

 

1>  _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
1>E:\Sources\SRCDesign\Engine/Effect/CTag.h(73): warning C4996: 'strupr': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strupr. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(252) : see declaration of 'strupr'
1>E:\Sources\SRCDesign\Engine/Effect/CTag.h(74): warning C4996: 'strupr': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strupr. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(252) : see declaration of 'strupr'
 

 

At the first with "_WIN32_WINNT not defined I don´t kno what ist to do there? What I have to do there or it is okey that he use the Default to _WIN32_WINNT_MAXVER. If this isn´t right what I have to do at this point?

 

 

I tried to write into the CTag.h to replace 'strupr' to '_strupr'

After that he says that I have to use '_strupr_s'. But If I replace it to this string vs2010 get an error again.

 

 

After I include "LCCRC32.h" from Server/ShareLib or from SRCDESIGN/Include I get more errors...

 

1>e:\sources\srcdesign\common\packet\ptype_char_status.h(504): error C2653: 'CNetMsg' : is not a class or namespace name
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(504): error C2065: 'SP' : undeclared identifier
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(504): error C2065: 'msg' : undeclared identifier
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(504): error C2062: type 'int' unexpected
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(505): error C2143: syntax error : missing ';' before '{'
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(505): error C2447: '{' : missing function header (old-style formal list?)
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(514): error C2653: 'CNetMsg' : is not a class or namespace name
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(514): error C2065: 'SP' : undeclared identifier
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(514): error C2065: 'msg' : undeclared identifier
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(514): error C2062: type 'unsigned char' unexpected
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(515): error C2143: syntax error : missing ';' before '{'
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(515): error C2447: '{' : missing function header (old-style formal list?)
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(523): error C2653: 'CNetMsg' : is not a class or namespace name
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(523): error C2065: 'SP' : undeclared identifier
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(523): error C2065: 'msg' : undeclared identifier
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(523): error C2062: type 'int' unexpected
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(524): error C2143: syntax error : missing ';' before '{'
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(524): error C2447: '{' : missing function header (old-style formal list?)
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(531): error C2653: 'CNetMsg' : is not a class or namespace name
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(531): error C2065: 'SP' : undeclared identifier
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(531): error C2065: 'msg' : undeclared identifier
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(531): error C2062: type 'int' unexpected
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(532): error C2143: syntax error : missing ';' before '{'
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(532): error C2447: '{' : missing function header (old-style formal list?)
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(542): error C2653: 'CNetMsg' : is not a class or namespace name
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(542): error C2065: 'SP' : undeclared identifier
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(542): error C2065: 'msg' : undeclared identifier
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(542): error C2062: type 'int' unexpected
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(543): error C2143: syntax error : missing ';' before '{'
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(543): error C2447: '{' : missing function header (old-style formal list?)
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(551): error C2653: 'CNetMsg' : is not a class or namespace name
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(551): error C2065: 'SP' : undeclared identifier
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(551): error C2065: 'msg' : undeclared identifier
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(551): error C2062: type 'int' unexpected
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(552): error C2143: syntax error : missing ';' before '{'
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(552): error C2447: '{' : missing function header (old-style formal list?)
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(560): error C2653: 'CNetMsg' : is not a class or namespace name
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(560): error C2065: 'SP' : undeclared identifier
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(560): error C2065: 'msg' : undeclared identifier
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(560): error C2062: type 'int' unexpected
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(561): error C2143: syntax error : missing ';' before '{'
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(561): error C2447: '{' : missing function header (old-style formal list?)
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(570): error C2653: 'CNetMsg' : is not a class or namespace name
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(570): error C2065: 'SP' : undeclared identifier
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(570): error C2065: 'msg' : undeclared identifier
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(571): error C2448: 'GuildRoomRecallRequestMsg' : function-style initializer appears to be a function definition
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(219): error C2653: 'CNetMsg' : is not a class or namespace name
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(219): error C2065: 'SP' : undeclared identifier
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(219): error C2065: 'msg' : undeclared identifier
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(219): error C2275: 'LONGLONG' : illegal use of this type as an expression
1>          C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winnt.h(645) : see declaration of 'LONGLONG'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(219): error C2146: syntax error : missing ')' before identifier 'nas'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(219): error C2182: 'makeFirstMoney' : illegal use of type 'void'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(219): error C2433: 'makeFirstMoney' : 'inline' not permitted on data declarations
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(219): error C2078: too many initializers
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(219): error C2275: 'LONGLONG' : illegal use of this type as an expression
1>          C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winnt.h(645) : see declaration of 'LONGLONG'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(219): error C2059: syntax error : ')'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(220): error C2143: syntax error : missing ';' before '{'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(220): error C2447: '{' : missing function header (old-style formal list?)
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(229): error C2653: 'CNetMsg' : is not a class or namespace name
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(229): error C2065: 'SP' : undeclared identifier
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(229): error C2065: 'msg' : undeclared identifier
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(229): error C2275: 'LONGLONG' : illegal use of this type as an expression
1>          C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winnt.h(645) : see declaration of 'LONGLONG'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(229): error C2146: syntax error : missing ')' before identifier 'nas'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(229): error C2182: 'makeFirstMoneyInStash' : illegal use of type 'void'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(229): error C2433: 'makeFirstMoneyInStash' : 'inline' not permitted on data declarations
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(229): error C2078: too many initializers
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(229): error C2275: 'LONGLONG' : illegal use of this type as an expression
1>          C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winnt.h(645) : see declaration of 'LONGLONG'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(229): error C2059: syntax error : ')'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(230): error C2143: syntax error : missing ';' before '{'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(230): error C2447: '{' : missing function header (old-style formal list?)
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(239): error C2653: 'CNetMsg' : is not a class or namespace name
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(239): error C2065: 'SP' : undeclared identifier
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(239): error C2065: 'msg' : undeclared identifier
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(239): error C2275: 'LONGLONG' : illegal use of this type as an expression
1>          C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winnt.h(645) : see declaration of 'LONGLONG'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(239): error C2146: syntax error : missing ')' before identifier 'nas'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(239): error C2182: 'makeUpdateMoney' : illegal use of type 'void'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(239): error C2433: 'makeUpdateMoney' : 'inline' not permitted on data declarations
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(239): error C2078: too many initializers
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(239): error C2275: 'LONGLONG' : illegal use of this type as an expression
1>          C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winnt.h(645) : see declaration of 'LONGLONG'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(239): error C2059: syntax error : ')'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(240): error C2143: syntax error : missing ';' before '{'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(240): error C2447: '{' : missing function header (old-style formal list?)
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(249): error C2653: 'CNetMsg' : is not a class or namespace name
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(249): error C2065: 'SP' : undeclared identifier
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(249): error C2065: 'msg' : undeclared identifier
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(249): error C2275: 'LONGLONG' : illegal use of this type as an expression
1>          C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winnt.h(645) : see declaration of 'LONGLONG'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(249): error C2146: syntax error : missing ')' before identifier 'nas'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(249): error C2182: 'makeUpdateMoneyInStash' : illegal use of type 'void'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(249): error C2433: 'makeUpdateMoneyInStash' : 'inline' not permitted on data declarations
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(249): error C2078: too many initializers
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(249): error C2275: 'LONGLONG' : illegal use of this type as an expression
1>          C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winnt.h(645) : see declaration of 'LONGLONG'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(249): error C2059: syntax error : ')'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(250): error C2143: syntax error : missing ';' before '{'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(250): error C2447: '{' : missing function header (old-style formal list?)
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(259): error C2653: 'CNetMsg' : is not a class or namespace name
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(259): error C2065: 'SP' : undeclared identifier
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(259): error C2065: 'msg' : undeclared identifier
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(259): error C2062: type 'int' unexpected
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(260): error C2143: syntax error : missing ';' before '{'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(260): error C2447: '{' : missing function header (old-style formal list?)
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(269): error C2653: 'CNetMsg' : is not a class or namespace name
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(269): fatal error C1003: error count exceeds 100; stopping compilation

 

 

What I have to do now to fix this error?

 

Thank you very much for your help.

#2
EngineGUI is just used for the World editor so u dont really need to compile it. for the parts thats gives the error just define that its not used.

#3

ok. Yes its right. I know I Can disable the World Editor. But what I Need only for the Client. Because there Are for example the GameGui too and there is The same.

 

Do I Need only Engine, Game, Nksp and shaders for Client?

 

or what for parts I Need for a Client which Works correctly?

 

There Are to many parts in the project and I dont see it what i really Need. Maybe I dont need all which are the same Problem as above?

 

thank You very much

#4


ok. Yes its right. I know I Can disable the World Editor. But what I Need only for the Client. Because there Are for example the GameGui too and there is The same.

 

Do I Need only Engine, Game, Nksp and shaders for Client?

 

or what for parts I Need for a Client which Works correctly?

 

There Are to many parts in the project and I dont see it what i really Need. Maybe I dont need all which are the same Probleme as above?

 

thank You very much

 

Engine, EntitiesMP, GameMP, Nksp, Shader if i'm not wrong.

#5

Ok that is then the Project "Build2010".

 

If I want to disable XTrap then I have to comment with // at this "//#define XTRAP_SECURE_CKBANG_2010_07_20    // 2010-07-20 ¹æÃ¢±Ô - XTrap º¸¾È ¼Ö·ç¼Ç Àû¿ë" in the File Define_xxx.h?

 

Or is there a another File which I have to disable, too?

#6
I think u will need to remove the IP-Check in the engine, i cant remember know which file it was, just search in the code and comment it out.

#7

I think u will need to remove the IP-Check in the engine, i cant remember know which file it was, just search in the code and comment it out.

 

Yes that I want to disable. Whith wich search text I have to search for it?

#8

Yes that I want to disable. Whith wich search text I have to search for it?

 

u dont need to disable u can also change the defined ip. Search for the ip from an official server.

#9

u dont need to disable u can also change the defined ip. Search for the ip from an official server.

 

Okey. I have found some IP-Addresses in a File named CommunicationInterface.cpp. There are many IPs for many Countries.

 

For example:

 

TempIP.SetIP( 178, 19, 73, 77, GERMANY);    // GER_Live : 195.245.86.71

        m_vecIPFilter.push_back( TempIP );

 

        TempIP.SetIP( 178, 19, 73, 92, GERMANY);    // GET_Test : 195.245.86.82

        m_vecIPFilter.push_back( TempIP );

 

        TempIP.SetIP( 178, 19, 73, 91, GERMANY);    // GET_Test : 195.245.86.82

        m_vecIPFilter.push_back( TempIP );

 

        if (FindHosNameIP("test2.it.lc.gamigo.com", TempIP, ITALY) == true)

            m_vecIPFilter.push_back( TempIP );

 

Is it these??? It seems to be that. Maybe I have write instead the ip-Adress _Live = live and set FindHosNameIP to == false ???

 

And now I have to replace the IP-Adresses. What I have to write there if I want to have not set a ip and that the engine read it out from sl.dta etc?

#10


Okey. I have found some IP-Addresses in a File named CommunicationInterface.cpp. There are many IPs for many Countries.

 

For example:

 

TempIP.SetIP( 178, 19, 73, 77, GERMANY);    // GER_Live : 195.245.86.71

        m_vecIPFilter.push_back( TempIP );

 

        TempIP.SetIP( 178, 19, 73, 92, GERMANY);    // GET_Test : 195.245.86.82

        m_vecIPFilter.push_back( TempIP );

 

        TempIP.SetIP( 178, 19, 73, 91, GERMANY);    // GET_Test : 195.245.86.82

        m_vecIPFilter.push_back( TempIP );

 

        if (FindHosNameIP("test2.it.lc.gamigo.com", TempIP, ITALY) == true)

            m_vecIPFilter.push_back( TempIP );

 

Is it these??? It seems to be that. Maybe I have write instead the ip-Adress _Live = live and set FindHosNameIP to == false ???

 

And now I have to replace the IP-Adresses. What I have to write there if I want to have not set a ip and that the engine read it out from sl.dta etc?

 

 

The current client read still from the sl data.



Forum Jump:


Users browsing this thread: 1 Guest(s)