Skip to content

如何在其他项目调用libeeasypr.lib #314

Open
@happyfox-dot

Description

@happyfox-dot

我下载好eaypr后成功编译生成了libeasypr.lib 但是我在其他项目里调用这个库会运行错误。能生成项目但就是运行的时候遇到异常并且中段、
控制台现实的代码是:OpenCV(3.4.10) Error: Assertion failed (fs.isOpened()) in cv::ml::ANN_MLP::load, file C:\build\3_4_winpack-build-win64-vc15\opencv\modules\ml\src\ann_mlp.cpp, line 1597

并且在base.hpp 文件下的函数中断
CV_INLINE CV_NORETURN void errorNoReturn(int _code, const String& _err, const char* _func, const char* _file, int _line)
{
error(_code, _err, _func, _file, _line);
#ifdef GNUC

if !defined clang && !defined APPLE

// this suppresses this warning: "noreturn" function does return [enabled by default]
__builtin_trap();
// or use infinite loop: for (;;) {}

endif

#endif
}
这个有解决方法吗?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions