Home  >  Q&A  >  body text

POCO C++ 在VS2013的配置问题 buildwin 120错误

我在VS2013上按照网上的教程编译POCO源代码,在VS命令提示符上POCO源代码根目录执行buildwin 120,出现了错误(如图)

Visual C++我应该是装了(控制面板上看到一丢。。)

请问有大牛知道怎么解决吗

谢谢!

迷茫迷茫2764 days ago577

reply all(2)I'll reply

  • 迷茫

    迷茫2017-04-17 13:29:28

    My personal guess is that your console environment variables are not configured. If it is 2015, you can try using "Start Menu > Visual Studio 2015 > VS2015 Developer Command Prompt", which will automatically configure the console environment variables. As shown below:

    VS2013 should be similar.

    The specific script files are in the <安装路径>Microsoft Visual Studio <版本号>Common7Tools directory. There should be script files called VsDevCmd.bat and vsvars32.bat. These files are used to set environment variables. Usually running VsDevCmd.bat is enough, but it may be more troublesome to set it manually.

    reply
    0
  • 迷茫

    迷茫2017-04-17 13:29:28

    Open a console, execute the VS目录/VC/ script under vcvarsall.bat to set environment variables, and then try again buildwin 120.

    reply
    0
  • Cancelreply