这是我使用boost进行python扩展的第一次尝试.有人可以帮助我理解导致编译错误的原因吗?
#include
user @ host:〜$g main.cpp -o test.so
In file included from /usr/include/boost/python/detail/prefix.hpp:13:0,from /usr/include/boost/python/module.hpp:8,from main.cpp:8:
/usr/include/boost/python/detail/wrap_python.hpp:50:23: fatal error: pyconfig.h: No such file or directory compilation terminated.
最佳答案
原文链接:https://www.f2er.com/linux/440125.html