We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
cmake 3.21.2 libprotoc 3.17.3 ubuntu 16.04 32-bit [ 83%] Building CXX object tools/CMakeFiles/convert_tool.dir/caffe/caffe_serializer.cpp.o /home/user/tengine/Tengine-Convert-Tools/tools/caffe/caffe_serializer.cpp: In member function ‘bool TEngine::CaffeSingle::LoadBinaryFile(const char*, te_caffe::NetParameter&)’: /home/user/tengine/Tengine-Convert-Tools/tools/caffe/caffe_serializer.cpp:169:57: error: no matching function for call to ‘google::protobuf::io::CodedInputStream::SetTotalBytesLimit(int, int)’ coded_input.SetTotalBytesLimit(1024 << 20, 512 << 20); ^ In file included from /home/user/tengine/Tengine-Convert-Tools/tools/caffe/caffe_serializer.cpp:30:0: /usr/local/include/google/protobuf/io/coded_stream.h:402:8: note: candidate: void google::protobuf::io::CodedInputStream::SetTotalBytesLimit(int) void SetTotalBytesLimit(int total_bytes_limit); ^ /usr/local/include/google/protobuf/io/coded_stream.h:402:8: note: candidate expects 1 argument, 2 provided At global scope: cc1plus: warning: unrecognized command line option ‘-Wno-deprecated-register’ cc1plus: warning: unrecognized command line option ‘-Wno-unused-command-line-argument’ tools/CMakeFiles/convert_tool.dir/build.make:131: recipe for target 'tools/CMakeFiles/convert_tool.dir/caffe/caffe_serializer.cpp.o' failed make[2]: *** [tools/CMakeFiles/convert_tool.dir/caffe/caffe_serializer.cpp.o] Error 1 CMakeFiles/Makefile2:181: recipe for target 'tools/CMakeFiles/convert_tool.dir/all' failed make[1]: *** [tools/CMakeFiles/convert_tool.dir/all] Error 2 Makefile:135: recipe for target 'all' failed make: *** [all] Error 2
... how to fix this bug?
The text was updated successfully, but these errors were encountered:
I meet same error, di you fix this bug?
Sorry, something went wrong.
Same here.
No branches or pull requests
cmake 3.21.2
libprotoc 3.17.3
ubuntu 16.04 32-bit
[ 83%] Building CXX object tools/CMakeFiles/convert_tool.dir/caffe/caffe_serializer.cpp.o
/home/user/tengine/Tengine-Convert-Tools/tools/caffe/caffe_serializer.cpp: In member function ‘bool TEngine::CaffeSingle::LoadBinaryFile(const char*, te_caffe::NetParameter&)’:
/home/user/tengine/Tengine-Convert-Tools/tools/caffe/caffe_serializer.cpp:169:57: error: no matching function for call to ‘google::protobuf::io::CodedInputStream::SetTotalBytesLimit(int, int)’
coded_input.SetTotalBytesLimit(1024 << 20, 512 << 20);
^
In file included from /home/user/tengine/Tengine-Convert-Tools/tools/caffe/caffe_serializer.cpp:30:0:
/usr/local/include/google/protobuf/io/coded_stream.h:402:8: note: candidate: void google::protobuf::io::CodedInputStream::SetTotalBytesLimit(int)
void SetTotalBytesLimit(int total_bytes_limit);
^
/usr/local/include/google/protobuf/io/coded_stream.h:402:8: note: candidate expects 1 argument, 2 provided
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-deprecated-register’
cc1plus: warning: unrecognized command line option ‘-Wno-unused-command-line-argument’
tools/CMakeFiles/convert_tool.dir/build.make:131: recipe for target 'tools/CMakeFiles/convert_tool.dir/caffe/caffe_serializer.cpp.o' failed
make[2]: *** [tools/CMakeFiles/convert_tool.dir/caffe/caffe_serializer.cpp.o] Error 1
CMakeFiles/Makefile2:181: recipe for target 'tools/CMakeFiles/convert_tool.dir/all' failed
make[1]: *** [tools/CMakeFiles/convert_tool.dir/all] Error 2
Makefile:135: recipe for target 'all' failed
make: *** [all] Error 2
...
how to fix this bug?
The text was updated successfully, but these errors were encountered: