Ah, that's what you were hinting at. Do you have nokia-closed repository in your scratchbox? AFAIK the opengles-img-sgx development headers (which are in scratchbox) should have those.