-
Notifications
You must be signed in to change notification settings - Fork 21
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
Executable takes a very long time to start up #28
Comments
This is a follow up from this reddit post |
The issue is that the output of BuildExecutable does not actually load the associated precompiled image, so everything must be JIT'd again before the app can do anything. You can get normal (faster) startup by specifying the image manually:
(from the build directory, using the build command from your reddit post) |
It works! Thank you very much. You may want to consider adding it to the README. P.S. I'm very new to Julia. Where is the best place to ask questions? Reddit? SO? discourse.julialang.org? |
Hi, ERROR: LoadError: failed process: Process( Would you mind to help me with this problem? Thanks a lot! |
Julia just says that the command has failed and does not give more info. |
Unfortunately, the command does not produce any output - the command syntax seems to be incorrect. The final Julia error message is: LoadError: failed process: Process( My Julia version is 0.5.0 release x86_64-w64-mingw32 - but why mingw32? Does this point to a 64bit/32bit conflict? |
What I meant is executing the
? |
Ok - indeed, when leaving out all single quotation marks (but only then), |
Good catch ! Let's see what @dhoegh thinks about it. Could you use the "Insert code" button to format the codes in your posts ? it makes it a lot more readable ;) |
Ok, By the way, I just tried compiling under Linux (Ubuntu 16.04) and got a similar error. |
@MatthiasErdmann I have looked into the issue you are having and it is not related to this issue. The main issue you are having is probably related to the issue I am displaying below. If I am trying to run the command manually in CMD on windows I get the following error: Do any one have an idea what is causing the build to fail with missing |
From http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Factory/x86_64/ it seems the GCC version was updated 2016-12-30. |
Actually, I have used the local gcc installed by |
Hi, @MatthiasErdmann, I have the same problem. You need to path your "C:\Users"me".julia\v0.5\WinRPM\deps\usr\x86_64-w64-mingw32\sys-root\mingw\bin" in order to run the libwinpthread-1.dll. But after running, nothing happen. Seem like the system execute the comment but there are no .exe file generated. |
I'm experiencing the same problem as @MatthiasErdmann on Windows. I'll report more details tomorrow. |
Good news, I have a fix for the windows issue in #30. |
Thank you! Adding the bin dir of the local gcc ( |
Thanks dhoegh. |
I have now changed so |
It works (at least on Mac). Thank you very much for the quick fix! |
Hi.
I've used
build_executable
to compile a very simple program:The produced executable takes over 6 seconds to run!
What is happening in those 6 seconds? Is it compilation? Is there a way to precompile everything I need?
The text was updated successfully, but these errors were encountered: