-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Builing RealSense 2.42.0 with OpenVINO support results in - openvino-helpers.h:189:5: error: expected class-name before ‘{’ token #8456
Comments
Hi @jomoengineer As a starting point in investigating your case: if you need to use a VM with librealsense then Intel recommend using VMWare Workstation Player instead of Oracle VirtualBox in order to provide proper emulation of the USB 3 controller. https://github.com/IntelRealSense/librealsense/blob/master/doc/installation.md |
@MartyG-RealSense So that explains why the build is failing for the Raspberry PI as well? |
It might be an influencing factor but I would not like to say for sure without knowing more details about your Pi 4 setup. For example, when using Ubuntu with Pi instead of Raspbian, the last couple of cases I have seen that have been successful have involved Ubuntu Server. This subject is discussed in the recent ROS-related case below: |
@MartyG-RealSense The Raspberry Pi I am using is running The VirtualBox VM that is hosting Ubuntu 20.04 has USB3 support enabled with the RealSense device filters added. Note, I can build, install and run both OpenVINO ToolKit 2021.2.185 and RealSense 2.42.0 (Without OpenVINO support) individually on both the Raspbian and Ubuntu VM config and the RealSense camera is indented and usable in both the Raspbian and Ubuntu instances. The issue I am having, which is what I prefer to focus on in this issue, is that I see the posted error when attempting to build RealSense Release v2.42.0 (or v2.41.0) with OpenVINO support as listed in the RealSense OpenVINO Wrapper page at the bottom under Linux: I am curious if anyone else is successful in building RealSense with OpenVINO support as shown in the Linux example? |
I note that you are using OpenVINO ToolKit 2021.2.185. Compatibility up to OpenVINO 2020 was added in SDK 2.41.0. I would therefore recommend using OpenVINO 2020 with the OpenVINO wrapper examples if it is possible for you to downgrade. |
@MartyG-RealSense You can close this issue. I have no interest in pursuing it any further and will seek another vendor option. |
I'm sorry that you have not had a smooth experience with your OpenVINO implementation. I will feed your comments back to Intel. |
Just a note, with OpenVINO 2020.3 on the Raspberry Pi, it gets different error, although I believe this is due to ngraph not being ported on the Raspberry Pi.
|
Thanks very much for your patience and the additional information, which will be included in discussion with Intel about your problems in this case. Given that the RealSense OpenVINO wrapper makes use of pre-trained models from the Open Model Zoo and the link below states that the Zoo demo applications need to be downloaded separately on Raspberry Pi for the Raspbian version of OpenVINO, it may be worth trying that Zoo download. |
@MartyG-RealSense These are the links I have been following for OpenVINO and OMZ: I have previously posted an issue with regards to ngraph and bulding the OMZ Python Demos on the Raspberry Pi 4: I'll have to look through the config and see if I can remove references to YOLO and then see if it builds. |
Thanks very much @jomoengineer for the detailed update - I look forward to your next report after the tests described above. Good luck! |
Hi @jomoengineer Do you have an update about your case that you can provide, please? Thanks! |
@MartyG-RealSense Are you with Intel? I was hoping that someone from Intel would chime in on this. I complete my review of the product but would like to find a solution for this issue. My preference would be to use the 2021.2 version rather than the older 2020 Release since there are differences in the demo naming structure and use. |
I am a RealSense support engineer with Intel, yes. At the present time, support is offered up to OpenVINO 2020. I do not have information regarding support for newer OpenVINO versions at a future date. |
Okay. You can close this. I have not interest in pursuing this further. I'll just mark it us unsupported. |
Issue Description
While compiling RealSense 2.42.0 with OpenVINO support from source on either a Raspberry Pi 4 or an Ubuntu 20.04 VM, the build fails with the following error:
The CMake command used is:
The text was updated successfully, but these errors were encountered: