wsl配置见 https://blog.csdn.net/bengqian1670/article/details/89222006
编译过程中报错如下:
st/include/python3.9
/usr/bin/ld: cannot find -lboost_python
collect2: error: ld returned 1 exit status
报错原因: 原文中 libboost_python 软链接创建过程可能存在问题。
解决方法:
将
sudo ln -s libboost_python-py36.so libboost_python3.so
sudo ln -s libboost_python-py36.a libboost_python3.a
改为
sudo ln -s libboost_python-py36.so libboost_python.so
sudo ln -s libboost_python-py36.a libboost_python.a