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

Build fails with tinyxml2 6.0 #28

Closed
osrf-migration opened this issue Dec 11, 2017 · 3 comments
Closed

Build fails with tinyxml2 6.0 #28

osrf-migration opened this issue Dec 11, 2017 · 3 comments
Labels
bug Something isn't working

Comments

@osrf-migration
Copy link

Original report (archived issue) by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


Tinyxml2 version 6.0.0 was released into homebrew recently and has some API changes that cause build failures of ignition-common:

/Users/jenkins/workspace/ignition_common-ci-default-homebrew-amd64/ign-common/src/ColladaExporter.cc:44:32: error: no member named 'GetErrorStr1' in 'tinyxml2::XMLDocument'; did you mean 'ErrorStr'?
    const char * error1 = _doc.GetErrorStr1();
                               ^~~~~~~~~~~~
                               ErrorStr
/usr/local/Cellar/tinyxml2/6.0.0/include/tinyxml2.h:1814:14: note: 'ErrorStr' declared here
        const char* ErrorStr() const;
                    ^
/Users/jenkins/workspace/ignition_common-ci-default-homebrew-amd64/ign-common/src/ColladaExporter.cc:45:32: error: no member named 'GetErrorStr2' in 'tinyxml2::XMLDocument'; did you mean 'ErrorStr'?
    const char * error2 = _doc.GetErrorStr2();
                               ^~~~~~~~~~~~
                               ErrorStr
/usr/local/Cellar/tinyxml2/6.0.0/include/tinyxml2.h:1814:14: note: 'ErrorStr' declared here
        const char* ErrorStr() const;
                    ^
2 errors generated.

I think we'll need some ifdefs because the functions have been renamed.

@osrf-migration
Copy link
Author

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


The API changes came from here:

@osrf-migration
Copy link
Author

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


see pull request #87

@osrf-migration
Copy link
Author

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


  • changed state from "new" to "resolved"

pull request #87

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant