目前的环境
vs2017 python3.6.8
因为要用 seal 库,所以选择生成 dll 来方便 python 调用
样例 util.cpp
#include <iostream>
...
#include "seal/seal.h"
shared_ptr<SEALContext> createContext() { ... }
vector<string> { ... }
string hamming() { ... }
生成了 dll 和 lib 文件 但到 python 上调用就是 AttributeError: function not found
网上找了很多 csdn 的文章,没啥帮助,我还想移植到 linux 上
seal 库会有个 seal.lib 要用到
请求各位能帮个忙~
感激不尽