使用extern遇到undefined reference to
2019-03-18 本文已影响0人
zzl93
在使用extern过程中正常定义、声明、引用。结果报错:undefined reference to


其原因在于我忘记在cmakelists 添加提供定义的native-mum.c库

学习extern关键字https://www.cnblogs.com/codingmengmeng/p/7220119.html
在使用extern过程中正常定义、声明、引用。结果报错:undefined reference to