- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to convert an application from computer_vision_sdk_2018.5.456 to the latest openvino_2020.3.341 LTS release.
I am able to run compile and run the demo inference. However I am having difficulty enabling the inference engine in a new project.
When I attempt to load the Core class there is a memory exception:
#pragma once
#include <inference_engine.hpp>
#include <ie_core.hpp>
InferenceEngine::Core core; *Memory Exception
int main() {
std::cout << "core loaded" << "\n";
return 0;
}
*Unhandled exception at 0x00007FFC408D96C9 in Inference_VS2019.exe: Microsoft C++ exception: InferenceEngine::details::InferenceEngineException at memory location 0x000000C45D6FF5F0.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Removing all related *.dll from the project folder and building from linked library seems to have fixed this.
The real fix was posting the question so that I would immediately find the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have the same problem, ov::Core leads to a memory exception. But deleting the *.dll files from my project folder and just using setupvars.bat didn't solve the problem for me.
Can you specify what exactly you mean by "Building from linked library" please?
I installed openvino using the installer, the other tools by the corresponding command line arguments declared on the website and the development tools with the command line tool as described on the website.
Regards
Niclas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Greetings.
Glad to know that you had found the solution.
If you have no further inquiries, shall I close this thread?
Sincerely,
Iffa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page