Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running redist on a mac fails #9

Open
eoy opened this issue Feb 2, 2021 · 1 comment
Open

Running redist on a mac fails #9

eoy opened this issue Feb 2, 2021 · 1 comment

Comments

@eoy
Copy link

eoy commented Feb 2, 2021

"command": "haxelib run redistHelper hl.sdl.hxml -v -o redist -p Kalevala"

Execute ':package: Redist' command...
RedistHelperDir=/usr/local/lib/haxe/lib/redistHelper/git/
ProjectDir=/Users/eoy/Games/kalevala/
ExtraFiles listing:
Project name: Kalevala

Initializing folder: redist...
Parsing hl.sdl.hxml...
Building hl.sdl.hxml...
Packaging redist/opengl_win/Kalevala...
Initializing folder: redist/opengl_win/Kalevala...
Copying HL runtime files to redist/opengl_win/Kalevala... 
Called from ? line 1
Called from Main.hx line 232
Called from Main.hx line 207
Called from Main.hx line 353
Called from Main.hx line 465
Uncaught exception - Invalid field access : split

In addition to this, should there be an option to only build osx?

@yvanoff
Copy link

yvanoff commented Feb 17, 2021

I have the exact same issue on Linux. Googling gives result such as this: https://community.openfl.org/t/solved-invalid-field-access-split-during-haxelib-run-openfl-setup/859 but it seems weird that the problem would come from the Haxe std libraries which work perfectly everywhere else ? Additionally no amount of variable tweaking (as suggested in the post I linked) solved this problem

EDIT: actually having checked up online and ran tests the issue is probably not split not being found. Sys.getEnv("path") returns null on my system (the Linux variable being PATH, and I suspect same goes for Mac). Work for cross-platforming this tool needs to be done (I'll do what I can to get it to run and submit the necessary changes)

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

No branches or pull requests

2 participants