pkmds-g5-sample.cpp compiles