我想在visual studio下編譯Lua 5.2 alpha,但是出現錯誤,我不知道如何解決它們。在VS2010下編譯Lua 5.2 alpha
error LNK1169: one or more multiply defined symbols found
error LNK2005: _main already defined in lua.obj
我會很感激,如果任何人都可以指導我通過創建爲lua 5.2 alpha上VS2010解決方案,或點我到相關資源。
在此先感謝。
準確的信息我一直在尋找,謝謝。 – Raine 2011-06-12 13:55:47
@Raine,這在http://www.lua.org/work/doc/#other中有記錄,它包含在tarball中。 – lhf 2011-06-13 00:05:44
@lhf,謝謝。我正在處理一個.net Lua解釋器,跟隨你的C源代碼。我不得不擱置基於DLR的IronLua。奇怪的是,Lua很難在.net上移植。 – Raine 2011-06-13 08:26:01