I am trying to compile the source codes for a simulator which uses C++ and Python. However, it gives me this error:
Error: can't find Python.h header in ['path-to-my-python/include/python2.6']
Install Python headers (package python-dev on Ubuntu and RedHat)
However, I can see that the header file is there and I have set the path to it. How can I fix or diagnosis the problem?