Link to home
Start Free TrialLog in
Avatar of rishaan
rishaan

asked on

C# with lua

I want to integrate Lua with C# ; Vs 2008 ; I am not able to find the LuaInterface .dll or Nlua dlls. CAn somebody suggest from where to get. I tried Nlua.org but it doesn't allow.
ASKER CERTIFIED SOLUTION
Avatar of Fernando Soto
Fernando Soto
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rishaan
rishaan

ASKER

Thanks a lot. I am trying to install that. So Lua Binaries will add the required dlls.  This is Lua Interface dlls or NLua.
Hi rishaan;

I have not used them myself but they are the dll's. When you add the Lua Binaries from NuGet the last panel on the right has a link to Product Information. If you click on that link it will bring you to a web page the quoted info below is from that page.

Motivation

Since Lua offers no standard set of libraries, many projects and teams have to build their own version of the Lua libraries and this can create binary incompatibilities among the resulting products.

Tecgraf/PUC-Rio and Kepler Project teams have a lot of shared products, so it made no sense to keep maintaining two (incompatible) sets of Lua libraries in parallel. While it would be nice to have a single standard for the whole Lua community, that is still not the reality. So both teams merged their requirements and now use a common set of files. Those files are called LuaBinaries and are available here for other Lua developers that want to use them.

Using a common set of libraries has some advantages for the developer:

Easier interoperability with other products based on LuaBinaries
Faster setup time for new Lua developers
If you need to recompile from sources and would like to ensure LuaBinaries compatibility, use the source package available at the LuaBinaries Download with no modifications. In fact the only change from the Lua.org package is the name of library and executable that use "luaXX" instead of "lua", where XX is the version
Avatar of rishaan

ASKER

Thanks a lot. i have got NLUa dlls.
Avatar of rishaan

ASKER

When I try to run- I see dll NLUa and  KeraLua; But it gives error - Unable to lOad DLL 'lua52'"The specified module could not be found . Any idea.
Avatar of rishaan

ASKER

The program compiles fine but gives error on running