So I'm working on implementing scripting in my game, but every time I try to build it gives me linker errors with LuaPlus.
I linked in the luaplus_1100.lib file, and all of the other lua calls that I've used so far (luastateowner and such) work fine. I've tried using the ones from the third party files from the book, as well as directly from luaplus.org, and both gave the same issue.
Could I be doing something wrong, or perhaps the libraries aren't up to date? If so, I could use some tips on building the source form their website, because I've tried and can't figure it out.
Source Code
- error LNK2019: unresolved external symbol "public: class LuaPlus::LuaObject __thiscall LuaPlus::LuaObject::GetByIndex(int)const " (?GetByIndex@LuaObject@LuaPlus@@QBE?AV12@H@Z) referenced in function "public: virtual void __thiscall IScene::VOnAttach(void)" (?VOnAttach@IScene@@UAEXXZ)
- error LNK2019: unresolved external symbol "public: unsigned int __thiscall LuaPlus::LuaObject::GetCount(void)const " (?GetCount@LuaObject@LuaPlus@@QBEIXZ) referenced in function "public: virtual void __thiscall IScene::VOnAttach(void)" (?VOnAttach@IScene@@UAEXXZ)
- error LNK2019: unresolved external symbol "public: class LuaPlus::LuaObject __thiscall LuaPlus::LuaObject::operator[](char const *)const " (??ALuaObject@LuaPlus@@QBE?AV01@PBD@Z) referenced in function "public: virtual void __thiscall IScene::VOnAttach(void)" (?VOnAttach@IScene@@UAEXXZ)
I linked in the luaplus_1100.lib file, and all of the other lua calls that I've used so far (luastateowner and such) work fine. I've tried using the ones from the third party files from the book, as well as directly from luaplus.org, and both gave the same issue.
Could I be doing something wrong, or perhaps the libraries aren't up to date? If so, I could use some tips on building the source form their website, because I've tried and can't figure it out.