Skip to content

Build failing on Win10, LuaJIT, MinGW #13

@bbblitz

Description

@bbblitz

Installing through luarocks gives this error:

C:\Users\Alex\Desktop>luarocks install lua-llthreads
Installing https://luarocks.org/lua-llthreads-1.2-1.src.rock...
Using https://luarocks.org/lua-llthreads-1.2-1.src.rock... switching to 'build' mode
mingw32-gcc -O2 -c -o src/pre_generated-llthreads.nobj.o -IC:/My/LuaJIT/Install/Directory// src/pre_generated-llthreads.nobj.c
src/pre_generated-llthreads.nobj.c: In function 'Lua_LLThread__start__meth':
src/pre_generated-llthreads.nobj.c:1136:3: error: unknown type name 'bool'
   bool start_detached_idx2 = lua_toboolean(L,2);
   ^
src/pre_generated-llthreads.nobj.c:1137:3: error: unknown type name 'bool'
   bool res_idx1 = 0;
   ^
src/pre_generated-llthreads.nobj.c:1152:13: error: 'true' undeclared (first use in this function)
  res_idx1 = true;
             ^
src/pre_generated-llthreads.nobj.c:1152:13: note: each undeclared identifier is reported only once for each function it appears in
src/pre_generated-llthreads.nobj.c: In function 'Lua_LLThread__join__meth':
src/pre_generated-llthreads.nobj.c:1161:3: error: unknown type name 'bool'
   bool res_idx1 = 0;
   ^
src/pre_generated-llthreads.nobj.c:1202:14: error: 'false' undeclared (first use in this function)
   res_idx1 = false;
              ^

Error: Build error: Failed compiling object src/pre_generated-llthreads.nobj.o

Installing manually with
luarocks install https://github.com/Neopallium/lua-llthreads/raw/master/rockspecs/lua-llthreads-scm-0.rockspec
works as expected.
Update please!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions