[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Problems loading .dlls on windows
- From: Michael Gerbracht <smartmails@...>
- Date: Sun, 05 Jan 2014 10:34:27 +0100
In article
<CACZYt3QY6uhjBwub2LXAVJmevxEBnVN1tgNg1uk280es5sa2TA@mail.gmail.com>, Mateusz
Czaplinski <czapkofan@gmail.com> wrote:
> On Fri, Jan 3, 2014 at 1:42 PM, Michael Gerbracht
> <smartmails@arcor.de>wrote:
> > Can you suggest what I have to do to get it working? I have seen that you
> > can download lpeg sources - do I have to compile them? Is it possible to
> > use Visual Studio for that? Or is there a place I can download another
> > version of .dll? I have no experience with compiling C programs...
> I have neither experience with lpeg nor with NLua, unfortunately, but until
> someone more knowledgeable steps in, I'll try to help what I can...
> As to Visual Studio, I believe it should be able to build lpeg. I'd try to
> just put all the .c files of lpeg in one project in the IDE. IIRC, when you
> start a New Project, you have some wizards to choose, and one of them
> should allow you to make a DLL project. Remember to make it x64, but I
> believe you can do this only later somewhere in the Properties window or
> something. Also, I think x64 is not supported in some older versions of VS,
> and I'm also not sure if it is available in VS Express IDE; you might be
> good to google this before. Also in the Properties window you must add in
> correct place the path to directory containing lua.h (some kinda "Includes
> Path" or something).
Thanks for answer! It already helps me that you think recompiling will
probably solve the problem. I will give it a try. I already wrote programs in
C# and setting it to x64 is quite easy, so I hope it is the same for C.
Michael