Fail to cross compile eiq_sample_apps

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Fail to cross compile eiq_sample_apps

1,812 Views
hongjijichen
Contributor I

Hello,

I built up the eIQ SDK on i.mx8mmevk.

root@imx8mmevk:~/eiq_sample_apps/examples-tflite/1-example/src# ls -alh
total 24M
drwxr-xr-x 2 root root 4.0K Jul 25  2019 .
drwxr-xr-x 3 root root 4.0K Jul 25  2019 ..
-rw-r--r-- 1 root root  348 Jul 25  2019 Makefile
-rw-r--r-- 1 root root 3.7K Jul 25  2019 ThreadPool.h
-rw-r--r-- 1 root root 8.4K Jul 25  2019 face_detect_helpers.cpp
-rw-r--r-- 1 root root 1.3K Jul 25  2019 face_detect_helpers.h
-rw-r--r-- 1 root root 3.9K Jul 25  2019 face_detect_helpers_impl.h
-rw-r--r-- 1 root root  13K Jul 25  2019 face_recognition.cpp
-rw-r--r-- 1 root root 1.6K Jul 25  2019 face_recognition.h
-rw-r--r-- 1 root root 661K Jul 25  2019 haarcascade_frontalface_alt.xml
-rw-r--r-- 1 root root  23M Jul 25  2019 mfn.h
-rw-r--r-- 1 root root  467 Jul 25  2019 profiling.h

cross compile the eiq_sample_apps on target board, but get below errors, any idea?

