[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: problem compiling luasocket for lua 5.2 for VS2012
- From: "Black, James A." <blackja@...>
- Date: Thu, 2 May 2013 11:11:04 -0400
Thank you, that was a typo.
I have the same errors, but when I look in the c compilations I see this:
luasocket.c
c:\users\jb9\downloads\luasocket\src\luasocket.h(26) : fatal error C1189: #error : Lua 5.2 requires LUA_COMPAT_MODULE defined for luaL_openlib
So I used this command to try to resolve that:
cl /MD /O2 /W3 /c /nologo /DLUA_COMPAT_MODULE /DWIN32_LEAN_AND_MEAN *.c
I still have the 5 unresolved externals for socket.lib
-----Original Message-----
From: lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org] On Behalf Of Thomas Buergel
Sent: Thursday, May 02, 2013 11:01 AM
To: Lua mailing list
Subject: RE: problem compiling luasocket for lua 5.2 for VS2012
> set INCLUDE=C:\Users\jb9\Downloads\lua-5.2.2\src;%INCLUDE%
> set C:\Users\jb9\Downloads\lua-5.2.2\src;LIB=%LIB%
Didn't you mean:
set LIB=C:\Users\jb9\Downloads\lua-5.2.2\src; %LIB%
?