On my pc with latest ati drivers i get the following from the log:
18:11:59 Vertex shader was successfully compiled to run on hardware.
18:11:59 Fragment shader was successfully compiled to run on hardware. WARNING: 0:3: warning(#239) Declaration should include a precision qualifier or the default precision should have been previously declared
18:11:59 Fragment shader(s) linked, vertex shader(s) linked. WARNING: 0:3: warning(#239) Declaration should include a precision qualifier or the default precision should have been previously declared

I also tried lowering the version in the shaders but no cube visible yet ... But then again the cpp original also shows a black screen on my pc...