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

前端 未结 11 2317
轮回少年
轮回少年 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 10:59

    Found this on c#,VS 2017, emgu version 3.2.0.2682

    Tried a simple build on AnyCPU and received the bad format exception. So I tried x86 bad format exception because of possible suggestions in the comments. Finally I put it as x64 and it worked fine.

提交回复
热议问题