【问题标题】:Getting a compile error : 0x2 trying to open file <vfdmsg>出现编译错误:0x2 试图打开文件 <vfdmsg>
【发布时间】:2009-08-18 21:04:19
【问题描述】:

我正在尝试构建 http://chitchat.at.infoseek.co.jp/vmware/vfd.html(VS 2008,Windows Server 2008 x64)但是我收到以下错误消息:

Error   1   error : 0x2 trying to open file <vfdmsg>.   mc  lib
Error   2   error PRJ0019: A tool returned an error code from "Compiling Message - L:\src\lib\vfdmsg.mc"    lib lib
Error   3   error : 0x2 trying to open file <vfdmsg>.   mc  cmd
Error   4   error PRJ0019: A tool returned an error code from "Compiling Message - L:\src\cmd\vfdmsg.mc"    cmd cmd
Error   5   error : 0x2 trying to open file <vfdmsg>.   mc  gui
Error   6   error PRJ0019: A tool returned an error code from "Compiling Message - L:\src\gui\vfdmsg.mc"    gui gui

我已经安装了 windows 2008 SDK,我已经用谷歌搜索了一段时间,但我终生无法弄清楚这个错误的含义。有人可以帮忙吗?

【问题讨论】:

    标签: c++ compiler-errors


    【解决方案1】:

    我注意到 vfdmsg.mc 的构建步骤是:

    mc $(InputName)
    

    其中 $(InputName) 解析为 vfdmsg,而不是 vfdmsg.mc

    通过将其替换为以下构建步骤来修复:

    mc $(InputFileName)
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-04-04
      • 1970-01-01
      • 2020-11-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多