>> {unresolved external symbol "void __cdecl lua_open(void)}
Others were just discussing C/C++ name mangling, and I'm guessing that
it's your problem too (at least that's the type of error you'd expect),
try:
extern "C"
{
#include "lua.h"
}
Cheers,
Dave