./myriad_compile -m ~/Developments/depthai/depthai-main/custom_ops/onx/model.xml -o ~/Developments/depthai/depthai-main/custom_ops/blob_out/model.blob -ip U8 -VPU_MYRIAD_PLATFORM VPU_MYRIAD_2480 -VPU_NUMBER_OF_SHAVES 4 -VPU_NUMBER_OF_CMX_SLICES 4
I am getting following error
dyld: Library not loaded: @rpath/libinference_engine.dylib
Referenced from: /opt/intel/openvino_2020.2.117/deployment_tools/inference_engine/lib/intel64/myriad_compile
Reason: image not found
anybody experienced ? we have any solution for this error??
Thank you for reaching out. I found out the same issue reported on the Apple Community and this kind of error is due to the different project configurations that amend a framework build for the app.
Refer to the Apple Community for the troubleshooting workaround.
Thus, what I can suggest to avoid the error is, you can run below commands to add rpath to myriad_compile, and to remove code signature:
sudo install_name_tool -add_rpath $(dirname $(find /opt/intel/openvino_2021.2.185 -name libinference_engine.dylib)) $MYRIAD_COMPILE
sudo codesign --remove-signature $MYRIAD_COMPILE
After that, you can try compile your model again.
Hi, I have installed this version and tried, still same issue !,
[setupvars.sh] OpenVINO environment initialized
% sudo install_name_tool -add_rpath $(dirname $(find /opt/intel/openvino_2021.2.185 -name libtbb.dylib)) $MYRIAD_COMPILE
/Library/Developer/CommandLineTools/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: /opt/intel/openvino_2021.2.185/deployment_tools/inference_engine/lib/intel64/myriad_compile
% sudo codesign --remove-signature $MYRIAD_COMPILE
% $MYRIAD_COMPILE -m ~/Developments/depthai/depthai-main/custom_ops/onx/model.xml -o ~/Developments/depthai/depthai-main/custom_ops/
dyld: Library not loaded: @rpath/libinference_engine_legacy.dylib
Referenced from: /opt/intel/openvino_2021.2.185/deployment_tools/inference_engine/lib/intel64/myriad_compile
Reason: image not found
zsh: abort $MYRIAD_COMPILE -m -o ~/Developments/depthai/depthai-main/custom_ops/
Sorry for your inconvenience and sorry for the miscommunication, actually you can also use your previous OpenVINO version.
Since you are getting error:
dyld: Library not loaded: @rpath/libinference_engine_legacy.dylib instead of
dyld: Library not loaded: @rpath/libtbb.dylib
Could you please try run once again with the following commands by replacing libtbb.dylib with libinference_engine_legacy.dylib:
Do come back to us if you face any issues.
Hi Rajesh Kumar Vn,
This thread will no longer be monitored since we have provided a solution. If you need any additional information from Intel, please submit a new question.