The type initializer for 'Emgu.CV.CvInvoke' threw an exception

前端 未结 11 2310
轮回少年
轮回少年 2020-11-29 10:17

I\'m getting this error

The type initializer for \'Emgu.CV.CvInvoke\' threw an exception.

when I try to use Emgu CV. I\'ve tried

11条回答
  •  佛祖请我去吃肉
    2020-11-29 11:04

    For me problem was solved by clicking in Visual Studio:

    Menu -> Project -> Properties -> Build -> Prefer 32-bit.

    It must have been a problem with emgu (probably x86) and my OS x64).

提交回复
热议问题