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

'vector' in namespace 'std' does not name a template type #61

Closed
C0rn3j opened this issue Oct 17, 2019 · 4 comments · Fixed by #62
Closed

'vector' in namespace 'std' does not name a template type #61

C0rn3j opened this issue Oct 17, 2019 · 4 comments · Fixed by #62

Comments

@C0rn3j
Copy link
Contributor

C0rn3j commented Oct 17, 2019

I'm trying to build libloot following this guide on an Arch Linux LXD container but I am failing -

Vector include:
Error log: https://haste.rys.pw/raw/ilimuzokel

UnicodeString using:
Error log: https://haste.rys.pw/raw/ijikubahub

Build process - loot/loot#1162 (comment)

@Ortham
Copy link
Member

Ortham commented Oct 21, 2019

The vector errors are probably due to GCC 9 being more strict about needing to include headers where they're used, or something like that.

UnicodeString is from ICU, CMake would have failed if it couldn't find it, but maybe there's a version mismatch that involves API changes?

@C0rn3j
Copy link
Contributor Author

C0rn3j commented Oct 21, 2019

I am able to install older ICU versions, but I don't get how to force CMake to use them, would you have an idea?

@Ortham
Copy link
Member

Ortham commented Oct 21, 2019

Try setting ICU_ROOT as mentioned here.

@C0rn3j
Copy link
Contributor Author

C0rn3j commented Oct 21, 2019

I failed trying to mess with ICU_ROOT, but managed to fix both my actual compile issues, sent a PR.

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

Successfully merging a pull request may close this issue.

2 participants