You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lua compiled modules should define LUA_LIB before including any lua header file so that LUA_API is correctly defined (__declspec(dllexport) will export the entry point)
With a very small change in the rockspec I managed to compile
before:
Hi,
I'm trying to install Lrexlib-PCRE with luarocks under Windows (with the help of vcpkg).
When running 'luarocks install Lrexlib-PCRE' I get the following message:
The line 451 is:
REX_API is defined as a synonym for LUALIB_API (common.h)
LUALIB_API is a synonym for LUA_API (luaconf.h):
The problem is that (under Windows) LUA_API is a conditional define (luaconf.h):
Lua compiled modules should define LUA_LIB before including any lua header file so that LUA_API is correctly defined (__declspec(dllexport) will export the entry point)
With a very small change in the rockspec I managed to compile
before:
after:
Can you update the rockspec ?
The text was updated successfully, but these errors were encountered: