如何在Windows环境中使用Xerces?

时间:2010-02-16 15:16:26

标签: c++ xerces

我已经下载了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”?

3 个答案:

答案 0 :(得分:2)

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

答案 1 :(得分:1)

你不可能像Cygwin那样安装像unix这样的环境。

答案 2 :(得分:0)

您可以更改行以包含&#34; Xerces_autoconf_config.msvc.hpp&#34;而不是&#34; Xerces_autoconf_config.hpp&#34;。标头包含Windows的配置宏。

相关问题