其实解决办法很容易,到rtppack.cpp中加上头文件string.h就好了,就是#include<string.h> 转载于:https://www.cnblogs.com/rooney/archive/2012/07/04/2576947.html