记录16model的安装

2019-05-21  本文已影响0人  uurr

问题一:

找不到pybind11/pybind11.h文件
solved by pip install pybind11
pybind11 file is a header file linking between c++ and python

问题二:

ymw16.so cant link to the file of main.cpp
solved by change the link_args from -lm to -lstdc++ in setup.py.
reference:
(https://blog.csdn.net/weizehua/article/details/88305752)

上一篇下一篇

猜你喜欢

热点阅读