LINK: fatal error LNK 1104: cannot open file 'LIBCMT.lib'

后端 未结 7 1531
情深已故
情深已故 2021-01-08 00:31

Please help, I have spent all day trying to make my c++ app compile.

My project contains one source file: Foo.cpp. Here is its code:

#include 

        
相关标签:
7条回答
  • 2021-01-08 01:14

    I suspect the command prompt you are using to run the compiler does not have all the required environment variables defined.

    To make sure the command line environment is correctly configured make sure you have run the vsvars32.bat batch file.

    0 讨论(0)
提交回复
热议问题