Compilation error with invalid type and undefined variables

In reply to Joker0208:

Look at the run.do script in the example you pointed to for assistance in compiling the code.