我已经下载了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“?
发布于 2010-02-16 23:18:38
你不能,你必须安装一些类似unix的环境,比如Cygwin。
发布于 2012-01-19 23:08:18
要在Windows上使用VSC++构建Xerces,可以使用提供的Visual Studio项目文件,如下所述:http://xerces.apache.org/xerces-c/build-3.html#Windows
发布于 2014-03-12 17:44:13
您可以将该行更改为包含"Xerces_autoconf_config.msvc.hpp“而不是"Xerces_autoconf_config.hpp”。标头包含Windows的配置宏。
https://stackoverflow.com/questions/2273863
复制相似问题