Closed AntonOfTheWoods closed 6 years ago
Thanks for the bugfix. There is one remaining issue for me on Ubuntu 18.04. I still get the first error above. I can make the error go away by either changing line 377 of NiuTrans.Decoder/OurTree.cpp
to:
while(*ibeg != '\0'){
or
while(ibeg != "\0"){
I suspect it is the first one that is required but really don't have enough C++ to know for sure. Both versions compile. Thanks again for your help.
@AntonOfTheWoods Thank you for your feedback, we checked our codes and fix the bug you have mentioned. As what you said,
while(*ibeg != '\0'){
is the right version and we have updated the correct codes on github. Thank you very much!
Perfect, thanks, I confirm it now compiles fine on Ubuntu 18.04!
My C++ is very weak but doing a fresh pull and make has multiple errors when attempting to build from master on Ubuntu 18.04. It appears that there are many issues, the first of which is
But there seem to be many others, like missing variables (src/NiuTrans.PhraseExtractor/dispatcher.cpp, options.sort_phrase_table), missing methods:
And maybe more. Is there something I am missing or has this version not been tested on Linux? If you have a version that has definitely been compiled on Linux I can compare with then I can help get this working!
FYI, none of the links to download packages on http://www.nlplab.com/NiuPlan/NiuTrans.html or http://www.niutrans.com/niutrans/NiuTrans.html are still working.