Compiling blue eclipse

0BE4

Active member
Joined
Jan 15, 2017
Messages
124
Reaction score
2
*Sorry for the duplicate but that thread was in the wrong section + 3 days now and no one replied...*

Hello there guys.... can you help me compile blue eclipse?? whenever i try compiling it visual studio 2017 asks me to "Parse" it when i accept i get 1067+ error(Include missing headers and missing semicolons to undefined stuff).. i hope anyone here could help ::) thanks in advance :)
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
271
Could be VS 2017, post some of the errors, not much to go on.
AFAIK it requires some custom ssl libs for something.
 

0BE4

Active member
Joined
Jan 15, 2017
Messages
124
Reaction score
2
Okay i fixed like 2000 errors...

55 errors left...
This is a list of the 55 errors:
Severity Code Description Project File Line Suppression State
Error C2011 'SharedUtil::SColorRGBA': 'class' type redefinition mod_sa d:\blue eclipse\src\SharedUtil.h 174
Error (active) E1574 static assertion failed with "<hash_map> is deprecated and will be REMOVED. Please use <unordered_map>. You can define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS to acknowledge that you have received this warning." mod_sa c:\Program Files (x86)\Microsoft Visual Studio\Shared\14.0\VC\include\hash_map 14
Error (active) E0266 "RGBA" is ambiguous mod_sa d:\blue eclipse\src\game_sa\CVehicleSA.h 507
Error (active) E0266 "RGBA" is ambiguous mod_sa d:\blue eclipse\src\game_sa\CVehicleSA.h 686
Error (active) E0266 "RGBA" is ambiguous mod_sa d:\blue eclipse\src\game_sa\CVehicleSA.h 687
Error (active) E0266 "RGBA" is ambiguous mod_sa d:\blue eclipse\src\game_sa\game\CVehicle.h 204
Error (active) E0266 "RGBA" is ambiguous mod_sa d:\blue eclipse\src\game_sa\game\CVehicle.h 205
Error (active) E0036 the #if for this directive is missing mod_sa d:\blue eclipse\src\main.h 278
Error (active) E0311 cannot overload functions distinguished by return type alone mod_sa d:\blue eclipse\src\SharedUtil.h 44
Error (active) E0311 cannot overload functions distinguished by return type alone mod_sa d:\blue eclipse\src\SharedUtil.h 195
Error (active) E0311 cannot overload functions distinguished by return type alone mod_sa d:\blue eclipse\src\SharedUtil.h 196
Error (active) E0311 cannot overload functions distinguished by return type alone mod_sa d:\blue eclipse\src\SharedUtil.h 197
Error C2011 'SString': 'class' type redefinition mod_sa d:\blue eclipse\src\SString.h 28
Error C2995 'T SharedUtil::Min(const T &,const T &)': function template has already been defined mod_sa d:\blue eclipse\src\SharedUtil.h 74
Error C2995 'T SharedUtil::Max(const T &,const T &)': function template has already been defined mod_sa d:\blue eclipse\src\SharedUtil.h 80
Error C2995 'T SharedUtil::Clamp(const T &,const T &,const T &)': function template has already been defined mod_sa d:\blue eclipse\src\SharedUtil.h 87
Error C2995 'T SharedUtil::Lerp(T &,float,T &)': function template has already been defined mod_sa d:\blue eclipse\src\SharedUtil.h 94
Error C2084 function 'const float SharedUtil::Unlerp(const double,const double,const double)' already has a body mod_sa d:\blue eclipse\src\SharedUtil.h 98
Error C2084 function 'const float SharedUtil::UnlerpClamped(const double,const double,const double)' already has a body mod_sa d:\blue eclipse\src\SharedUtil.h 107
Error C2995 'int SharedUtil::Round(T)': function template has already been defined mod_sa d:\blue eclipse\src\SharedUtil.h 115
Error C2011 'SharedUtil::SColor': 'class' type redefinition mod_sa d:\blue eclipse\src\SharedUtil.h 125
Error C2011 'SharedUtil::SColorARGB': 'class' type redefinition mod_sa d:\blue eclipse\src\SharedUtil.h 159
Error C2084 function 'unsigned char SharedUtil::COLOR_RGBA_R(SharedUtil::SColor)' already has a body mod_sa d:\blue eclipse\src\SharedUtil.h 189
Error C2027 use of undefined type 'SharedUtil::SColor' mod_sa d:\blue eclipse\src\SharedUtil.h 189
Error C2228 left of '.R' must have class/struct/union mod_sa d:\blue eclipse\src\SharedUtil.h 189
Error C2084 function 'unsigned char SharedUtil::COLOR_RGBA_G(SharedUtil::SColor)' already has a body mod_sa d:\blue eclipse\src\SharedUtil.h 190
Error C2027 use of undefined type 'SharedUtil::SColor' mod_sa d:\blue eclipse\src\SharedUtil.h 190
Error C2228 left of '.G' must have class/struct/union mod_sa d:\blue eclipse\src\SharedUtil.h 190
Error C2084 function 'unsigned char SharedUtil::COLOR_RGBA_B(SharedUtil::SColor)' already has a body mod_sa d:\blue eclipse\src\SharedUtil.h 191
Error C2027 use of undefined type 'SharedUtil::SColor' mod_sa d:\blue eclipse\src\SharedUtil.h 191
Error C2228 left of '.B' must have class/struct/union mod_sa d:\blue eclipse\src\SharedUtil.h 191
Error C2084 function 'unsigned char SharedUtil::COLOR_RGBA_A(SharedUtil::SColor)' already has a body mod_sa d:\blue eclipse\src\SharedUtil.h 192
Error C2027 use of undefined type 'SharedUtil::SColor' mod_sa d:\blue eclipse\src\SharedUtil.h 192
Error C2228 left of '.A' must have class/struct/union mod_sa d:\blue eclipse\src\SharedUtil.h 192
Error C2084 function 'unsigned char SharedUtil::COLOR_ARGB_A(SharedUtil::SColor)' already has a body mod_sa d:\blue eclipse\src\SharedUtil.h 193
Error C2027 use of undefined type 'SharedUtil::SColor' mod_sa d:\blue eclipse\src\SharedUtil.h 193
Error C2228 left of '.A' must have class/struct/union mod_sa d:\blue eclipse\src\SharedUtil.h 193
Error C2084 function 'SharedUtil::SColor SharedUtil::COLOR_RGBA(unsigned char,unsigned char,unsigned char,unsigned char)' already has a body mod_sa d:\blue eclipse\src\SharedUtil.h 195
Error C2027 use of undefined type 'SharedUtil::SColor' mod_sa d:\blue eclipse\src\SharedUtil.h 195
Error C2027 use of undefined type 'SharedUtil::SColorRGBA' mod_sa d:\blue eclipse\src\SharedUtil.h 195
Error C2084 function 'SharedUtil::SColor SharedUtil::COLOR_ARGB(unsigned char,unsigned char,unsigned char,unsigned char)' already has a body mod_sa d:\blue eclipse\src\SharedUtil.h 196
Error C2027 use of undefined type 'SharedUtil::SColor' mod_sa d:\blue eclipse\src\SharedUtil.h 196
Error C2027 use of undefined type 'SharedUtil::SColorRGBA' mod_sa d:\blue eclipse\src\SharedUtil.h 196
Error C2084 function 'SharedUtil::SColor SharedUtil::COLOR_ABGR(unsigned char,unsigned char,unsigned char,unsigned char)' already has a body mod_sa d:\blue eclipse\src\SharedUtil.h 197
Error C2027 use of undefined type 'SharedUtil::SColor' mod_sa d:\blue eclipse\src\SharedUtil.h 197
Error C2027 use of undefined type 'SharedUtil::SColorRGBA' mod_sa d:\blue eclipse\src\SharedUtil.h 197
Error C2011 'SharedUtil::CCriticalSection': 'class' type redefinition mod_sa d:\blue eclipse\src\SharedUtil.h 204
Error C2079 'CVehicleSA::m_HeadLightColor' uses undefined class 'SharedUtil::SColor' mod_sa d:\blue eclipse\src\game_sa\CVehicleSA.h 507
Error C2027 use of undefined type 'SharedUtil::SColor' mod_sa d:\blue eclipse\src\game_sa\CVehicleSA.h 686
Error C2027 use of undefined type 'SharedUtil::SColor' mod_sa d:\blue eclipse\src\game_sa\CVehicleSA.h 687
Error C2338 <hash_map> is deprecated and will be REMOVED. Please use <unordered_map>. You can define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS to acknowledge that you have received this warning. mod_sa C:\Program Files (x86)\Microsoft Visual Studio\Shared\14.0\VC\include\hash_map 17
Error C2079 'CCheckpointSAInterface::rwColour' uses undefined class 'SharedUtil::SColor' mod_sa d:\blue eclipse\src\game_sa\CCheckpointSA.h 27
Error C2079 'C3DMarkerSAInterface::rwColour' uses undefined class 'SharedUtil::SColor' mod_sa d:\blue eclipse\src\game_sa\C3DMarkerSA.h 36
Error C2006 '#include': expected a filename, found 'user-defined string literal' mod_sa d:\blue eclipse\src\main.h 191
Error C1083 Cannot open include file: '': No such file or directory mod_sa d:\blue eclipse\src\main.h 191

@springfield
 

jx455

Member
Joined
Feb 4, 2017
Messages
9
Reaction score
1
In sparsehash\windows\config.h:
spraseconfig.h: replace #define HASH_FUN_H <hash_map> with #define HASH_FUN_H <unordered_map> That should at least fix 1 error.
 

0x32789

Expert
Joined
May 26, 2014
Messages
849
Reaction score
51
Location
LongForgotten <-> 0x32789
fix the redefinition errors (total 5) by removing the defines or variables once, redefinition occurs when compiler detects twice or more declarations of variable or a define.
 

0BE4

Active member
Joined
Jan 15, 2017
Messages
124
Reaction score
2
Can you send me the "Ready to be compiled" project where you already fixed these errors so all i would have to do is download directx dev kit... errors are so much fix one get a thousand... @springfield
 
Top