Hi,
The compiler does not recognize commands defined in the private directories, so copy the files on the private directories one directory up. Also, be sure you are invoking the graphics libraries, for instance, I compile a C shared library using graphics with this instruction
mcc -B sgl -t -W...