Skip to content

想请教一下编译这个项目的流程是怎么样的? #61

Description

@iamxiaojianzheng

我尝试用CMakeGUI生成项目文件,CMAKE_INSTALL_PREFIX默认填了xxxx/wechat-ocr/buildCMAKE_CONFIGURATION_TYPES默认填了Release。然后我使用Visual Studio打开wechat-ocr项目,在解决方案中选择ALL_BUILD右键生成,最后我在build/Release下找到了wcocr.dll文件,我将其重命名为wcocr.pyd,然后使用import wcocr,发现并不能使用。

ImportError: dynamic module does not define module export function (PyInit_wcocr)

希望作者或者哪位大佬可以指导一二,感谢感谢😊

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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