-
Notifications
You must be signed in to change notification settings - Fork 122
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
Compiling Error: "./src/include/./util.h:44:9: error: ‘unordered_map’ does not name a type" #57
Comments
Not having looked at the actual code, the error message suggests that there may be an |
yeah I thought the same, but the src/include/util.h has the following section: typedef struct LabelDatum {int max, tot, lhs, rhs; bool lhsE, rhsE;} LabelDatum; so I'm a bit unsure how to debug it atm. |
Sorry for the delayed reply. I am pretty sure this is an issue with either a newer version of g++ or openfst. If you are still looking at this can you share the OpenFst and compiler plus version you are using? |
yup sure, I've got: is there a version of either I should try rolling back to? |
openfst used to subsume std in the fst namespace, but this changed i think
(i'd have to doublecheck) in the 1.7.x releases. it's a fairly big change
and i think this might be the issue. i will try to check on it this
weekend and get a clear answer and maybe a fix. otherwise you can try with
v1.6.1: https://github.com/AdolfVonKleist/Phonetisaurus/tree/openfst-1.6.1
2020年5月13日(水) 23:30 Nick Parslow <[email protected]>:
… yup sure, I've got:
openfst-1.7.6
and
g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
is there a version of either I should try rolling back to?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#57 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABVUAZ4CTP2WOSINU5P7ULRROFZ3ANCNFSM4MREG43Q>
.
|
I manually added
in It seems that all errors are fixed except this one:
|
void MapToken(string& to void MapToken(std::string&
Somehow the last error disappeares with only adding I think this issue can be closed. |
any ideas on how to get it to work?
edit : i'm on linux mint 19.3, ran configure then make
The text was updated successfully, but these errors were encountered: