I trying to compile OpenVINO from sources for release 2021-3
I've faced with issue:
~/Projects/OpenVINO/cmake-build-debug/_deps/ext_onnx-src/onnx/onnx_pb.h:50:10: fatal error: onnx/onnx-ml.pb.h: No such file or directory
#include "onnx/onnx-ml.pb.h"
I use the following options:
cmake -DVERBOSE_BUILD=ON -DENABLE_TEMPLATE_PLUGIN=ON -DCMAKE_BUILD_TYPE=Debug -DENABLE_PYTHON=ON -DPYTHON_EXECUTABLE=/usr/local/bin/python3 -DENABLE_WHEEL=ON -DENABLE_TESTS=ON -DENABLE_FASTER_BUILD=ON -DONNX_ML=1 -DIE_EXTRA_MODULES=${OPENVINO_CONTRIB_REPO_DIR}/modules -G "CodeBlocks - Unix Makefiles" ~/Projects/OpenVINO
Also this header file is absent in ~/Projects/OpenVINO/cmake-build-debug/_deps/ext_onnx-src/onnx/
...
Seems like onnx
should be compiled during build time in directory ~/Projects/OpenVINO/cmake-build-debug/_deps/ext_onnx-src
...
Maybe I've missed some option ?