I'm building a project in VS2015 that uses 3rd party libraries. The 3rd party library I'm using is supposed to be VS2015 (x64) compatible, so it should be compatible with my project. My project settings also have "Ignore Default Libraries" set to NO.
Everything builds find except for a linker error I get right at the end, caused by the 3rd party library:
LNK2001 unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" (__imp_?_Winerror_map@std@@YAPEBDH@Z)
I have no idea which .lib this "_Winerror_map" function is contained in, but I've managed to track down the source code location:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\crt\src\stl\sysError.cpp
I tried simply including that file in my project, but I get the following error:
Error C2491 'std::_Winerror_map': definition of dllimport function not allowed
How do I figure out which default lib this source file was included in?