Fix build error, Add ioapi_mem.cpp to project.