[Geany] geanylua question

Andreas Mokros am at xxxxx
Wed Apr 23 07:56:44 UTC 2008


Hi.

I tried to use some additional lua-modules on windows e.g. with:
require 'winman'
It seems that the correct path to the module has to be added to
LUA_CPATH (can be done with package.cpath) for "require" to work.
But then the loaded module looks for lua51.dll. Some default behaviour I
guess. I copied libgeanylua.dll as lua51.dll to Geany's program
directory and that seems to do the trick.
Apparently libgeanylua sees Geany's program directory as its working
directory?
Is there a better way to do this? Maybe a modification to libgeanylua?

-- 
Mockey



More information about the Users mailing list