是因为有编译开关的原因, 在debug下是正常的, 在release下,编译开关无效了, 所以要把编译开关打开, 才能找到 函数。 转载于:https://www.cnblogs.com/brig17568/p/6523157.html