Is it really necessary to invoke the REPL for this? For GTK.jl, for instance, there is a good description for using that framework without using the REPL. A standalone script shouldn’t need to drop into a different context.
I haven’t used Makie.jl very much, so I don’t know whether the recipe provided by GTK can be modified usefully.
Yes, I could use package compiler, but for now my priority is to implement the full functionality of my program. And there is hope that also the latency without package compiler gets reduced much further: https://github.com/JuliaPlots/Makie.jl/issues/792
Posting on a 2 year old topic is not encouraged (also ominously called necroposting). Additionally, it’s not easy for people to help you if you only supply them with a link to a repo expecting them to figure out the problem on their own.
Instead, it’s best practice to start a new topic where you explain exactly what you tried and what went wrong. In fact, to get the best help possible, please follow these excellent suggestions as closely as you can.
Meanwhile, I was able to modify my project - mentioned above - in a way that the GLMakie-Application is now opperational as stand alone executable under MS Windows.
The main obsticle was the wrong starting point. The example in the PackageCompile-package is to complex for me and I do not understand which side-effects there are, if I delete or modify parts of it.
The important part of the code came from @sdanisch (see above):