almeetb:

but I noticed some extra include_dirs in my setup.py that was not needed.


Did you solve it by removing these dirs?
I just tried to build the tutorial C++ extension and it works with fine, if I include extension.h.