1

我已经下载了 Xerces 的源代码并尝试在 Greenhills 项目中使用它。我收到以下错误:

无法打开源文件“xercesc/util/Xerces_autoconf_config.hpp”

错误命中的代码注释为:

// If the next line generates an error then you haven't run ./configure
#include    <xercesc/util/Xerces_autoconf_config.hpp>

如何在 Windows 环境中运行“./configure”?

4

3 回答 3

2

要在 Windows 上使用 VSC++ 构建 Xerces,您可以使用提供的 Visual Studio 项目文件,如下所述:http: //xerces.apache.org/xerces-c/build-3.html#Windows

于 2012-01-19T15:08:17.580 回答
1

你不能,你必须安装一些像 Cygwin 这样的 unix 环境。

于 2010-02-16T15:18:37.580 回答
0

您可以更改该行以包含“Xerces_autoconf_config.msvc.hpp”而不是“Xerces_autoconf_config.hpp”。标头带有 Windows 的配置宏。

于 2014-03-12T09:44:13.013 回答