I'm having some trouble compiling the SAM open source SSC. I'm working with Visual Studio Community Edition 2017, updated to the latest version today, in Windows 10. I followed the instructions from the Wiki all along, successfully compiled wxWidgets, GoogleTest, lk, and wex. The SSC Solution compiles up through solarpilot. On solarpilot I get the following two compile errors:
Severity Code Description Project File Line Suppression State
Error C2664 'const _Kty &std::_Umap_traits<_Kty,_Ty,std::_Uhash_compare<_Kty,_Hasher,_Keyeq>,_Alloc,false>::_Kfn<const _Kty,_Ty>(const std::pair<const _Kty,_Ty> &)': cannot convert argument 1 from 'std::pair<const _Kty,_Ty>' to 'const std::pair<const _Kty,_Ty> &' solarpilot d:\programfiles\visual studio community 2017\vc\tools\msvc.13.26128\include\xhash 658
Severity Code Description Project File Line Suppression State
Error C2664 'const _Kty &std::_Umap_traits<_Kty,_Ty,std::_Uhash_compare<_Kty,_Hasher,_Keyeq>,_Alloc,false>::_Kfn<const _Kty,_Ty>(const std::pair<const _Kty,_Ty> &)': cannot convert argument 1 from 'std::pair<const _Kty,_Ty>' to 'const std::pair<const _Kty,_Ty> &' solarpilot d:\programfiles\visual studio community 2017\vc\tools\msvc.13.26128\include\xhash 660
I've attached the output from the compiler, which may be more instructive. It appears that it comes from autopilot_api.cpp.
I have to admit that I'm not C++ savvy enough to completely understand this error, and so I'm finding that I'm a little stuck. Can anybody help me so that I can continue the compile?