Friday, 23 August 2013
how to use / include lpeg luapeg re module
how to use / include lpeg luapeg re module References ATM I\'m trying to execute lua files from my application, this works with the basic lua. I\'m using a borland compiler (builder 3, just don\'t ask >.<) Now I\'m trying to use lpeg via the re module. I\'ve added the lpeg directory to the LUA_PATH environment variable. This directory includes re. lua, lpeg.dll from LuaForWindows and the *.c files. Now when I try to start my script I get the error error loading module \'lpeg\' from file \'lpeg.dll\': lpeg.dll:1: syntax error near char(144) The same script runs perfectly in the IExecutor from LuaForWindows. I guess I\'ve setup my lua environment completely wrong. Where do I put the dll? Do I have to build it myself with my compiler? (tried, but failed) Thanks in advance.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment