Search code examples
c++pythonvisual-c++-2010-express

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


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 ?


Solution

  • Tell IDE where header is located:

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