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

UndefVarError #17

Open
sfchen opened this issue Apr 19, 2016 · 4 comments
Open

UndefVarError #17

sfchen opened this issue Apr 19, 2016 · 4 comments

Comments

@sfchen
Copy link

sfchen commented Apr 19, 2016

I met UndefVarError(:alk) error after I run the built binary.

alk() is definied by my module, and I've import the module before main()

If I call main() in REPL everything works well, but it fails if I run the executable

OS: Mac OSX
Julia v0.5

@dhoegh
Copy link
Owner

dhoegh commented Apr 19, 2016

Do you call the function like: MyModule.alk(). Full qualification of the objects in a module is necessary see https://github.com/dhoegh/BuildExecutable.jl/blob/master/README.md

@sfchen
Copy link
Author

sfchen commented Apr 19, 2016

I didn't use Module.func(), trying now... thanks.

Another issue, the built executable dir is very big (> 200MB), which makes it not convenient to deploy. Is there any way to make a small and clean build (like < 30 MB)

@sfchen
Copy link
Author

sfchen commented Apr 19, 2016

This issue is gone after use Module.func()

But got another error:

SystemError("mkdir",17,"alk")

@dhoegh
Copy link
Owner

dhoegh commented Jul 21, 2016

Do you still have an issue, if so could you provide more information?

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