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

Error for precompile #74

Closed
wangzuodong1997 opened this issue Feb 23, 2024 · 1 comment
Closed

Error for precompile #74

wangzuodong1997 opened this issue Feb 23, 2024 · 1 comment

Comments

@wangzuodong1997
Copy link

I fail to precompile GridapGmsh on Windows. I feel like there is a problem about the package ID:
The ID required by compiler is 5cff37c5ecc16844bf4dd3a6ac574b4e15c913c4, but the ID generated automatically is 25ba69eb779f5d4f84824aa02f959b0055c0a7a1
The error report is:

(IDP) pkg> precompile
Precompiling project...
✗ GridapGmsh
0 dependencies successfully precompiled in 13 seconds. 285 already precompiled.

ERROR: The following 1 direct dependency failed to precompile:

GridapGmsh [3025c34a-b394-11e9-2a55-3fee550c04c8]

Failed to precompile GridapGmsh [3025c34a-b394-11e9-2a55-3fee550c04c8] to "C:\Users\q1244\.julia\compiled\v1.10\GridapGmsh\jl_3BDC.tmp".
ERROR: LoadError: SystemError: opening file "C:\Users\q1244\.julia\artifacts\5cff37c5ecc16844bf4dd3a6ac574b4e15c913c4\lib\gmsh.jl": No such file or directory
Stacktrace:
[1] systemerror(p::String, errno::Int32; extrainfo::Nothing)
@ Base .\error.jl:176
[2] systemerror
@ Base .\error.jl:175 [inlined]
[3] open(fname::String; lock::Bool, read::Nothing, write::Nothing, create::Nothing, truncate::Nothing, append::Nothing)
@ Base .\iostream.jl:293
[4] open
@ Base .\iostream.jl:275 [inlined]
[5] open(f::Base.var"#433#434"{String}, args::String; kwargs::@kwargs{})
@ Base .\io.jl:394
[6] open
@ Base .\io.jl:393 [inlined]
[7] read
@ Base .\io.jl:486 [inlined]
[8] _include(mapexpr::Function, mod::Module, _path::String)
@ Base .\loading.jl:2126
[9] include(mod::Module, _path::String)
@ Base .\Base.jl:495
[10] include(x::String)
@ GridapGmsh C:\Users\q1244.julia\packages\GridapGmsh\AdYVp\src\GridapGmsh.jl:1
@ C:\Users\q1244.julia\packages\GridapGmsh\AdYVp\src\GridapGmsh.jl:37
[12] include
@ Base .\Base.jl:495 [inlined]
[13] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
@ Base .\loading.jl:2216
[14] top-level scope
@ stdin:3
in expression starting at C:\Users\q1244.julia\packages\GridapGmsh\AdYVp\src\GridapGmsh.jl:1
in expression starting at stdin:

@JordiManyer
Copy link
Member

You should try building first, then precompiling

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