1.undefined reference to XXX 问题原因
1)XXX所在的so库等未指定
2)XXX在类中实现的时候没有加上类::函数的格式
2. was not declared in this scope问题