gengyong/luaaa

multiple link errors

urosidoki opened this issue · 1 comments

Hi!

Probably is my fault, but I was wondering if you had this problem before.

I just included luaaaa.h and added this line on a class: luaaa::LuaClass luaCat(mLuaState, "MyLuaComponent");

But when I compile I got link errors:
5>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
5>CLua.lib(lauxlib.obj) : error LNK2001: unresolved external symbol __imp_freopen
5>CLua.lib(lauxlib.obj) : error LNK2001: unresolved external symbol __imp_ferror
5>CLua.lib(lauxlib.obj) : error LNK2001: unresolved external symbol __imp_feof
5>CLua.lib(lauxlib.obj) : error LNK2001: unresolved external symbol __imp_strerror
5>CLua.lib(lvm.obj) : error LNK2001: unresolved external symbol __imp_strcoll

Any help would be appreciated :)

Cheers!

Nevermind! I found the problem.

Cheers!