jmorton06 / Lumos

Cross-Platform C++ 2D/3D game engine
MIT License
1.21k stars 130 forks source link

build error with lua #138

Open yingnierxiao opened 1 month ago

yingnierxiao commented 1 month ago

cd Lumos msbuild /p:Platform=x64 /p:Configuration=Release Lumos.sln

0>lua.lib(lapi.obj): Error LNK2005 : lua_atpanic 已经在 lua51.lib(lua51.dll) 中定义 0>lua.lib(lapi.obj): Error LNK2005 : lua_copy 已经在 lua51.lib(lua51.dll) 中定义 0>lua.lib(lapi.obj): Error LNK2005 : lua_createtable 已经在 lua51.lib(lua51.dll) 中定义 0>lua.lib(lapi.obj): Error LNK2005 : lua_error 已经在 lua51.lib(lua51.dll) 中定义 0>lua.lib(lapi.obj): Error LNK2005 : lua_gc 已经在 lua51.lib(lua51.dll) 中定义

jmorton06 commented 1 month ago

Not sure why that’s happening sorry. The lua hasn’t changed. Doesn’t work building inside visual studio?