2014-12-03 83 views
0

我運行Windows 8(64位),並試圖建立的Lua按照這裏的說明:http://www.thijsschreijer.nl/blog/?p=863錯誤試圖使用MinGW編譯的Lua在Windows 8

[這是不相關的,但我的理由在這我不能得到luarocks工作放在首位這樣做。]

我按照所有的信中的說明,安裝MinGW的,添加到我的PATH變量等

錯誤窗口出現與以下信息:

as.exe - Entry Point Not Found 
The procedure entry point libintl_setlocale could not be located in the dynamic link library 
c:\mingw\bin\..\lib\gcc\mingw32\4.8.1\..\..\..\..\mingw32\bin\as.exe 

然後約「as.exe has stopped working

錯誤消息在它打印命令行:

c:\temp\lua-5.1.5>make mingw 
cd src && make mingw 
make[1]: Entering directory `/c/temp/lua-5.1.5/src' 
make "LUA_A=lua51.dll" "LUA_T=lua.exe" \ 
     "AR=gcc -shared -o" "RANLIB=strip --strip-unneeded" \ 
     "MYCFLAGS=-DLUA_BUILD_AS_DLL" "MYLIBS=" "MYLDFLAGS=-s" lua.exe 
make[2]: Entering directory `/c/temp/lua-5.1.5/src' 
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -c -o lua.o lua.c 
make[2]: *** [lua.o] Error 1 
make[2]: Leaving directory `/c/temp/lua-5.1.5/src' 
make[1]: *** [mingw] Error 2 
make[1]: Leaving directory `/c/temp/lua-5.1.5/src' 
make: *** [mingw] Error 2 

我完全失去了對如何解決這一問題。

回答

0

更新:我通過在計算機中搜索名爲「libintl-8.dll」的所有文件並暫時重命名它們來解決此問題。在我的單獨的,不相關的「Lua for windows」程序文件中,在clibs文件夾中有另一個同名的文件。顯然它干擾某種方式。