Members - Reputation: 103
Posted 07 October 2012 - 08:08 PM
I am trying to compile the Lua 5.1 sources with Visual Studio 2012 and then add the dll as a reference to the Luainterface 2.x source. Compilation is no problem but when I try to add the Lua51.dll as a reference to the Luainterface project, I get an error saying that "The dll cannot be loaded .... make sure this is a valid COM object or assembly".
The way I compile the Lua source is by simply creating an empty project and adding the header/source files. Do I have to change any settings before building?
I know that there are binaries available out there but I would like to go through the whole process myself. What am I doing wrong?
Thanks a lot for any help!