-
Notifications
You must be signed in to change notification settings - Fork 1
Description
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.