Jump to content

  • Log In with Google      Sign In   
  • Create Account

Calling all IT Pros from Canada and Australia.. we need your help! Support our site by taking a quick sponsored surveyand win a chance at a $50 Amazon gift card. Click here to get started!


zbra

Member Since 07 Oct 2012
Offline Last Active Oct 09 2012 07:59 PM

Topics I've Started

compiling lua for luainterface

07 October 2012 - 08:08 PM

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!

PARTNERS