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.



Messages In This Thread
[No subject] - by fantasymerlin - 12-29-2015, 12:17 PM
[No subject] - by ZaTii - 12-29-2015, 01:37 PM
[No subject] - by fantasymerlin - 12-29-2015, 01:52 PM
[No subject] - by ZaTii - 12-29-2015, 01:56 PM
[No subject] - by fantasymerlin - 12-29-2015, 06:49 PM
[No subject] - by Nikolee - 12-29-2015, 07:28 PM
[No subject] - by fantasymerlin - 12-29-2015, 07:36 PM
[No subject] - by ZaTii - 12-29-2015, 08:21 PM
[No subject] - by fantasymerlin - 12-29-2015, 08:54 PM
[No subject] - by ZaTii - 12-29-2015, 10:52 PM
[No subject] - by fantasymerlin - 12-29-2015, 11:05 PM
[No subject] - by Sutz - 01-01-2016, 01:18 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)