Skip to content
This repository has been archived by the owner on Feb 9, 2020. It is now read-only.

Precompiling failing on Julia v"0.7.0-DEV.4959" #2

Open
aritrasep opened this issue May 7, 2018 · 1 comment
Open

Precompiling failing on Julia v"0.7.0-DEV.4959" #2

aritrasep opened this issue May 7, 2018 · 1 comment

Comments

@aritrasep
Copy link

julia> using MathOptInterfaceGLPK
[ Info: Precompiling module MathOptInterfaceGLPK
┌ Warning: The function cfunction is now written as a macro @cfunction.
│ caller = version at GLPK.jl:226 [inlined]
└ @ Core GLPK.jl:226
WARNING: importing deprecated binding Base.Void into MathOptInterfaceGLPK.
WARNING: Base.Void is deprecated, use Nothing instead.
likely near /home/aritra/.julia/v0.7/MathOptInterfaceGLPK/src/MathOptInterfaceGLPK.jl:67
WARNING: Base.Void is deprecated, use Nothing instead.
likely near /home/aritra/.julia/v0.7/MathOptInterfaceGLPK/src/MathOptInterfaceGLPK.jl:114
ERROR: LoadError: UndefVarError: lqs_vartype_map not defined
Stacktrace:
[1] getproperty(::Module, ::Symbol) at ./sysimg.jl:13
[2] top-level scope
[3] include at ./boot.jl:314 [inlined]
[4] include_relative(::Module, ::String) at ./loading.jl:1067
[5] include(::Module, ::String) at ./sysimg.jl:29
[6] top-level scope
[7] eval at ./boot.jl:317 [inlined]
[8] top-level scope at ./:3
in expression starting at /home/aritra/.julia/v0.7/MathOptInterfaceGLPK/src/MathOptInterfaceGLPK.jl:507
ERROR: Failed to precompile MathOptInterfaceGLPK to /home/aritra/.julia/compiled/v0.7/MathOptInterfaceGLPK.ji.
Stacktrace:
[1] error at ./error.jl:33 [inlined]
[2] compilecache(::Base.PkgId) at ./loading.jl:1201
[3] _require(::Base.PkgId) at ./loading.jl:1003
[4] require(::Base.PkgId) at ./loading.jl:874
[5] require(::Module, ::Symbol) at ./loading.jl:869

@odow
Copy link
Member

odow commented May 7, 2018

We're moving this repo to GLPK.jl in this PR jump-dev/GLPK.jl#53.

You will need to checkout the lastest master of MathOptInterface.jl, and this PR on LinQuadOptInterface.jl.

It's in a state of flux at the moment.

PR's tidying up LQOI before we merge into MOI are welcome :)

Just follow the lead in JuliaOpt/LinQuadOptInterface.jl#7

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants