Skip to content

Instantly share code, notes, and snippets.

@jtanx
Created March 30, 2016 11:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jtanx/d62c55137435e85f149c1538bd4924ac to your computer and use it in GitHub Desktop.
Save jtanx/d62c55137435e85f149c1538bd4924ac to your computer and use it in GitHub Desktop.
Visual Studio 2015 fix missing libcpmt.lib/libcpmtd.lib

This fixes linking when using the v120 toolset.

You will need to download the installation files for Visual Studio 2013. This link should work: https://www.microsoft.com/en-au/download/details.aspx?id=44914 (download the ISO)

Note that you don't have to install Visual Studio 2013.

  1. Extract the contents of D:\packages\vc_libraryDesktop\x86\vc_LibraryDesktopX86.msi and D:\packages\vc_libraryDesktop\x64\vc_LibraryDesktopX64.msi. Use something like the Universal Extractor.
  2. Copy the contents into C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\lib and C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\lib\amd64 respectively.
@BroVic
Copy link

BroVic commented Jun 2, 2017

I have both VS 2013 and 2015 installed. I am using the v120 toolset. What am I missing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment