Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Lua Development Tools » Lua Modules(I can't seem to get it to work)
Lua Modules [message #1244181] Wed, 12 February 2014 01:50 Go to next message
Zack Price is currently offline Zack PriceFriend
Messages: 2
Registered: February 2014
Junior Member
I made a module script and then I attempted to link it with the line:

exct = require "Executable Functions"

and then I get the error message of:

Exception in thread "main" com.naef.jnlua.LuaRuntimeException: ...product-win32.win32.x86\workspace\Project\script.lua:4: module 'Executable Functions' not found:
no field package.preload['Executable Functions']
no file '.\Executable Functions.dll'
no file '.\Executable Functions51.dll'
no file 'C:\Program Files (x86)\Java\jre7\bin\Executable Functions.dll'
no file 'C:\Program Files (x86)\Java\jre7\bin\Executable Functions51.dll'
no file 'C:\Program Files (x86)\Java\jre7\bin\clibs\Executable Functions.dll'
no file 'C:\Program Files (x86)\Java\jre7\bin\clibs\Executable Functions51.dll'
no file 'C:\Program Files (x86)\Java\jre7\bin\loadall.dll'
no file 'C:\Program Files (x86)\Java\jre7\bin\clibs\loadall.dll'
at com.naef.jnlua.LuaState.lua_pcall(Native Method)

Re: Lua Modules [message #1244570 is a reply to message #1244181] Wed, 12 February 2014 14:37 Go to previous message
Simon Bernard is currently offline Simon BernardFriend
Messages: 341
Registered: July 2009
Senior Member
It's weird, your lua_path seems to not be set correctly, this looks like a bug...
Could you tell me which version of LDT did you use ? on which platform ? where is your Executable Functions script ? where is your "exct = require "Executable Functions"" code ?

Previous Topic:LuaDocumentor help please
Next Topic:ldt debugger.lua in android or IOS platform
Goto Forum:

Current Time: Fri Jun 02 02:56:10 GMT 2023

Powered by FUDForum. Page generated in 0.02272 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top