The readme file states that this command can be used for compilation:
fpc -CX -XX -O3 -Mdelphi -FUunits -Fualib medet.dpr
However, the "units" directory doesn't exist and this command will fail. The directory must be created first (the build_medet.sh script does this).