add compliation error reporting. initial library support