编译lua时,需要更改编译选项。参考:

https://blog.csdn.net/quantum7/article/details/106175032