Relocatability issue
Closed this issue · 1 comments
efJerryYang commented
The error is thrown here, but Demo.exe hasn't been changed since testing on another machine (not the current one).
LAB-DEMO# 2
Lab 2: Romberg
It really takes some time to compile the program at runtime...
fatal: error thrown and no exception handler available.
InitError(mod=:Rmath_jll, error=ErrorException("Artifact "Rmath" was not installed correctly. Try `using Pkg; Pkg.instantiate()` to re-install all missing resources."))
...
_artifact_str at D:\dev\machine\julia\path\julia-1.7.2\share\julia\stdlib\v1.7\Artifacts\src\Artifacts.jl:551
...
jl_f__call_latest at D:\absolute\path\of\another\machine\pkg\bin\libjulia-internal (unknown line)
jl_f__setsuper at D:\absolute\path\of\another\machine\pkg\bin\libjulia-internal (unknown line)
#invokelatest#2 at .\essentials.jl:716
jl_f__setsuper at D:\absolute\path\of\another\machine\pkg\bin\libjulia-internal (unknown line)
invokelatest at .\essentials.jl:714
jl_clear_implicit_imports at D:\absolute\path\of\another\machine\pkg\bin\libjulia-internal (unknown line)
jl_clear_implicit_imports at D:\absolute\path\of\another\machine\pkg\bin\libjulia-internal (unknown line)
jl_clear_implicit_imports at D:\absolute\path\of\another\machine\pkg\bin\libjulia-internal (unknown line)
jl_fptr_interpret_call at D:\absolute\path\of\another\machine\pkg\bin\libjulia-internal (unknown line)
macro expansion at D:\dev\machine\julia\path\julia-1.7.2\share\julia\stdlib\v1.7\Artifacts\src\Artifacts.jl:680 [inlined]
find_artifact_dir at C:\dev\machine\user\path\.julia\packages\JLLWrappers\QpMQW\src\wrapper_generators.jl:17
unknown function (ip: ...
jl_module_run_initializer at D:\absolute\path\of\another\machine\pkg\bin\libjulia-internal (unknown line)
jl_get_libllvm at D:\absolute\path\of\another\machine\pkg\bin\libjulia-internal (unknown line)
jl_init at D:\absolute\path\of\another\machine\pkg\bin\libjulia-internal (unknown line)
main at D:\absolute\path\of\another\machine\pkg\bin\Demo (unknown line)
unknown function (ip: ....)
unknown function (ip: ....)
BaseThreadInitThunk at C:\WINDOWS\System32\KERNEL32.DLL (unknown line)
RtlUserThreadStart at C:\WINDOWS\SYSTEM32\ntdll.dll (unknown line)
Active code page: 65001
Welcome!
This is Computational Method Lab Demo, which is used to demonstrate the results of the 5
lab questions.
efJerryYang commented
The issue is caused by Chinese path, and it can run normally under the English path.