Add the Meshlib,
disable one waring by using #pragma warning (disable:4996)
fix a warning by initialize the local variable z