Question

I have downloaded the source for Xerces and am trying to use it in a Greenhills project. I get the following error:

could not open source file "xercesc/util/Xerces_autoconf_config.hpp"

The code where the error hit is commented as:

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

How do I run "./configure" in a windows environment?

Was it helpful?

Solution

you can't you will have to install some unix like environment like Cygwin.

OTHER TIPS

To build Xerces with VSC++ on Windows you can use the supplied Visual Studio project files as described here: http://xerces.apache.org/xerces-c/build-3.html#Windows

You can change the line to include "Xerces_autoconf_config.msvc.hpp" instead of "Xerces_autoconf_config.hpp". The header carries the configuration macros for Windows.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top