fdjones38 / luaforwindows

Automatically exported from code.google.com/p/luaforwindows
0 stars 0 forks source link

require('lpeg') -- system error 14001 #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
On my "old home pc" (WindowsXP sp3 no last updates) script is aborted on line 
require('lpeg') with an error message "system error 14001".
lua.exe with some other modules is work fine on this pc.

On my "work pc" (WindowsXP Sp3 Updates+VisualStudio 2005 IDE) it is script is 
work fine.

Tested with
LuaForWindows_v5.1.4-45
LuaForWindows_v5.1.4-43

Solution

lua.exe and most modules has dll dependence (manifest) with 
name="Microsoft.VC80.CRT" version="8.0.50727.762" (vcredist sp1?)
(http://luaforwindows.googlecode.com/files/vcredist_x86.exe)

lpeg.dll has dll dependence with version="8.0.50727.4053".
It is KB973544 update. 
http://support.microsoft.com/kb/973544
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=14431

Мy problem was solved after installing this update.

Other modules with "wrong" dll dependence:
clibs/alien/core.dll:   version="8.0.50608.0"
clibs/alien/struct.dll: version="8.0.50608.0"
clibs/lpeg.dll:     version="8.0.50727.4053"
clibs/LuaXML_lib.dll:   version="8.0.50727.4053"
clibs/w32.dll:      version="8.0.50608.0"
examples/alien/tests/alientest.dll: version="8.0.50608.0"

Please rebuild  all the modules with a dependency on a single version of the 
dll library ("8.0.50727.762"?)

Original issue reported on code.google.com by mr.trifo...@gmail.com on 23 Jun 2011 at 6:51

GoogleCodeExporter commented 9 years ago
I will make those changes and also update the vcredist_x86.exe that it 
downloads to the latest.

Original comment by rpusz...@gmail.com on 11 Jul 2011 at 3:35

GoogleCodeExporter commented 9 years ago
Updated for the next release. Thanks for such a thorough issue report. 

Original comment by rpusz...@gmail.com on 11 Jul 2011 at 4:27