如何获得Visual Express 2010找到我的python.h头文件? [英] How do I get Visual Express 2010 to find my python.h header file?
本文介绍了如何获得Visual Express 2010找到我的python.h头文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经做了搜索,但我找不到我搜索的内容。
我想使用C ++和Visual C ++ Express 2010创建一个Python模块。
现在,我需要包含Python.h,但是当我编译它说它找不到Python.h。
I already did a search, but I just couldn't find what I searched for. I want to create a Python Module using C++ and Visual C++ Express 2010. Now, I need to include Python.h, but when I compile it says it couldn't find Python.h. How do I give my VC the Python header file ?
推荐答案
告诉IDE所在的头文件:
Tell IDE where header is located:
项目 - >属性 - > C / C ++ - >其他包含目录
Project -> Properties -> C/C++ -> Additional Include Directories
这篇关于如何获得Visual Express 2010找到我的python.h头文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文