Years later I finally got around to try this stuff again ..
I now have a build of latest pd and Gem from git using gl4es, all inside
@ptitSeb 's extended code::blocks environment.
Audio is not working yet, but I'm actually looking to make a little graphics toy with this (audio in would be nice for that though).
Now I need to dive back into the whole pnd creation thing, but first tests of this are pretty good.