For the poor souls out there who are struggling with this, after an hour of research I found a solution for my Visual Studio Enterprise 2017:
First, lets find where is your library file located:
With windows explorer, go to your directory where Visual Studio is installed, (default: C:Program Files (x86)Microsoft Visual Studio) and do a search for msvcrtd.lib
I found mine to be in here:
C:Program Files (x86)Microsoft Visual Studio2017EnterpriseVCToolsMSVC14.15.26726libonecorex86
Quick Fix (for one project only):
- Right click on your project, click on properties, navigate to Linker, add that path to Additional Library Directories
Permanent Fix (for all projects)
- Open a project
- navigate to View > Property Manager (it could be under Other Windows)
- Expand all folders and multi select all "Microsoft.cpp.Win32.user" & "Microsoft.cpp.64.user"
- Right click and go to properties
Navigate to VC++ Directories
Add the path to default Library Directories
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…