How do I get Visual Express 2010 to find my python.h header file?

后端 未结 2 2022
小蘑菇
小蘑菇 2021-01-28 01:59

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, b

相关标签:
2条回答
  • 2021-01-28 02:28

    Tell IDE where header is located:

    Project -> Properties -> C/C++ -> Additional Include Directories

    0 讨论(0)
  • 2021-01-28 02:36

    You either have to set the path to to the python include files in your IDE. Navigate to Tools | Options | Projects and Solutions | VC++ Directories and add the path under Include Directories.

    0 讨论(0)
提交回复
热议问题