[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LuaJIT-2.0.0-beta8 compilation fails on Windows 7 using Visual Studio 2010
- From: Mike Pall <mikelu-1108@...>
- Date: Fri, 5 Aug 2011 22:14:18 +0200
brav sein wrote:
> I've been getting myself into the topic of LuaJIT recently, and have now
> tried to compile LuaJIT-2.0.0-beta8 on my Windows 7 (64 bit) machine, using
> Visual Studio 2010.
> (Building LuaJIT-1.1.7 worked just fine)
>
> As suggested in the manual, I ran the "msvcbuild.bat" file, and got a bunch
> of linker errors at the end of compilation, which I have included at the end
> of my email (the warnings on top are not related, but I added them as they
> might contain something useful too)
Well, something went royally wrong there. LuaJIT compiles with
zero warnings with the Windows SDK (which contains just the
command line compiler from Visual Studio).
First, it looks like a 32 bit build (which is probably not what
you want). And other errors look like builtins are disabled, but
some extra warnings are enabled and so on. Really strange. Maybe
the environment variables are not properly set up. Or are you
trying to do a managed C++ build (that's not going to work)?
I don't have VS2010, so I can't say much about it. But it ought to
work (it certainly does with VS2008). Maybe try to install the
Windows SDK (it's free)?
--Mike