lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,

Not sure if this is the right place to post this... but it will probably do for a start.  Trying to use LuaCOM.  I am using LUA 5.0.2.  I am trying to statically link in LuaCOM.

I've built a static LuaCOM library, using the same options (triple checked) as the Lua library I've been using.  I am forcing a C++ compile on both libraries.

When I attempt to link the executable I get a LOT of linker errors:

[Linker Error] Unresolved external '_luaCompat_openlib' referenced from E:\BLACKDOG\KIBBLE\TRUNK\LUACOM\LUACOM.LIB|luacom
[Linker Error] Unresolved external '_lua_pushstring' referenced from E:\BLACKDOG\KIBBLE\TRUNK\LUACOM\LUACOM.LIB|luacom
[Linker Error] Unresolved external '_luaCompat_moduleCreate' referenced from 

... you get the idea.  Normally this is caused by something I've done wrong (usually compile options or missing a #define somewhere - but darned if I can figure this one out.

Any ideas?  Oh, and if it helps, the development environment is Borland's C++ Builder 6

Thanks
Terry