Skip to content

Invoke msvc from the luarocks installer instead of mingw-gcc #196

@brian6932

Description

@brian6932

Is there a way to do this? I tried to install the module with luarocks, but it tries to use mingw, even though the repo has msvc scripts.

❯ luarocks install Lua-cURL --server=https://luarocks.org/dev CURL_INCDIR="$(scoop prefix curl)/include" CURL_DIR=$(scoop prefix curl)
Installing https://luarocks.org/dev/lua-curl-scm-0.rockspec


lua-curl scm-0 depends on lua >= 5.1, < 5.5 (5.4-1 provided by VM: success)
x86_64-w64-mingw32-gcc /arch:AVX512 /EHsc -c -o src/l52util.o -I~/scoop/apps/lua/current/include src/l52util.c -IC:\ProgramData\scoop\apps\curl\current/include
'x86_64-w64-mingw32-gcc' is not recognized as an internal or external command,
operable program or batch file.

Error: Build error: Failed compiling object src/l52util.o

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions