如何让boost.python教程示例与Python3链接:Raspberry Pi3/boost 1.72(linux)
我是个新手。我试图让boost.python运行,但没有成功 当我在/home/pi/Desktop/boost_1_72_0/libs/python/example/quickstart中输入b2时,我得到以下消息:如何让boost.python教程示例与Python3链接:Raspberry Pi3/boost 1.72(linux),python,c++,linux,boost,Python,C++,Linux,Boost,我是个新手。我试图让boost.python运行,但没有成功 当我在/home/pi/Desktop/boost_1_72_0/libs/python/example/quickstart中输入b2时,我得到以下消息: ...found 15 targets... ...updating 1 target... gcc.link embedding /usr/bin/ld: cannot find -lpython3.5 collect2: error: ld returned 1 exit s
...found 15 targets...
...updating 1 target...
gcc.link embedding
/usr/bin/ld: cannot find -lpython3.5
collect2: error: ld returned 1 exit status
"g++" -L"/usr/lib" -Wl,-rpath -Wl,"/usr/lib" -o "embedding" -Wl,--start-group "embedding.o" -Wl,-Bstatic -Wl,-Bdynamic -lboost_python -ldl -lpthread -lutil -lpython3.5 -Wl,--end-group -fPIC -g
...failed gcc.link embedding...
...failed updating 1 target...
user-confi.jam文件包含以下行:
using python : 3.5 : /usr/bin/python3.5 : /usr/include/python3.5 : /usr/lib ;
现有:
/usr/bin/python3.5(文件)
/usr/include/python3.5(目录)
但是,没有像/usr/bin/ld这样的目录
我做错了什么
非常感谢您的支持