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
error when make converter folder #4
Comments
Could you upgrade protobuf? Probably protobuf version result in this error, you can try protobuf version@3.6. |
it's not a protobuf problem. we include a copy of protobuf in 3rd_party folder, and which is used in generating headers from protos. run schema/generate.sh before building converter, and make sure no error occurs. |
I run this script and got these errors
but I can still compile MNN root folder without any problem, this issue only occurs in converter folder |
I see ... please follow install.md's guide -- "cd schema && ./generate.sh && cd ..", not "./schema/generate.sh", so that path error will be fixed. consider to make the shell compatible later. |
thks, now cmake in root folder makes no misktake ,BUT the converter folder cannot be compiled yet, just as i wrote in this issue, |
solved this problem by changing file tools\converter\source\tensorflow\SplitTf.cpp line 106
to
now everything works. |
try to compile MNN on my x64 PC with WSL environment. The Ubuntu version is 18.04 from Microsoft store, with libprotobuf 3.0.0.9 installed by apt-get.
this script https://github.com/alibaba/MNN/blob/master/doc/Install_EN.md can be compiled without any error. but when I try to compile converter folder, errors occur like
then I add
#include <functional>
to tfUtils.hpp to fix this error. but got thiscan I get any help ? seems its a protobuf problem but I cannot get the reason.
The text was updated successfully, but these errors were encountered: