I am studing this page, trying to obtain a standalone app executable:
https://julialang.github.io/PackageCompiler.jl/dev/apps/
I am doing these commands, to obtain an executable standalone of the example that there is on my this folder, but i get an error:
C:\Users\dario\.julia\packages\PackageCompiler\fZ95H\examples\MyApp"
julia> create_app("MyApp","MyAppCompiled")
Cloning git-repo `https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl`
Updating git-repo `https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl`
Installed Example ─ v0.5.3
[ Info: PackageCompiler: creating base system image (incremental=false)...
[ Info: PackageCompiler: creating system image object file, this might take a while...
HERE, I WAIT A LONG TIME ... TEN MINUTES ABOUT ... AFTER IT GIVES THIS ERROR
ERROR: Unable to automatically install 'x86_64-w64-mingw32' from 'C:\Users\dario\.julia\packages\PackageCompiler\fZ95H\Artifacts.toml'
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] #ensure_artifact_installed#42(::Pkg.BinaryPlatforms.Platform, ::Bool, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:873
[3] (::Pkg.Artifacts.var"#kw##ensure_artifact_installed")(::NamedTuple{(:platform,),Tuple{Pkg.BinaryPlatforms.Windows}}, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at .\none:0
[4] do_artifact_str(::String, ::Dict{String,Any}, ::String, ::Module) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:983
[5] #invokelatest#1 at .\essentials.jl:709 [inlined]
[6] invokelatest at .\essentials.jl:708 [inlined]
[7] get_compiler() at C:\Users\dario\.julia\packages\PackageCompiler\fZ95H\src\PackageCompiler.jl:96
[8] create_sysimg_from_object_file(::String, ::String) at C:\Users\dario\.julia\packages\PackageCompiler\fZ95H\src\PackageCompiler.jl:450
[9] #create_sysimage#5(::String, ::String, ::Array{String,1}, ::Array{String,1}, ::Bool, ::Bool, ::Bool, ::String, ::Nothing, ::Nothing, ::Bool, ::typeof(create_sysimage), ::Array{Symbol,1}) at C:\Users\dario\.julia\packages\PackageCompiler\fZ95H\src\PackageCompiler.jl:423
[10] (::PackageCompiler.var"#kw##create_sysimage")(::NamedTuple{(:sysimage_path, :project, :incremental, :filter_stdlibs, :cpu_target),Tuple{String,String,Bool,Bool,String}}, ::typeof(create_sysimage), ::Array{Symbol,1}) at .\none:0
[11] (::PackageCompiler.var"#7#8"{Array{String,1},Bool,Bool,String,String,String})() at C:\Users\dario\.julia\packages\PackageCompiler\fZ95H\src\PackageCompiler.jl:611 [12] cd(::PackageCompiler.var"#7#8"{Array{String,1},Bool,Bool,String,String,String}, ::String) at .\file.jl:93
[13] #create_app#6(::Array{String,1}, ::Array{String,1}, ::Bool, ::Bool, ::Bool, ::Bool, ::String, ::typeof(create_app), ::String, ::String) at C:\Users\dario\.julia\packages\PackageCompiler\fZ95H\src\PackageCompiler.jl:604
[14] create_app(::String, ::String) at C:\Users\dario\.julia\packages\PackageCompiler\fZ95H\src\PackageCompiler.jl:575
[15] top-level scope at REPL[10]:1
caused by [exception 2]
IOError: symlink: operation not permitted (EPERM)
Stacktrace:
[1] uv_error at .\libuv.jl:97 [inlined]
[2] symlink(::String, ::String) at .\file.jl:851
[3] probe_symlink_creation(::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:131
[4] #unpack#95(::Bool, ::typeof(Pkg.PlatformEngines.unpack), ::String, ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:727
[5] #unpack at .\logging.jl:0 [inlined]
[6] #download_verify_unpack#100(::Nothing, ::Bool, ::Bool, ::Bool, ::typeof(Pkg.PlatformEngines.download_verify_unpack), ::String, ::String, ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:894
[7] #download_verify_unpack at .\none:0 [inlined]
[8] #download_artifact#38(::Bool, ::typeof(Pkg.Artifacts.download_artifact), ::Base.SHA1, ::String, ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:744
[9] #download_artifact at .\none:0 [inlined]
[10] #ensure_artifact_installed#42(::Pkg.BinaryPlatforms.Platform, ::Bool, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:869
[11] (::Pkg.Artifacts.var"#kw##ensure_artifact_installed")(::NamedTuple{(:platform, :verbose),Tuple{Pkg.BinaryPlatforms.Windows,Bool}}, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at .\none:0
[12] #ensure_all_artifacts_installed#43(::Pkg.BinaryPlatforms.Platform, ::Nothing, ::Bool, ::Bool, ::typeof(Pkg.Artifacts.ensure_all_artifacts_installed), ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:919
[13] #ensure_all_artifacts_installed at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Operations.jl:0 [inlined]
[14] #download_artifacts#78(::Pkg.BinaryPlatforms.Windows, ::Bool, ::typeof(Pkg.Operations.download_artifacts), ::Array{String,1}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Operations.jl:580
[15] #download_artifacts at .\none:0 [inlined]
[16] #download_artifacts#73(::Pkg.BinaryPlatforms.Windows, ::Bool, ::typeof(Pkg.Operations.download_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Operations.jl:570
[17] #download_artifacts at .\array.jl:0 [inlined]
[18] #instantiate#114(::Nothing, ::Bool, ::Bool, ::Pkg.BinaryPlatforms.Windows, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Pkg.API.instantiate), ::Pkg.Types.Context) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:758
[19] instantiate(::Pkg.Types.Context) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:720
[20] #create_sysimage#5(::String, ::String, ::Array{String,1}, ::Array{String,1}, ::Bool, ::Bool, ::Bool, ::String, ::Nothing, ::Nothing, ::Bool, ::typeof(create_sysimage), ::Array{Symbol,1}) at C:\Users\dario\.julia\packages\PackageCompiler\fZ95H\src\PackageCompiler.jl:393
[21] (::PackageCompiler.var"#kw##create_sysimage")(::NamedTuple{(:sysimage_path, :project, :incremental, :filter_stdlibs, :cpu_target),Tuple{String,String,Bool,Bool,String}}, ::typeof(create_sysimage), ::Array{Symbol,1}) at .\none:0
[22] (::PackageCompiler.var"#7#8"{Array{String,1},Bool,Bool,String,String,String})() at C:\Users\dario\.julia\packages\PackageCompiler\fZ95H\src\PackageCompiler.jl:611 [23] cd(::PackageCompiler.var"#7#8"{Array{String,1},Bool,Bool,String,String,String}, ::String) at .\file.jl:93
[24] #create_app#6(::Array{String,1}, ::Array{String,1}, ::Bool, ::Bool, ::Bool, ::Bool, ::String, ::typeof(create_app), ::String, ::String) at C:\Users\dario\.julia\packages\PackageCompiler\fZ95H\src\PackageCompiler.jl:604
[25] create_app(::String, ::String) at C:\Users\dario\.julia\packages\PackageCompiler\fZ95H\src\PackageCompiler.jl:575
[26] top-level scope at REPL[10]:1
caused by [exception 1]
IOError: symlink: operation not permitted (EPERM)
Stacktrace:
[1] uv_error at .\libuv.jl:97 [inlined]
[2] symlink(::String, ::String) at .\file.jl:851
[3] probe_symlink_creation(::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:131
[4] #unpack#95(::Bool, ::typeof(Pkg.PlatformEngines.unpack), ::String, ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:727
[5] #unpack at .\logging.jl:0 [inlined]
[6] #download_verify_unpack#100(::Nothing, ::Bool, ::Bool, ::Bool, ::typeof(Pkg.PlatformEngines.download_verify_unpack), ::String, ::String, ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:894
[7] #download_verify_unpack at .\none:0 [inlined]
[8] #download_artifact#38(::Bool, ::typeof(Pkg.Artifacts.download_artifact), ::Base.SHA1, ::String, ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:744
[9] #download_artifact at .\none:0 [inlined]
[10] #ensure_artifact_installed#42(::Pkg.BinaryPlatforms.Platform, ::Bool, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:869
[11] (::Pkg.Artifacts.var"#kw##ensure_artifact_installed")(::NamedTuple{(:platform, :verbose),Tuple{Pkg.BinaryPlatforms.Windows,Bool}}, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at .\none:0
[12] #ensure_artifact_installed#41(::Pkg.BinaryPlatforms.Platform, ::Nothing, ::Bool, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String, ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:849
[13] ensure_artifact_installed(::String, ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:844
[14] bundle_artifacts(::Pkg.Types.Context, ::String) at C:\Users\dario\.julia\packages\PackageCompiler\fZ95H\src\PackageCompiler.jl:695
[15] #create_app#6(::Array{String,1}, ::Array{String,1}, ::Bool, ::Bool, ::Bool, ::Bool, ::String, ::typeof(create_app), ::String, ::String) at C:\Users\dario\.julia\packages\PackageCompiler\fZ95H\src\PackageCompiler.jl:599
[16] create_app(::String, ::String) at C:\Users\dario\.julia\packages\PackageCompiler\fZ95H\src\PackageCompiler.jl:575
[17] top-level scope at REPL[10]:1
What i have do do? what if these errors?
I see it has generated this other folder
C:\Users\dario\.julia\packages\PackageCompiler\fZ95H\examples\MyAppCompiled
with a lot of dll in the \bin subfolder …
But … what i can try toobtain an executable?