You are on a unix machine. I am windering if this will even work ?
These program is a Wnidows GUI program. The idea was to load up Lazarus and then load this into your system using what ever you use for the Linux port of GUI code.
But in any case, looking in the files of the compiler I see in the Source/Packages/Graph/Unix
etc
But I don't think this will be the only error you will encounter since there are more UNITS there that will most likely fail the same way..
If you look at the code in the WriteString method of the TForm you can then see what I did as for taking a RawByteString to be used as the source for the string output..
each Character which will only be single byte types will get converted to a UTF8 string using the lconvEncoding function. that would be the string you actually print to console.
In my example I printed it to a TImage which is being used as the SCREEN …