Skip to content

bundle failing #5

Description

@PhilMo6

Im trying to bundle my project into an exe and no matter how I use the bundle script it seems to fail.
I am on windows 10 and it give me a different error depending on what I do.

./mgit bundle -a --all -m --all -M main -o fat.exe

gets me

luajit: ui_list.lua:16: '' expected near 'if'
{standard input}: Assembler messages:
{standard input}:6: Error: file not found: .bundle-tmp/mingw64/ui_list.lua.o.luac
patch: **** Can't create file ../../../bundle/luajit.c : Invalid cross-device link
g++.exe: error: .bundle-tmp/mingw64/ui_list.lua.o: No such file or directory

./mgit bundle -a 'socket_core mime_core' -m 'socket mime ltn12 socket/*.lua' -o luajit.exe

gets me

patch: **** Can't create file ../../../bundle/luajit.c : Invalid cross-device link
bin/mingw64/luajit.a: member bin/mingw64/luajit.a(lj_vm.o) in archive is not an object
collect2.exe: error: ld returned 1 exit status

which is the same error I get when I try and bundle my project.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions