lua编译问题 原生Lua编译时未经过C++的Name Mangling,所以在C++工程中需要用extern "C"关键字来包含以下头文件: extern "C" {#include "Lua.h"#include "LuaLib.h"#include "LauxLib.h"} posted on 2012-09-29 09:55 孤注一掷 阅读( ...) 评论( ...) 编辑 收藏 转载于:https://www.cnblogs.com/bitxj/archive/2012/09/29/2708056.html