Community
cancel
Showing results for 
Search instead for 
Did you mean: 
redradist
Novice
95 Views

Missed header file onnx/onnx-ml.pb.h

Hi all,

 

I've faced with issue that:

~/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

Here is my options:

-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

Seems like onnx should be built during compile time `~/Projects/OpenVINO/cmake-build-debug/_deps/ext_onnx-src` because cmake download sources from the git repo ...

Seems like this issue is that `~/Projects/OpenVINO/cmake-build-debug/_deps/ext_onnx-src` not compiled before main target

Maybe I missed some option ?

0 Kudos
2 Replies
Iffa_Intel
Moderator
69 Views

Greetings,

 

First of all, it is recommended for you to use the latest OpenVINO version 2021.3 and refer to the wiki section from the link I provide below.

Build the OpenVINO from source correctly according to your OS:

https://github.com/openvinotoolkit/openvino/wiki

 

Make sure you could successfully build it (means all pre-requisite had been installed & setup correctly)

 

I had attached the successfully OpenVINO 2021.3 built from source & I'm using Ubuntu 18.04

My steps are the same as this guide: https://github.com/openvinotoolkit/openvino/wiki/BuildingForLinux

 

NOTE: make sure you are using CMake* 3.13 or higher

 

Sincerely,

Iffa

Iffa_Intel
Moderator
31 Views

Greetings,


Intel will no longer monitor this thread since we have provided a solution. If you need any additional information from Intel, please submit a new question.


Sincerely,

iffa


Reply