LINK: fatal error LNK1104: can not open file "libcpmt.lib"

When configuring vscode the MSVC compiler environment:

Cheap hand in launch.json configuration file to add options of the LIB env option,
then I will delete the corresponding option is resolved

Lessons learned:

  1. As long as you do not have to delete the file, lib file will not easily lost
  2. Most of the reason is that you did not tell him where to find
  3. So step by step from vdcode -> System Variables -> original folder hierarchy to adhere to system variables to overwrite it
  4. Do not do it
  5. To maintain the principle of non-invasive when modifying the configuration file,
    1. Do not add additional configuration when not in effect
    2. Kept clean, there is no logic to control not clear
Published 24 original articles · won praise 23 · views 10000 +

Guess you like

Origin blog.csdn.net/TowerOs/article/details/104211564