Skip to content
This repository has been archived by the owner on Sep 10, 2023. It is now read-only.

MLua can't be built on Windows #1

Open
dsisnero opened this issue Mar 28, 2023 · 3 comments
Open

MLua can't be built on Windows #1

dsisnero opened this issue Mar 28, 2023 · 3 comments

Comments

@dsisnero
Copy link

       Compiling os_pipe v1.1.3
    error: argument must be a string literal
       --> F:\windows\tools\rust\.cargo\registry\src\github.com-1ecc6299db9ec823\mlua-0.8.7\build/main.rs:104:9
        |
    104 | /         "Vendored (static) builds are not supported for modules on Windows.\n"
    105 | |             + "Please, use `pkg-config` or custom mode to link to a Lua dll."
        | |_____________________________________________________________________________^
    
    error: could not compile `mlua` due to previous error
    warning: build failed, waiting for other jobs to finish...
@jcdickinson
Copy link
Owner

Try the win branch. If that doesn't work then you will need to follow the instructions for the Windows build: https://github.com/khvzak/mlua#module-mode

@jcdickinson
Copy link
Owner

I attempted to build mlua.rs on Windows, and didn't have any luck. I will mark Windows as unsupported in the README.

Sorry.

@jcdickinson jcdickinson changed the title windows build MLua can't be built on Windows Mar 30, 2023
@dsisnero
Copy link
Author

hopefully mlua can be fixed for windows -

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants