libovmatting icon indicating copy to clipboard operation
libovmatting copied to clipboard

Get many errors like"error C4996: 'InferenceEngine::details::InferenceEngineException'" while build ovmatting.sln

Open Azarxxx opened this issue 2 years ago • 3 comments

Dear kingpeter2015 I'm now using visual studio 2019 to build ovmatting.sln ,but I get a lot of errors:

1>C:\Users\zjc83\source\repos\libovmatting\include\common.hpp(167,9): error C4996: 'InferenceEngine::details::InferenceEngineException': Use InferRequest::Exception

and at the end of the report ,there is an error goes

2>LINK : fatal error LNK1104: unable to open file“ovmatting.lib”

I have already installed openvino runtime ,so I suspect that whether I didn't configure the openvino environment in visual studio 2019 Could you please answer my confusion and give me some advices?

Thank you and hoping for your reply!

Azarxxx

Azarxxx avatar Apr 10 '22 15:04 Azarxxx

Please build 'ovmatting' first.

image

kingpeter2015 avatar Apr 11 '22 01:04 kingpeter2015

OK, thanks for reply, I have tried build 'ovmatting' first,but I met same error like this f2a6c2bb05879912cb822a44057ed97 It seems like the error is related to openvino's 'inference engine'

Azarxxx avatar Apr 11 '22 05:04 Azarxxx

Maybe you should downgrade your openvino version to 2021.2.185

kingpeter2015 avatar Apr 13 '22 10:04 kingpeter2015