Hi. For some reason I'm no longer able to compile the sourcemod core with VS 2013 using the later/latest AMTL. Is AMTL no longer supporting this VS version or what could be the problem?
Compiling is working with this version:
https://github.com/alliedmodders/amt...43e6bea1603f65
Error log:
Code:
Build started 2018-02-12 17:12:47.
1>Project "E:\SOURCEMOD\sourcemod_src\src-1.8.0-git6040-windows\core\msvc10\sourcemod_mm.vcxproj" on node 2 (Rebuild target(s)).
1>ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /I..\ /I..\systems /I..\..\public\amtl /I..\public\bridge\include /I..\..\public /I..\..\public\sourcepawn /I"E:\SOURCEMOD\metamod_plugins\hl2sdk-l4d2\public" /I"E:\SOURCEMOD\metamod_plugins\hl2sdk-l4d2\public\engine" /I"E:\SOURCEMOD\metamod_plugins\hl2sdk-l4d2\public\game\server" /I"E:\SOURCEMOD\metamod_plugins\hl2sdk-l4d2\public\mathlib" /I"E:\SOURCEMOD\metamod_plugins\hl2sdk-l4d2\public\tier0" /I"E:\SOURCEMOD\metamod_plugins\hl2sdk-l4d2\public\tier1" /I"E:\SOURCEMOD\metamod_plugins\hl2sdk-l4d2\public\vstdlib" /I"E:\SOURCEMOD\metamod_plugins\mmsource-1.10.6\core" /I"E:\SOURCEMOD\metamod_plugins\mmsource-1.10.6\core\sourcehook" /Zi /nologo /W3 /WX- /MP /O2 /Ot /Oy- /GL /D WIN32 /D NDEBUG /D _WINDOWS /D _USRDLL /D SOURCEMOD_MM_EXPORTS /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D SOURCEMOD_BUILD /D SM_DEFAULT_THREADER /D SOURCE_ENGINE=9 /D _WINDLL /D _MBCS /Gm- /EHsc /MT /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR- /Fo"Release - Left 4 Dead 2\\" /Fd"Release - Left 4 Dead 2\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt /D SE_EPISODEONE=1 /D SE_DARKMESSIAH=2 /D SE_ORANGEBOX=3 /D SE_BLOODYGOODTIME=4 /D SE_EYE=5 /D SE_CSS=6 /D SE_ORANGEBOXVALVE=7 /D SE_LEFT4DEAD=8 /D SE_LEFT4DEAD2=9 /D SE_ALIENSWARM=10 /D SE_PORTAL2=11 /D SE_CSGO=12 ..\ChatTriggers.cpp ..\concmd_cleaner.cpp ..\ConCmdManager.cpp ..\ConsoleDetours.cpp ..\ConVarManager.cpp ..\CoreConfig.cpp ..\EventManager.cpp ..\frame_hooks.cpp ..\GameHooks.cpp ..\HalfLife2.cpp ..\Logger.cpp ..\logic_bridge.cpp ..\MenuManager.cpp ..\MenuStyle_Base.cpp ..\MenuStyle_Radio.cpp ..\MenuStyle_Valve.cpp ..\MenuVoting.cpp ..\NextMap.cpp ..\PlayerManager.cpp ..\sm_autonatives.cpp ..\sm_stringutil.cpp ..\sourcemm_api.cpp ..\sourcemod.cpp ..\TimerSys.cpp ..\UserMessages.cpp ..\smn_bitbuffer.cpp ..\smn_console.cpp ..\smn_entities.cpp ..\smn_events.cpp ..\smn_halflife.cpp ..\smn_hudtext.cpp ..\smn_keyvalues.cpp ..\smn_nextmap.cpp ..\smn_player.cpp ..\smn_usermsgs.cpp ..\smn_vector.cpp
ChatTriggers.cpp
concmd_cleaner.cpp
ConCmdManager.cpp
ConsoleDetours.cpp
1>E:\SOURCEMOD\sourcemod_src\src-1.8.0-git6040-windows\public\sm_stringhashmap.h(113): error C2247: 'ke::SystemAllocatorPolicy::reportOutOfMemory' not accessible because 'ke::HashMap<ke::AString,T,SourceMod::detail::StringHashMapPolicy,ke::SystemAllocatorPolicy>' uses 'private' to inherit from 'ke::SystemAllocatorPolicy'
with
[
T=ConCmdInfo *
] (..\ConCmdManager.cpp)
E:\SOURCEMOD\sourcemod_src\src-1.8.0-git6040-windows\public\amtl/am-allocator-policies.h(42) : see declaration of 'ke::SystemAllocatorPolicy::reportOutOfMemory'
E:\SOURCEMOD\sourcemod_src\src-1.8.0-git6040-windows\public\amtl/am-allocator-policies.h(40) : see declaration of 'ke::SystemAllocatorPolicy'
E:\SOURCEMOD\sourcemod_src\src-1.8.0-git6040-windows\public\sm_stringhashmap.h(108) : while compiling class template member function 'SourceMod::StringHashMap<ConCmdInfo *>::StringHashMap(void)'
..\ConCmdManager.cpp(51) : see reference to function template instantiation 'SourceMod::StringHashMap<ConCmdInfo *>::StringHashMap(void)' being compiled
e:\sourcemod\sourcemod_src\src-1.8.0-git6040-windows\core\ConCmdManager.h(166) : see reference to class template instantiation 'SourceMod::StringHashMap<ConCmdInfo *>' being compiled
ConVarManager.cpp
1>..\ConsoleDetours.cpp(316): error C2039: 'AutoArray' : is not a member of 'ke'
1>..\ConsoleDetours.cpp(316): error C2065: 'AutoArray' : undeclared identifier
1>..\ConsoleDetours.cpp(316): error C2062: type 'char' unexpected
1>..\ConsoleDetours.cpp(318): error C2065: 'str' : undeclared identifier
1>..\ConsoleDetours.cpp(322): error C2065: 'str' : undeclared identifier
1>..\ConsoleDetours.cpp(338): error C2039: 'AutoArray' : is not a member of 'ke'
1>..\ConsoleDetours.cpp(338): error C2065: 'AutoArray' : undeclared identifier
1>..\ConsoleDetours.cpp(338): error C2062: type 'char' unexpected
1>..\ConsoleDetours.cpp(340): error C2065: 'str' : undeclared identifier
CoreConfig.cpp
EventManager.cpp
frame_hooks.cpp
1>E:\SOURCEMOD\sourcemod_src\src-1.8.0-git6040-windows\public\sm_stringhashmap.h(113): error C2247: 'ke::SystemAllocatorPolicy::reportOutOfMemory' not accessible because 'ke::HashMap<ke::AString,T,SourceMod::detail::StringHashMapPolicy,ke::SystemAllocatorPolicy>' uses 'private' to inherit from 'ke::SystemAllocatorPolicy'
with
[
T=ke::AString
] (..\CoreConfig.cpp)
E:\SOURCEMOD\sourcemod_src\src-1.8.0-git6040-windows\public\amtl\am-allocator-policies.h(42) : see declaration of 'ke::SystemAllocatorPolicy::reportOutOfMemory'
E:\SOURCEMOD\sourcemod_src\src-1.8.0-git6040-windows\public\amtl\am-allocator-policies.h(40) : see declaration of 'ke::SystemAllocatorPolicy'
E:\SOURCEMOD\sourcemod_src\src-1.8.0-git6040-windows\public\sm_stringhashmap.h(108) : while compiling class template member function 'SourceMod::StringHashMap<ke::AString>::StringHashMap(void)'
..\CoreConfig.cpp(125) : see reference to function template instantiation 'SourceMod::StringHashMap<ke::AString>::StringHashMap(void)' being compiled
e:\sourcemod\sourcemod_src\src-1.8.0-git6040-windows\core\CoreConfig.h(71) : see reference to class template instantiation 'SourceMod::StringHashMap<ke::AString>' being compiled
GameHooks.cpp
HalfLife2.cpp
Logger.cpp
logic_bridge.cpp
MenuManager.cpp
1>..\HalfLife2.cpp(1208): warning C4018: '<' : signed/unsigned mismatch
MenuStyle_Base.cpp
MenuStyle_Radio.cpp
MenuStyle_Valve.cpp
MenuVoting.cpp
NextMap.cpp
PlayerManager.cpp
sm_autonatives.cpp
sm_stringutil.cpp
sourcemm_api.cpp
sourcemod.cpp
TimerSys.cpp
UserMessages.cpp
smn_bitbuffer.cpp
smn_console.cpp
smn_entities.cpp
1>E:\SOURCEMOD\sourcemod_src\src-1.8.0-git6040-windows\public\sm_stringhashmap.h(113): error C2247: 'ke::SystemAllocatorPolicy::reportOutOfMemory' not accessible because 'ke::HashMap<ke::AString,T,SourceMod::detail::StringHashMapPolicy,ke::SystemAllocatorPolicy>' uses 'private' to inherit from 'ke::SystemAllocatorPolicy'
with
[
T=int
] (..\UserMessages.cpp)
E:\SOURCEMOD\sourcemod_src\src-1.8.0-git6040-windows\public\amtl\am-allocator-policies.h(42) : see declaration of 'ke::SystemAllocatorPolicy::reportOutOfMemory'
E:\SOURCEMOD\sourcemod_src\src-1.8.0-git6040-windows\public\amtl\am-allocator-policies.h(40) : see declaration of 'ke::SystemAllocatorPolicy'
E:\SOURCEMOD\sourcemod_src\src-1.8.0-git6040-windows\public\sm_stringhashmap.h(108) : while compiling class template member function 'SourceMod::StringHashMap<int>::StringHashMap(void)'
..\UserMessages.cpp(57) : see reference to function template instantiation 'SourceMod::StringHashMap<int>::StringHashMap(void)' being compiled
e:\sourcemod\sourcemod_src\src-1.8.0-git6040-windows\core\UserMessages.h(156) : see reference to class template instantiation 'SourceMod::StringHashMap<int>' being compiled
smn_events.cpp
smn_halflife.cpp
smn_hudtext.cpp
smn_keyvalues.cpp
smn_nextmap.cpp
smn_player.cpp
smn_usermsgs.cpp
smn_vector.cpp
1>Done Building Project "E:\SOURCEMOD\sourcemod_src\src-1.8.0-git6040-windows\core\msvc10\sourcemod_mm.vcxproj" (Rebuild target(s)) -- FAILED.
Build FAILED.
Time Elapsed 00:00:30.15