Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building with libxml2 #5

Open
JamesRamm opened this issue Nov 12, 2014 · 1 comment
Open

Building with libxml2 #5

JamesRamm opened this issue Nov 12, 2014 · 1 comment

Comments

@JamesRamm
Copy link

Have added HAVE_LIBXML2 to the gyp file.
Error I'm getting is:

HAVE_LIBXML2 defined but compiling rapidxml_loader.cpp!

Extra configuration step needed?

@JamesRamm
Copy link
Author

Manually removing rapidxml_loader.cpp from the source tree enabled mapnik to build correctly with libxml2.

Should the first line in rapidxml_loade.cpp:

#ifdef HAVE_LIBXML2
#error 
#endif

be changed to:

#ifndef HAVE_LIBXML2

     // rest of the file.....
#endif

??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant