Closed fischermario closed 4 years ago
Hi @fischermario,
Please try one of the following and adjust to your env: Without Python API wrapper: $ /home/nvidia/cmake-3.14.4/bin/cmake \ -DCMAKE_BUILD_TYPE=Release \ -DENABLE_SAMPLES=ON \ -DENABLE_GNA=OFF \ -DENABLE_SSE42=OFF \ -DTHREADING=SEQ \ -DENABLE_CLDNN=ON \ -DENABLE_MKL_DNN=OFF \ -DENABLE_PYTHON=OFF \ .. $ make -j4
With Python API wrapper:
Install all additional packages:
$ cd ~/openvino/inference-engine/ie_bridges/python pip install -r requirements.txt
$ /home/nvidia/cmake-3.14.4/bin/cmake \ -DCMAKE_BUILD_TYPE=Release \ -DENABLE_SAMPLES=ON \ -DENABLE_GNA=OFF \ -DENABLE_SSE42=OFF \ -DTHREADING=SEQ \ -DENABLE_CLDNN=ON \ -DENABLE_MKL_DNN=OFF \ -DPYTHON_EXECUTABLE=/usr/bin/python3.5 \ -DPYTHON_LIBRARY=/usr/lib/aarch64-linux-gnu/libpython3.5m.so \ -DPYTHON_INCLUDE_DIR=/usr/include/python3.5 \ .. $ make -j4
For more information refer to the Additional Build Options section.
Regards, Luis
@fischermario previous versions of OpenVINO had a bug in setupvars
script and the don't set path to ngraph libraries. Now, it does (see https://github.com/openvinotoolkit/openvino/blob/master/scripts/setupvars/setupvars.sh#L70-L73). Could you please check if this is reproduced if provided script is used? Or you can manually add path to libs in LD_LIBRARY_PATH
It seems that the issues is not actual anymore. Closing it. Feel free to reopen it or create a new one,
I want to build dldt on a Jetson Nano to do inferencing with a NCSv2. The system is based on Ubuntu 18.04 (bionic) and ships with an outdated version of cmake (3.10.2). I have built a custom version of cmake (3.14.1) that I know to be working well.
All my steps from here on are based on these two documents:
https://github.com/opencv/dldt/blob/2020/build-instruction.md#build-for-raspbian-stretch-os https://software.intel.com/en-us/articles/ARM64-sbc-and-NCS2
I have built and installed OpenCV 4.3.0 beforehand. After that I did the following:
The process got interrupted by the follwing error:
It seems that there is a problem with some symbols in the libinference_engine.so library. To skip building the samples I have changed the cmake parameters:
Unfortunately this produces another similar error while trying to build myriad_perfcheck:
I need the Myriad plugin to be built and there is no cmake parameter to skip building myriad_perfcheck, so I have commented out the following lines at the end of
inference-engine/tools/vpu/vpu_perfcheck/CMakeLists.txt
:With these changes I can successfully build dldt. Can you please look into this?
Thank you!