/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20:0,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/tensorflow/contrib/lite/schema/schema_generated.h: In member function 'bool tflite::Tensor::Verify(flatbuffers::Verifier&) const':
/usr/include/tensorflow/contrib/lite/schema/schema_generated.h:2063:41: error: no matching function for call to 'flatbuffers::Verifier::VerifyVector(const flatbuffers::Vector<int>*)'
verifier.VerifyVector(shape()) &&
^
In file included from /usr/include/tensorflow/contrib/lite/schema/schema_generated.h:21:0,
from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate: bool flatbuffers::Verifier::VerifyVector(const uint8_t*, size_t, const uint8_t**) const
bool VerifyVector(const uint8_t *vec, size_t elem_size,
^~~~~~~~~~~~
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20:0,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/tensorflow/contrib/lite/schema/schema_generated.h:2067:21: error: 'class flatbuffers::Verifier' has no member named 'VerifyString'; did you mean 'Verifier'?
verifier.VerifyString(name()) &&
^~~~~~~~~~~~
Verifier
/usr/include/tensorflow/contrib/lite/schema/schema_generated.h: In member function 'bool tflite::ConcatEmbeddingsOptions::Verify(flatbuffers::Verifier&) const':
/usr/include/tensorflow/contrib/lite/schema/schema_generated.h:2533:59: error: no matching function for call to 'flatbuffers::Verifier::VerifyVector(const flatbuffers::Vector<int>*)'
verifier.VerifyVector(num_columns_per_channel()) &&
^
In file included from /usr/include/tensorflow/contrib/lite/schema/schema_generated.h:21:0,
from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate: bool flatbuffers::Verifier::VerifyVector(const uint8_t*, size_t, const uint8_t**) const
bool VerifyVector(const uint8_t *vec, size_t elem_size,
^~~~~~~~~~~~
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20:0,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/tensorflow/contrib/lite/schema/schema_generated.h:2535:61: error: no matching function for call to 'flatbuffers::Verifier::VerifyVector(const flatbuffers::Vector<int>*)'
verifier.VerifyVector(embedding_dim_per_channel()) &&
^
In file included from /usr/include/tensorflow/contrib/lite/schema/schema_generated.h:21:0,
from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate: bool flatbuffers::Verifier::VerifyVector(const uint8_t*, size_t, const uint8_t**) const
bool VerifyVector(const uint8_t *vec, size_t elem_size,
^~~~~~~~~~~~
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20:0,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/tensorflow/contrib/lite/schema/schema_generated.h: In member function 'bool tflite::ReshapeOptions::Verify(flatbuffers::Verifier&) const':
/usr/include/tensorflow/contrib/lite/schema/schema_generated.h:3633:45: error: no matching function for call to 'flatbuffers::Verifier::VerifyVector(const flatbuffers::Vector<int>*)'
verifier.VerifyVector(new_shape()) &&
^
In file included from /usr/include/tensorflow/contrib/lite/schema/schema_generated.h:21:0,
from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate: bool flatbuffers::Verifier::VerifyVector(const uint8_t*, size_t, const uint8_t**) const
bool VerifyVector(const uint8_t *vec, size_t elem_size,
^~~~~~~~~~~~
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20:0,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/tensorflow/contrib/lite/schema/schema_generated.h: In member function 'bool tflite::SqueezeOptions::Verify(flatbuffers::Verifier&) const':
/usr/include/tensorflow/contrib/lite/schema/schema_generated.h:4297:48: error: no matching function for call to 'flatbuffers::Verifier::VerifyVector(const flatbuffers::Vector<int>*)'
verifier.VerifyVector(squeeze_dims()) &&
^
In file included from /usr/include/tensorflow/contrib/lite/schema/schema_generated.h:21:0,
from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate: bool flatbuffers::Verifier::VerifyVector(const uint8_t*, size_t, const uint8_t**) const
bool VerifyVector(const uint8_t *vec, size_t elem_size,
^~~~~~~~~~~~
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20:0,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/tensorflow/contrib/lite/schema/schema_generated.h: In member function 'bool tflite::OperatorCode::Verify(flatbuffers::Verifier&) const':
/usr/include/tensorflow/contrib/lite/schema/schema_generated.h:6044:21: error: 'class flatbuffers::Verifier' has no member named 'VerifyString'; did you mean 'Verifier'?
verifier.VerifyString(custom_code()) &&
^~~~~~~~~~~~
Verifier
/usr/include/tensorflow/contrib/lite/schema/schema_generated.h: In member function 'bool tflite::Operator::Verify(flatbuffers::Verifier&) const':
/usr/include/tensorflow/contrib/lite/schema/schema_generated.h:6363:42: error: no matching function for call to 'flatbuffers::Verifier::VerifyVector(const flatbuffers::Vector<int>*)'
verifier.VerifyVector(inputs()) &&
^
In file included from /usr/include/tensorflow/contrib/lite/schema/schema_generated.h:21:0,
from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate: bool flatbuffers::Verifier::VerifyVector(const uint8_t*, size_t, const uint8_t**) const
bool VerifyVector(const uint8_t *vec, size_t elem_size,
^~~~~~~~~~~~
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20:0,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/tensorflow/contrib/lite/schema/schema_generated.h:6365:43: error: no matching function for call to 'flatbuffers::Verifier::VerifyVector(const flatbuffers::Vector<int>*)'
verifier.VerifyVector(outputs()) &&
^
In file included from /usr/include/tensorflow/contrib/lite/schema/schema_generated.h:21:0,
from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate: bool flatbuffers::Verifier::VerifyVector(const uint8_t*, size_t, const uint8_t**) const
bool VerifyVector(const uint8_t *vec, size_t elem_size,
^~~~~~~~~~~~
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20:0,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/tensorflow/contrib/lite/schema/schema_generated.h:6370:50: error: no matching function for call to 'flatbuffers::Verifier::VerifyVector(const flatbuffers::Vector<unsigned char>*)'
verifier.VerifyVector(custom_options()) &&
^
In file included from /usr/include/tensorflow/contrib/lite/schema/schema_generated.h:21:0,
from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate: bool flatbuffers::Verifier::VerifyVector(const uint8_t*, size_t, const uint8_t**) const
bool VerifyVector(const uint8_t *vec, size_t elem_size,
^~~~~~~~~~~~
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20:0,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/tensorflow/contrib/lite/schema/schema_generated.h:6373:60: error: no matching function for call to 'flatbuffers::Verifier::VerifyVector(const flatbuffers::Vector<unsigned char>*)'
verifier.VerifyVector(mutating_variable_inputs()) &&
^
In file included from /usr/include/tensorflow/contrib/lite/schema/schema_generated.h:21:0,
from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate: bool flatbuffers::Verifier::VerifyVector(const uint8_t*, size_t, const uint8_t**) const
bool VerifyVector(const uint8_t *vec, size_t elem_size,
^~~~~~~~~~~~
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20:0,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/tensorflow/contrib/lite/schema/schema_generated.h: In member function 'bool tflite::SubGraph::Verify(flatbuffers::Verifier&) const':
/usr/include/tensorflow/contrib/lite/schema/schema_generated.h:6776:43: error: no matching function for call to 'flatbuffers::Verifier::VerifyVector(const flatbuffers::Vector<flatbuffers::Offset<tflite::Tensor> >*)'
verifier.VerifyVector(tensors()) &&
^
In file included from /usr/include/tensorflow/contrib/lite/schema/schema_generated.h:21:0,
from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate: bool flatbuffers::Verifier::VerifyVector(const uint8_t*, size_t, const uint8_t**) const
bool VerifyVector(const uint8_t *vec, size_t elem_size,
^~~~~~~~~~~~
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20:0,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/tensorflow/contrib/lite/schema/schema_generated.h:6779:42: error: no matching function for call to 'flatbuffers::Verifier::VerifyVector(const flatbuffers::Vector<int>*)'
verifier.VerifyVector(inputs()) &&
^
In file included from /usr/include/tensorflow/contrib/lite/schema/schema_generated.h:21:0,
from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate: bool flatbuffers::Verifier::VerifyVector(const uint8_t*, size_t, const uint8_t**) const
bool VerifyVector(const uint8_t *vec, size_t elem_size,
^~~~~~~~~~~~
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20:0,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/tensorflow/contrib/lite/schema/schema_generated.h:6781:43: error: no matching function for call to 'flatbuffers::Verifier::VerifyVector(const flatbuffers::Vector<int>*)'
verifier.VerifyVector(outputs()) &&
^
In file included from /usr/include/tensorflow/contrib/lite/schema/schema_generated.h:21:0,
from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate: bool flatbuffers::Verifier::VerifyVector(const uint8_t*, size_t, const uint8_t**) const
bool VerifyVector(const uint8_t *vec, size_t elem_size,
^~~~~~~~~~~~
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20:0,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/tensorflow/contrib/lite/schema/schema_generated.h:6783:45: error: no matching function for call to 'flatbuffers::Verifier::VerifyVector(const flatbuffers::Vector<flatbuffers::Offset<tflite::Operator> >*)'
verifier.VerifyVector(operators()) &&
^
In file included from /usr/include/tensorflow/contrib/lite/schema/schema_generated.h:21:0,
from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate: bool flatbuffers::Verifier::VerifyVector(const uint8_t*, size_t, const uint8_t**) const
bool VerifyVector(const uint8_t *vec, size_t elem_size,
^~~~~~~~~~~~
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20:0,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/tensorflow/contrib/lite/schema/schema_generated.h:6786:21: error: 'class flatbuffers::Verifier' has no member named 'VerifyString'; did you mean 'Verifier'?
verifier.VerifyString(name()) &&
^~~~~~~~~~~~
Verifier
/usr/include/tensorflow/contrib/lite/schema/schema_generated.h: In member function 'bool tflite::Buffer::Verify(flatbuffers::Verifier&) const':
/usr/include/tensorflow/contrib/lite/schema/schema_generated.h:6876:40: error: no matching function for call to 'flatbuffers::Verifier::VerifyVector(const flatbuffers::Vector<unsigned char>*)'
verifier.VerifyVector(data()) &&
^
In file included from /usr/include/tensorflow/contrib/lite/schema/schema_generated.h:21:0,
from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate: bool flatbuffers::Verifier::VerifyVector(const uint8_t*, size_t, const uint8_t**) const
bool VerifyVector(const uint8_t *vec, size_t elem_size,
^~~~~~~~~~~~
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20:0,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/tensorflow/contrib/lite/schema/schema_generated.h: In member function 'bool tflite::Model::Verify(flatbuffers::Verifier&) const':
/usr/include/tensorflow/contrib/lite/schema/schema_generated.h:6965:50: error: no matching function for call to 'flatbuffers::Verifier::VerifyVector(const flatbuffers::Vector<flatbuffers::Offset<tflite::OperatorCode> >*)'
verifier.VerifyVector(operator_codes()) &&
^
In file included from /usr/include/tensorflow/contrib/lite/schema/schema_generated.h:21:0,
from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate: bool flatbuffers::Verifier::VerifyVector(const uint8_t*, size_t, const uint8_t**) const
bool VerifyVector(const uint8_t *vec, size_t elem_size,
^~~~~~~~~~~~
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20:0,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/tensorflow/contrib/lite/schema/schema_generated.h:6968:45: error: no matching function for call to 'flatbuffers::Verifier::VerifyVector(const flatbuffers::Vector<flatbuffers::Offset<tflite::SubGraph> >*)'
verifier.VerifyVector(subgraphs()) &&
^
In file included from /usr/include/tensorflow/contrib/lite/schema/schema_generated.h:21:0,
from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate: bool flatbuffers::Verifier::VerifyVector(const uint8_t*, size_t, const uint8_t**) const
bool VerifyVector(const uint8_t *vec, size_t elem_size,
^~~~~~~~~~~~
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20:0,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/tensorflow/contrib/lite/schema/schema_generated.h:6971:21: error: 'class flatbuffers::Verifier' has no member named 'VerifyString'; did you mean 'Verifier'?
verifier.VerifyString(description()) &&
^~~~~~~~~~~~
Verifier
/usr/include/tensorflow/contrib/lite/schema/schema_generated.h:6973:43: error: no matching function for call to 'flatbuffers::Verifier::VerifyVector(const flatbuffers::Vector<flatbuffers::Offset<tflite::Buffer> >*)'
verifier.VerifyVector(buffers()) &&
^
In file included from /usr/include/tensorflow/contrib/lite/schema/schema_generated.h:21:0,
from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate: bool flatbuffers::Verifier::VerifyVector(const uint8_t*, size_t, const uint8_t**) const
bool VerifyVector(const uint8_t *vec, size_t elem_size,
^~~~~~~~~~~~
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20:0,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/tensorflow/contrib/lite/schema/schema_generated.h:6976:51: error: no matching function for call to 'flatbuffers::Verifier::VerifyVector(const flatbuffers::Vector<int>*)'
verifier.VerifyVector(metadata_buffer()) &&
^
In file included from /usr/include/tensorflow/contrib/lite/schema/schema_generated.h:21:0,
from /usr/include/tensorflow/contrib/lite/core/api/op_resolver.h:20,
from /usr/include/tensorflow/contrib/lite/model.h:39,
from /usr/include/tensorflow/contrib/lite/kernels/register.h:20,
from face_detect_helpers_impl.h:32,
from face_detect_helpers.h:23,
from face_detect_helpers.cpp:13:
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate: bool flatbuffers::Verifier::VerifyVector(const uint8_t*, size_t, const uint8_t**) const
bool VerifyVector(const uint8_t *vec, size_t elem_size,
^~~~~~~~~~~~
/usr/include/flatbuffers/flatbuffers.h:1756:8: note: candidate expects 3 arguments, 1 provided

Labels (1)
0 Kudos
2 Replies

1,525 Views
diego_dorta
NXP Employee
NXP Employee

Hi Chen,

You can try it again now, let me know if you have any issues :smileyhappy:

Thanks,

Diego

0 Kudos

1,525 Views
diego_dorta
NXP Employee
NXP Employee

Hi Chen,

We are aware of this issue cause by multiple flatbuffers. We will have an update in the repository fixing it soon.

I let you know when we publish it :smileyhappy:

Thanks,

Diego

0 Kudos