ftcb> #include <lua.h> ftcb> int main() { ftcb> lua_State *s = lua_open(256); ftcb> return 0; ftcb> } You must use: extern "C" { #include <lua.h> } This is a C calling conversation missmatch. --Denq