【问题标题】:Why can't I compile this opensource project为什么我不能编译这个开源项目
【发布时间】:2012-09-30 20:32:11
【问题描述】:

我使用 tar ball http://construct.svn.sourceforge.net/viewvc/construct/?view=tarhttp://construct.svn.sourceforge.net/viewvc/construct/ 下载了源代码

我在VS2010中转换的IDE子目录中有一个visual studio解决方案文件。编译时出现 56 个错误,例如

错误 1 ​​错误 C1083:无法打开包含文件:'d3dx9.h':没有这样的文件或目录 C:...\construct\construct\ide\stdafx.h 106 1 Construct

为什么?如何解决?

【问题讨论】:

    标签: c++ visual-studio-2010 directx


    【解决方案1】:

    很可能您没有安装 DirectX SDK 和/或项目的包含目录(或 VS 中的全局设置)设置不正确。

    这有帮助吗:Cannot open include file "d3dx9.h"

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-07-09
      • 1970-01-01
      • 2016-04-15
      • 2018-12-02
      相关资源
      最近更新 更多