lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Here is the output:

E:\Lua\alien>nmake /f makefile.win64

Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

       cl /c /MD /Fosrc\alien\core.obj /O2 /DWINDOWS /Ic:\usr\local\include /Il
ibffi\win32 src\alien\core.c
Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.

core.c
src\alien\core.c(308) : error C2065: 'FFI_STDCALL' : undeclared identifier
src\alien\core.c(308) : error C2099: initializer is not a constant
src\alien\core.c(836) : error C2440: ':' : cannot convert from 'void' to 'const
char *'
src\alien\core.c(1060) : error C2440: ':' : cannot convert from 'void' to 'const
char *'
src\alien\core.c(1422) : error C2079: 'alienlib' uses undefined struct 'alienlib
'
src\alien\core.c(1422) : error C2078: too many initializers
src\alien\core.c(1452) : warning C4133: 'function' : incompatible types - from '
const luaL_reg []' to 'const luaL_Reg *'
NMAKE : fatal error U1077: '"E:\Munka\Programok\Microsoft Visual Studio 10.0\VC\
BIN\amd64\cl.EXE"' : return code '0x2'
Stop.

E:\Lua\alien>



2011/3/1 Fabio Mascarenhas <mascarenhas@acm.org>:
> It does work with Windows x64, you should be bumping into some
> incompatibility between the APIs of Lua 5.1 and Lua 5.2. It is for Lua
> 5.1, after all. :-) What is the error message?
>
> --
> Fabio Mascarenhas
>
>
> On Tue, Mar 1, 2011 at 6:35 AM, Attila <ejjeliorjarat@gmail.com> wrote:
>> Hello list!
>>
>>
>>
>> Is there any way to compile alien FFI library with Lua5.2 on Windows 7 x64
>> system? I just tried Mascarenhas’ github project @
>> https://github.com/mascarenhas/alien, but I am unable to compile it with
>> nmake /f makefile.win64 – maybe I am wrong, but I think this is the right
>> way to compile with makefiles. By the way, it’s README file writes that:
>>
>> „Alien works on Unix-based systems and Windows. It has been tested on Linux
>> x86,
>>
>> Linux x64, Linux ARM, FreeBSD x86, Windows x86, OSX x86, and OSX PPC. The
>> Windo$
>>
>> binary uses MSVCR80.DLL for compatibility with LuaBinaries.”
>>
>> Windows x64 isn’t there, but I guess it should work, it’s just not tested
>> yet. Any idea?
>>
>>
>>
>> Thanks in advance,
>>
>> Attila
>
>