- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Everyone,
I've created an inference wrapper class for .net. This has worked well in the past versions until 2020.2 released today. Some of the APIs have been moved to nGraph. I've modified my code to reflect the API change. When I compiled I encountered the errors below: My question is. is std::mutex (within ngraph) not compatible with /clr ? If so, is there a work around?
1>C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\ngraph\include\ngraph\factory.hpp(27,21): error C2039: 'mutex': is not a member of 'std'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\mutex(30): message : see declaration of 'std'
1>C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\ngraph\include\ngraph\factory.hpp(27,26): error C2143: syntax error: missing ';' before '&'
1>C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\ngraph\include\ngraph\factory.hpp(27,26): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\ngraph\include\ngraph\factory.hpp(27,48): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\ngraph\include\ngraph\runtime\backend.hpp(183,17): error C2039: 'mutex': is not a member of 'std'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\mutex(30): message : see declaration of 'std'
1>C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\ngraph\include\ngraph\runtime\backend.hpp(183,28): error C3646: 'm_mtx': unknown override specifier
1>C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\ngraph\include\ngraph\runtime\backend.hpp(183,28): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I apologize for the delay in response. This issue is still under review with the Engineering Team. It seems to be a bug and has not been resolved yet.
I will keep you updated on the status of this bug.
Best Regards,
Sahira
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sahira,
I faced the same problem with OpenVino 2022.2.
Is there any fixing planned?
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm running into the same issue with upgrading a .NET wrapper to use the 2021.3 release. Has there been any movement or a workaround on this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page