build system fails to find correct sip.h even though SIP_INCLUDE_DIR is set
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
I had to build my own sip, which I installed in a prefix in my home directory. I set the SIP_EXECUTABLE, SIP_INCLUDE_DIR and SIP_PYQT_DIR variables, but still cmake picked up the wrong SIP header, which resulted in a compiler error. Once I had uninstalled my system's sip-dev package, building vtk worked.