2014-12-03 49 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文件夹中有另一个同名的文件。显然它干扰某种方式。