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

I'm quite new to julia but this happened. #93

Open
elithepidude opened this issue Feb 17, 2025 · 1 comment
Open

I'm quite new to julia but this happened. #93

elithepidude opened this issue Feb 17, 2025 · 1 comment

Comments

@elithepidude
Copy link

For some reason trying to install this using the method of

import Pkg; begin Pkg.add(url="https://github.com/clemapfel/mousetrap_jll") Pkg.add(url="https://github.com/clemapfel/mousetrap.jl") end

leads to this:

Image

What does it mean?

@DarkPhilosophy
Copy link

Precompiling project for configuration --code-coverage=none --color=yes --check-bounds=yes --warn-overwrite=yes --depwarn=yes --inline=yes --startup-file=no --track-allocation=none...
✗ Mousetrap
0 dependencies successfully precompiled in 14 seconds. 179 already precompiled.

ERROR: The following 1 direct dependency failed to precompile:

Mousetrap --code-coverage=none --color=yes --check-bounds=yes --warn-overwrite=yes --depwarn=yes --inline=yes --startup-file=no --track-allocation=none

Failed to precompile Mousetrap [5deeb4b9-6e04-4da7-8b7f-c77fb1eae65e] to ".julia\compiled\v1.11\Mousetrap\jl_4B3.tmp".
ERROR: LoadError: InitError: could not load library ".julia\artifacts\62656b5bcf17552318069b1036992827368570e7\bin\libmousetrap_julia_binding-0.dll"
The specified procedure could not be found.
Stacktrace:
[1] dlopen(s::String, flags::UInt32; throw_error::Bool)
@ Base.Libc.Libdl .\libdl.jl:120
[2] dlopen(s::String, flags::UInt32)
@ Base.Libc.Libdl .\libdl.jl:119
[3] macro expansion
@ .julia\packages\JLLWrappers\GfYNv\src\products\library_generators.jl:63 [inlined]
[4] init()
@ mousetrap_jll .julia\packages\mousetrap_jll\LGAe9\src\wrappers\x86_64-w64-mingw32-cxx11-julia_version+1.11.0.jl:20
[5] run_module_init(mod::Module, i::Int64)
@ Base .\loading.jl:1378
[6] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
@ Base .\loading.jl:1366
[7] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any}, ignore_native::Nothing; register::Bool)
@ Base .\loading.jl:1254
[8] _include_from_serialized (repeats 2 times)
@ .\loading.jl:1210 [inlined]
[9] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128, stalecheck::Bool; reasons::Dict{String, Int64}, DEPOT_PATH::Vector{String})
@ Base .\loading.jl:2057
[10] _require(pkg::Base.PkgId, env::String)
@ Base .\loading.jl:2527
[11] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:2388
[12] #invoke_in_world#3
@ .\essentials.jl:1089 [inlined]
[13] invoke_in_world
@ .\essentials.jl:1086 [inlined]
[14] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:2375
[15] macro expansion
@ .\loading.jl:2314 [inlined]
[16] macro expansion
@ .\lock.jl:273 [inlined]
[17] __require(into::Module, mod::Symbol)
@ Base .\loading.jl:2271
[18] #invoke_in_world#3
@ .\essentials.jl:1089 [inlined]
[19] invoke_in_world
@ .\essentials.jl:1086 [inlined]
[20] require(into::Module, mod::Symbol)
@ Base .\loading.jl:2260
[21] include
@ .\Base.jl:557 [inlined]
[22] 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:2881
[23] top-level scope
@ stdin:6
during initialization of module mousetrap_jll
in expression starting at .julia\packages\Mousetrap\CHEs7\src\Mousetrap.jl:9

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