abma wrote:does compile work when compiling the target spring only? (which doesn't compile spring-headless/spring-dedicated)
No. However some of it can be easily fix though by editing spring files.
is sdl detected probably?
It been detected at cmake configure, yet SOMEHOW it lost track of that and uses it's internal SDL.
also, whats the error message? more verbose info would be useful...
It's multiple error messages. One of which I had write the
Code: Select all
add_definitions(-D_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS)
So it will shut up about it, until it's been replace by c++11 header equivalent.
Code: Select all
Severity Code Description Project File Line
Error C1189 #error: You should run hg revert SDL_config.h engineaGui c:\users\alex\desktop\spring-master\spring\include\sdl2\SDL_config.h 37
Error C1189 #error: You should run hg revert SDL_config.h engineaGui c:\users\alex\desktop\spring-master\spring\include\sdl2\SDL_config.h 37
Error C1189 #error: You should run hg revert SDL_config.h engineaGui c:\users\alex\desktop\spring-master\spring\include\sdl2\SDL_config.h 37
Error C1189 #error: You should run hg revert SDL_config.h engineaGui c:\users\alex\desktop\spring-master\spring\include\sdl2\SDL_config.h 37
Error C1189 #error: You should run hg revert SDL_config.h engineaGui c:\users\alex\desktop\spring-master\spring\include\sdl2\SDL_config.h 37
Error C1189 #error: You should run hg revert SDL_config.h engineaGui c:\users\alex\desktop\spring-master\spring\include\sdl2\SDL_config.h 37
Error C1189 #error: You should run hg revert SDL_config.h engineaGui c:\users\alex\desktop\spring-master\spring\include\sdl2\SDL_config.h 37
Error C1189 #error: You should run hg revert SDL_config.h engineaGui c:\users\alex\desktop\spring-master\spring\include\sdl2\SDL_config.h 37
Error C1189 #error: You should run hg revert SDL_config.h engineaGui c:\users\alex\desktop\spring-master\spring\include\sdl2\SDL_config.h 37
Error C1189 #error: You should run hg revert SDL_config.h engineaGui c:\users\alex\desktop\spring-master\spring\include\sdl2\SDL_config.h 37
Error C1189 #error: You should run hg revert SDL_config.h unitsync c:\users\alex\desktop\spring-master\spring\include\sdl2\SDL_config.h 37
Error C2259 'AAirMoveType': cannot instantiate abstract class engineSim C:\Users\Alex\Desktop\spring-master\spring\rts\Sim\MoveTypes\AAirMoveType.cpp 15
Error C2259 'AMoveType': cannot instantiate abstract class engineSim C:\Users\Alex\Desktop\spring-master\spring\rts\Sim\MoveTypes\MoveType.cpp 16
Error C2085 'APIENTRY': not in formal parameter list headlessStubs C:\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h 1157
Error C2259 'CExpGenSpawnable': cannot instantiate abstract class engineSim C:\Users\Alex\Desktop\spring-master\spring\rts\Sim\Projectiles\ExplosionGenerator.cpp 41
Error C2259 'CReadMap': cannot instantiate abstract class engine-legacy C:\Users\Alex\Desktop\spring-master\spring\rts\Map\ReadMap.cpp 66
Error C4716 'CriticalSection::try_lock': must return a value engine-legacy c:\users\alex\desktop\spring-master\spring\rts\system\threading\criticalsection.cpp 27
Error C4716 'CriticalSection::try_lock': must return a value unitsync c:\users\alex\desktop\spring-master\spring\rts\system\threading\criticalsection.cpp 27
Error C2259 'CWaitCommandsAI::Wait': cannot instantiate abstract class engine-legacy C:\Users\Alex\Desktop\spring-master\spring\rts\Game\WaitCommandsAI.cpp 42
Error C2259 'IExplosionGenerator': cannot instantiate abstract class engineSim C:\Users\Alex\Desktop\spring-master\spring\rts\Sim\Projectiles\ExplosionGenerator.cpp 44
Error C2718 'Threading::AtomicCounterInt64': actual parameter with requested alignment of 8 won't be aligned lua C:\Users\Alex\Desktop\spring-master\spring\rts\lib\lua\include\LuaUser.cpp 193
Error C1083 Cannot open include file: 'ft2build.h': No such file or directory engine-legacy C:\Users\Alex\Desktop\spring-master\spring\rts\Rendering\Fonts\CFontTexture.cpp 14
Error C2124 divide or mod by zero streflop C:\Users\Alex\Desktop\spring-master\spring\rts\lib\streflop\SMath.cpp 9
Error C2054 expected '(' to follow 'WINGDIAPI' headlessStubs C:\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h 1157
Error C2131 expression did not evaluate to a constant engine-legacy C:\Users\Alex\Desktop\spring-master\spring\rts\System\FileSystem\RapidHandler.cpp 52
Error C2131 expression did not evaluate to a constant unitsync C:\Users\Alex\Desktop\spring-master\spring\rts\System\FileSystem\RapidHandler.cpp 52
Error C2338 va_start argument must not have reference type and must not be parenthesized (compiling source file C:\Users\Alex\Desktop\spring-master\spring\rts\Rendering\Fonts\glFont.cpp) engine-legacy C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\vadefs.h 145