Advertisement

compiling lua for luainterface

Started by October 08, 2012 02:08 AM
-1 comments, last by zbra 12 years, 2 months ago
Hi

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!

This topic is closed to new replies.

Advertisement