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

pugixml build fixes #2733

Merged
merged 1 commit into from
Oct 10, 2020
Merged

Conversation

lgritz
Copy link
Collaborator

@lgritz lgritz commented Oct 4, 2020

  • Bring back the idea of a Findpugixml.cmake file because it turns out
    that (for pugixml <= 1.10) the exported config files are not reliable.

  • Fix CI scripts to build PugiXML (with a few different versions). We
    previously were relying on the embedded version for all CI tests, which
    masked problems associated with using an external PugiXML.

  • Fix deprecation warnings about xml_document::load(), the new call is
    xml_document::load_string().

Fixes #2732

Signed-off-by: Larry Gritz lg@larrygritz.com

@hobbes1069
Copy link
Contributor

Solves the warning for me!

* Bring back the idea of a Findpugixml.cmake file because it turns out
  that (for pugixml <= 1.10) the exported config files are not reliable.

* Fix CI scripts to build PugiXML (with a few different versions). We
  previously were relying on the embedded version for all CI tests, which
  masked problems associated with using an external PugiXML.

* Fix deprecation warnings about xml_document.load(), the new call is
  xml_document::load_string().

Signed-off-by: Larry Gritz <lg@larrygritz.com>
@epsilon-0
Copy link

Confirming that this let me build it with system pugixml and it linked correctly ❤️

Thanks a lot!

@lgritz lgritz merged commit f981098 into AcademySoftwareFoundation:master Oct 10, 2020
@lgritz lgritz deleted the lg-pugixml-ghci branch October 10, 2020 23:26
lgritz added a commit to lgritz/OpenImageIO that referenced this pull request Oct 12, 2020
* Bring back the idea of a Findpugixml.cmake file because it turns out
  that (for pugixml <= 1.10) the exported config files are not reliable.

* Fix CI scripts to build PugiXML (with a few different versions). We
  previously were relying on the embedded version for all CI tests, which
  masked problems associated with using an external PugiXML.

* Fix deprecation warnings about xml_document.load(), the new call is
  xml_document::load_string().

Signed-off-by: Larry Gritz <lg@larrygritz.com>
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

Successfully merging this pull request may close these issues.

[BUILD] -DUSE_EXTERNAL_PUGIXML=ON causes linker erros on Gentoo
3 participants