【求助】VC++2010创建MFC应用程序,链接错误

voice2007 2013-12-02 03:34:58
采用VC++2010创建MFC应用程序,编译无误,链接后,提示如下错误:

1>------ 已启动生成: 项目: test02, 配置: Debug Win32 ------
1>生成启动时间为 2013-12-2 15:29:11。
1>InitializeBuildStatus:
1> 正在创建“Debug\test02.unsuccessfulbuild”,因为已指定“AlwaysCreate”。
1>CustomBuild:
1>
1> Microsoft (R) Help Maintenance Utility Version 10.00
1> Copyright (c) Microsoft Corporation. All rights reserved.
1>
1>makehm : error : unable to open file "D:\??\vs\test02\Resource.h".
1>
1> makehm usage:
1>
1> makehm [/h [/a <file.h> [/I <path>]]] <from>,<to>,<add>... <resource.h> [output.hm]
1>
1> /h - generates an include file (.h) for HTML help instead of
1> a normal (.hm) WinHelp map file.
1> /a - copies the contents of the specified <file.h> file to the
1> output.
1> /I - additional path to search for the file.h file. The program will
1> first look in the current directory, then the path specified by the
1> /I option and then in the path specified by the INCLUDE
1> environment variable.
1>
1> <from>,<to>,<add> fields must appear as one argument and
1> are separated by commas. A set of these arguments may
1> appear more than once.
1> <from> - identifies the symbol prefix to map from (e.g., ID_)
1> <to> - identifies the symbol prefix to map to (e.g., HID_)
1> <add> - identifies a numeric offset to be used (e.g., 0x10000)
1>
1> <resource.h> - identifies the input header file (e.g., resource.h).
1> [output.hm] - identifies the output help map file. If not
1> supplied, output is written to stdout.
1> ??????????????...
1>
1> Microsoft (R) Help Maintenance Utility Version 10.00
1> Copyright (c) Microsoft Corporation. All rights reserved.
1>
1>makehm : error : unable to open file "D:\??\vs\test02\Resource.h".
1>
1> makehm usage:
1>
1> makehm [/h [/a <file.h> [/I <path>]]] <from>,<to>,<add>... <resource.h> [output.hm]
1>
1> /h - generates an include file (.h) for HTML help instead of
1> a normal (.hm) WinHelp map file.
1> /a - copies the contents of the specified <file.h> file to the
1> output.
1> /I - additional path to search for the file.h file. The program will
1> first look in the current directory, then the path specified by the
1> /I option and then in the path specified by the INCLUDE
1> environment variable.
1>
1> <from>,<to>,<add> fields must appear as one argument and
1> are separated by commas. A set of these arguments may
1> appear more than once.
1> <from> - identifies the symbol prefix to map from (e.g., ID_)
1> <to> - identifies the symbol prefix to map to (e.g., HID_)
1> <add> - identifies a numeric offset to be used (e.g., 0x10000)
1>
1> <resource.h> - identifies the input header file (e.g., resource.h).
1> [output.hm] - identifies the output help map file. If not
1> supplied, output is written to stdout.
1>
1> Microsoft (R) Help Maintenance Utility Version 10.00
1> Copyright (c) Microsoft Corporation. All rights reserved.
1>
1>makehm : error : unable to open file "D:\??\vs\test02\Resource.h".
1>
1> makehm usage:
1>
1> makehm [/h [/a <file.h> [/I <path>]]] <from>,<to>,<add>... <resource.h> [output.hm]
1>
1> /h - generates an include file (.h) for HTML help instead of
1> a normal (.hm) WinHelp map file.
1> /a - copies the contents of the specified <file.h> file to the
1> output.
1> /I - additional path to search for the file.h file. The program will
1> first look in the current directory, then the path specified by the
1> /I option and then in the path specified by the INCLUDE
1> environment variable.
1>
1> <from>,<to>,<add> fields must appear as one argument and
1> are separated by commas. A set of these arguments may
1> appear more than once.
1> <from> - identifies the symbol prefix to map from (e.g., ID_)
1> <to> - identifies the symbol prefix to map to (e.g., HID_)
1> <add> - identifies a numeric offset to be used (e.g., 0x10000)
1>
1> <resource.h> - identifies the input header file (e.g., resource.h).
1> [output.hm] - identifies the output help map file. If not
1> supplied, output is written to stdout.
1>
1> Microsoft (R) Help Maintenance Utility Version 10.00
1> Copyright (c) Microsoft Corporation. All rights reserved.
1>
1>makehm : error : unable to open file "D:\??\vs\test02\Resource.h".
1>
1> makehm usage:
1>
1> makehm [/h [/a <file.h> [/I <path>]]] <from>,<to>,<add>... <resource.h> [output.hm]
1>
1> /h - generates an include file (.h) for HTML help instead of
1> a normal (.hm) WinHelp map file.
1> /a - copies the contents of the specified <file.h> file to the
1> output.
1> /I - additional path to search for the file.h file. The program will
1> first look in the current directory, then the path specified by the
1> /I option and then in the path specified by the INCLUDE
1> environment variable.
1>
1> <from>,<to>,<add> fields must appear as one argument and
1> are separated by commas. A set of these arguments may
1> appear more than once.
1> <from> - identifies the symbol prefix to map from (e.g., ID_)
1> <to> - identifies the symbol prefix to map to (e.g., HID_)
1> <add> - identifies a numeric offset to be used (e.g., 0x10000)
1>
1> <resource.h> - identifies the input header file (e.g., resource.h).
1> [output.hm] - identifies the output help map file. If not
1> supplied, output is written to stdout.
1>
1> Microsoft (R) Help Maintenance Utility Version 10.00
1> Copyright (c) Microsoft Corporation. All rights reserved.
1>
1>makehm : error : unable to open file "D:\??\vs\test02\Resource.h".
1>
1> makehm usage:
1>
1> makehm [/h [/a <file.h> [/I <path>]]] <from>,<to>,<add>... <resource.h> [output.hm]
1>
1> /h - generates an include file (.h) for HTML help instead of
1> a normal (.hm) WinHelp map file.
1> /a - copies the contents of the specified <file.h> file to the
1> output.
1> /I - additional path to search for the file.h file. The program will
1> first look in the current directory, then the path specified by the
1> /I option and then in the path specified by the INCLUDE
1> environment variable.
1>
1> <from>,<to>,<add> fields must appear as one argument and
1> are separated by commas. A set of these arguments may
1> appear more than once.
1> <from> - identifies the symbol prefix to map from (e.g., ID_)
1> <to> - identifies the symbol prefix to map to (e.g., HID_)
1> <add> - identifies a numeric offset to be used (e.g., 0x10000)
1>
1> <resource.h> - identifies the input header file (e.g., resource.h).
1> [output.hm] - identifies the output help map file. If not
1> supplied, output is written to stdout.
1> ????????...
1> 文件名、目录名或卷标语法不正确。
1> 已复制 0 个文件。
1>
1>
1>生成失败。
1>
1>已用时间 00:00:02.45
========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========

