I fail to build a proper MacOSX package.
Using Moonscript my code depends on the lpeg library.
Building working packages for Windows and Linux wasn't a big problem,
but my MacOSX one can't find the lpeg.so file, but only when executed from a file browser.
The game is working well when executed from the command-line, using the lpeg.so file at
Also tried to put it at
and with lpeg.so at the toplevel of the Game.love zip,
with the same results (working from command-line, not when executed by a file-browser).
Code: Select all
Error boot.lua:436: lib/moonscript/moonscript/errors.lua:2: module 'lpeg' not found: no field package.preload['lpeg'] no 'lpeg' in LOVE game directories. no file 'lpeg' in LOVE paths. no file './lpeg.lua' no file '/usr/local/share/luajit-2.0.5/lpeg.lua' no file '/usr/local/share/lua/5.1/lpeg.lua' no file '/usr/local/share/lua/5.1/lpeg/init.lua' no file './lpeg.so' no file '/usr/local/lib/lua/5.1/lpeg.so' no file '/usr/local/lib/lua/5.1/loadall.so' Traceback [C]: in function 'error' [C]: in function 'xpcall' [C]: in function 'xpcall'
Sadly, I don't own a Macintosh and have little experience with the platform.
Using the newest 11.1 Löve release.
You can find my Game at
https://github.com/fendrin/wesnoth-love ... s/tag/test
Thank you very much :-)