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

'libpath' not defined when using Windows #422

Closed
MaxenceGollier opened this issue Sep 15, 2024 · 1 comment
Closed

'libpath' not defined when using Windows #422

MaxenceGollier opened this issue Sep 15, 2024 · 1 comment

Comments

@MaxenceGollier
Copy link
Contributor

With the latest version of this repo I get the following error when I create a CUTEstModel

julia> nlp = CUTEstModel("GAUSS2")

ERROR: UndefVarError: `libpath` not defined
Stacktrace:
 [1] (::CUTEst.var"#23#24"{Bool, String, Tuple{}, String, String, String})()
   @ CUTEst C:\Users\mgoll\.julia\packages\CUTEst\8GpUK\src\CUTEst.jl:212
 [2] cd(f::CUTEst.var"#23#24"{Bool, String, Tuple{}, String, String, String}, dir::String)
   @ Base.Filesystem .\file.jl:101
 [3] sifdecoder(::String; verbose::Bool, outsdif::String, precision::Symbol)
   @ CUTEst C:\Users\mgoll\.julia\packages\CUTEst\8GpUK\src\CUTEst.jl:180
 [4] (::CUTEst.var"#26#27"{Bool, Bool, Tuple{}, Vector{Int32}, String, String})()
   @ CUTEst C:\Users\mgoll\.julia\packages\CUTEst\8GpUK\src\CUTEst.jl:295
 [5] cd(f::CUTEst.var"#26#27"{Bool, Bool, Tuple{}, Vector{Int32}, String, String}, dir::String)
   @ Base.Filesystem .\file.jl:101
 [6] CUTEstModel(::String; decode::Bool, verbose::Bool, efirst::Bool, lfirst::Bool, lvfirst::Bool)
   @ CUTEst C:\Users\mgoll\.julia\packages\CUTEst\8GpUK\src\CUTEst.jl:288
 [7] CUTEstModel(::String)
   @ CUTEst C:\Users\mgoll\.julia\packages\CUTEst\8GpUK\src\CUTEst.jl:262
 [8] top-level scope
   @ REPL[16]:1

This is my version info

julia> versioninfo()
Julia Version 1.10.4
Commit 48d4fd4843 (2024-06-04 10:41 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: 12 × Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, skylake)
Threads: 1 default, 0 interactive, 1 GC (on 12 virtual cores)
@MaxenceGollier
Copy link
Contributor Author

Worked out in the end, for some reason I had to remove and reinstall the package and the problem was solved

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

1 participant