请问是何原因?如何解决?谢谢
...全文
274 10 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
向立天 2014-01-03
  • 打赏
  • 举报
回复
您好 我是本版版主 此帖已多日无人关注 请您及时结帖 如您认为问题没有解决可按无满意结帖处理 另外本版设置了疑难问题汇总帖 并已在版面置顶 相关规定其帖子中有说明 您可以根据规定提交您帖子的链接 如您目前不想结帖只需回帖说明 我们会删除此结帖通知 见此回复三日内无回应 我们将强制结帖 相关规定详见界面界面版关于版主结帖工作的具体办法
shen_wei 2013-12-03
  • 打赏
  • 举报
回复
引用 7 楼 voice2007 的回复:
[quote=引用 5 楼 shen_wei 的回复:] 根据Error信息提示缺少文件,你说没有缺少,那就新建一个工程在试试,是否同样的Error哪??
感谢提醒 重新建立过一个类似的工程,出现同样的问题,所以自己很迷茫,求指点,谢谢[/quote] 那就先去修复下VS,找到VS安装包修复 看看! 实在不行就重新安装。。
voice2007 2013-12-03
  • 打赏
  • 举报
回复
引用 6 楼 bjtbjt 的回复:
存在不一定包涵吧。。 仔细检查吧。 不然的话就是工程设置的问题。
刚刚开始用VC++2010,很多细节不明白,能否描述得详细一点 工程设置的问题再哪里? 谢谢
voice2007 2013-12-03
  • 打赏
  • 举报
回复
引用 5 楼 shen_wei 的回复:
根据Error信息提示缺少文件,你说没有缺少,那就新建一个工程在试试,是否同样的Error哪??
感谢提醒 重新建立过一个类似的工程,出现同样的问题,所以自己很迷茫,求指点,谢谢
5t4rk 2013-12-02
  • 打赏
  • 举报
回复
存在不一定包涵吧。。 仔细检查吧。 不然的话就是工程设置的问题。
shen_wei 2013-12-02
  • 打赏
  • 举报
回复
根据Error信息提示缺少文件,你说没有缺少,那就新建一个工程在试试,是否同样的Error哪??
voice2007 2013-12-02
  • 打赏
  • 举报
回复
引用 3 楼 shen_wei 的回复:
不行的话,那就共享你的工程代码。。这样更好!
大哥,能否说得详细点,便于我这种初学者理解,谢谢
shen_wei 2013-12-02
  • 打赏
  • 举报
回复
不行的话,那就共享你的工程代码。。这样更好!
voice2007 2013-12-02
  • 打赏
  • 举报
回复
引用 1 楼 shen_wei 的回复:
error : unable to open file "D:\??\vs\test02\Resource.h". 缺少这个文件。。。
这个文件已经添加到头文件的文件目录中了……
shen_wei 2013-12-02
  • 打赏
  • 举报
回复
error : unable to open file "D:\??\vs\test02\Resource.h". 缺少这个文件。。。

15,980

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 界面
社区管理员
  • 界面
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