search

Home  >  Q&A  >  body text

c++ - 引用opencv2.framework的错误

当我引用opencv2.framework,并运行程序时,已经加载完所有内容。但是出现以下崩溃,有没有人知道什么问题呢,求大神解答

识别图片时报如下错误:

怪我咯怪我咯2774 days ago439

reply all(1)I'll reply

  • 黄舟

    黄舟2017-04-17 13:43:26

    ... From a simple perspective, the value of parameter __s is NULL, and if strlen is used for it, of course the program will crash
    The possible reason is your

    • Forgot to allocate memory

    • Memory allocated and released manually

    • Memory allocated and passively released

    • Other problems caused the pointer to point off-track

    In short, the program flew. .

    reply
    0
  • Cancelreply