When I run the below code, it gives the below error. How can I solve the problem?
using PackageCompiler: PackageCompiler, create_sysimage, create_app, create_library
using Pkg
ENV["JULIA_DEBUG"] = "PackageCompiler"
mkpath(joinpath("$(@__DIR__)", "Generated"))
Pkg.activate("$(@__DIR__)")
Pkg.resolve()
Pkg.instantiate(; verbose = false)
tmp_app_source_dir = "$(@__DIR__)"
app_compiled_dir = "$(@__DIR__)\\Generated"
create_app(tmp_app_source_dir, app_compiled_dir; force=true,
executables=["NetlistEMTP" => "julia_main"
])
Activating environment at `c:\Users\amroa\OneDrive - polymtl.ca\AmroAlsabbagh\Code\Julia\Tests and Notes\12- Create exe file\Netlist\NetlistEMTP\Project.toml`
No Changes to `C:\Users\amroa\OneDrive - polymtl.ca\AmroAlsabbagh\Code\Julia\Tests and Notes\12- Create exe file\Netlist\NetlistEMTP\Project.toml`
No Changes to `C:\Users\amroa\OneDrive - polymtl.ca\AmroAlsabbagh\Code\Julia\Tests and Notes\12- Create exe file\Netlist\NetlistEMTP\Manifest.toml`
Precompiling project...
1 dependency successfully precompiled in 4 seconds (77 already precompiled)
PackageCompiler: bundled artifacts:
βββ ATK_jll - 2.219 MiB
βββ Bzip2_jll - 2.232 MiB
βββ Cairo_jll - 13.579 MiB
βββ Expat_jll - 1.125 MiB
βββ Fontconfig_jll - 3.017 MiB
βββ FreeType2_jll - 4.737 MiB
βββ FriBidi_jll - 570.671 KiB
βββ GTK3_jll - 73.302 MiB
βββ Gettext_jll - 19.930 MiB
βββ Glib_jll - 20.546 MiB
βββ Graphite2_jll - 696.780 KiB
βββ HarfBuzz_jll - 6.257 MiB
βββ JpegTurbo_jll - 4.951 MiB
βββ LERC_jll - 758.367 KiB
βββ LZO_jll - 1.084 MiB
βββ Libepoxy_jll - 13.043 MiB
βββ Libffi_jll - 205.667 KiB
βββ Libgcrypt_jll - 6.433 MiB
βββ Libgpg_error_jll - 2.227 MiB
βββ Libiconv_jll - 2.245 MiB
βββ Libtiff_jll - 9.779 MiB
βββ NativeFileDialog_jll - 474.944 KiB
βββ PCRE_jll - 4.222 MiB
βββ Pango_jll - 4.738 MiB
βββ Pixman_jll - 5.945 MiB
βββ Wayland_protocols_jll - 465.663 KiB
ERROR: LoadError: IOError: open("c:\\Users\\amroa\\OneDrive - polymtl.ca\\AmroAlsabbagh\\Code\\Julia\\Tests and Notes\\12- Create exe file\\Netlist\\NetlistEMTP\\Generated\\share\\julia\\artifacts\\f42f9d226c70f0bc88e5f897d914d9de1ac2ce03\\share\\wayland-protocols\\stable\\presentation-time\\presentation-time.xml", 769, 33206): no such file or directory (ENOENT)
Stacktrace:
[1] uv_error
@ .\libuv.jl:97 [inlined]
[2] open(path::String, flags::UInt16, mode::UInt64)
@ Base.Filesystem .\filesystem.jl:87
[5] cptree(src::String, dst::String; force::Bool, follow_symlinks::Bool) (repeats 4 times)
@ Base.Filesystem .\file.jl:328
[6] cp(src::String, dst::String; force::Bool, follow_symlinks::Bool)
@ Base.Filesystem .\file.jl:353
[7] cp
@ .\file.jl:349 [inlined]
[8] bundle_artifacts(ctx::Pkg.Types.Context, dest_dir::String; include_lazy_artifacts::Bool)
@ PackageCompiler C:\Users\amroa\.julia\packages\PackageCompiler\wpsGv\src\PackageCompiler.jl:1124
[9] create_app(package_dir::String, app_dir::String; executables::Vector{Pair{String, String}}, precompile_execution_file::Vector{String}, precompile_statements_file::Vector{String}, incremental::Bool, filter_stdlibs::Bool, force::Bool, c_driver_program::String, cpu_target::String, include_lazy_artifacts::Bool, sysimage_build_args::Cmd, include_transitive_dependencies::Bool)
@ PackageCompiler C:\Users\amroa\.julia\packages\PackageCompiler\wpsGv\src\PackageCompiler.jl:699
[10] top-level scope
@ c:\Users\amroa\OneDrive - polymtl.ca\AmroAlsabbagh\Code\Julia\Tests and Notes\12- Create exe file\Netlist\NetlistEMTP\codeTocimpileSourceCode.jl:22in expression starting at c:\Users\amroa\OneDrive - polymtl.ca\AmroAlsabbagh\Code\Julia\Tests and Notes\12- Create exe file\Netlist\NetlistEMTP\codeTocimpileSourceCode.jl:22