Cannot Import on Windows
Opened this issue · 5 comments
jordancluts commented
when I try using Poptart
on my windows machine running 1.1.0 I get the error
julia> using Poptart
[ Info: Precompiling Poptart [197b51f5-fdb5-5f35-aa9f-0a14f35f5b28]
ERROR: LoadError: UndefVarError: enum_names not defined
Stacktrace:
[1] include at .\boot.jl:326 [inlined]
[2] include_relative(::Module, ::String) at .\loading.jl:1038
[3] include(::Module, ::String) at .\sysimg.jl:29
[4] top-level scope at none:2
[5] eval at .\boot.jl:328 [inlined]
[6] eval(::Expr) at .\client.jl:404
[7] top-level scope at .\none:3
in expression starting at C:\Users\jcluts\.julia\packages\CImGui\t8ZIM\src\CImGui.jl:4
ERROR: LoadError: LoadError: LoadError: Failed to precompile CImGui [5d785b6c-b76f-510e-a07c-3070796c7e87] to C:\Users\jcluts\.julia\compiled\v1.1\CImGui\HqG2H.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1197
[3] _require(::Base.PkgId) at .\loading.jl:960
[4] require(::Base.PkgId) at .\loading.jl:858
[5] require(::Module, ::Symbol) at .\loading.jl:853
[6] include at .\boot.jl:326 [inlined]
[7] include_relative(::Module, ::String) at .\loading.jl:1038
[8] include at .\sysimg.jl:29 [inlined]
[9] include(::String) at C:\Users\jcluts\.julia\packages\Poptart\HtEY0\src\Desktop.jl:1
[10] top-level scope at none:0
[11] include at .\boot.jl:326 [inlined]
[12] include_relative(::Module, ::String) at .\loading.jl:1038
[13] include at .\sysimg.jl:29 [inlined]
[14] include(::String) at C:\Users\jcluts\.julia\packages\Poptart\HtEY0\src\Poptart.jl:1
[15] top-level scope at none:0
[16] include at .\boot.jl:326 [inlined]
[17] include_relative(::Module, ::String) at .\loading.jl:1038
[18] include(::Module, ::String) at .\sysimg.jl:29
[19] top-level scope at none:2
[20] eval at .\boot.jl:328 [inlined]
[21] eval(::Expr) at .\client.jl:404
[22] top-level scope at .\none:3
in expression starting at C:\Users\jcluts\.julia\packages\Poptart\HtEY0\src\Desktop\Windows.jl:9
in expression starting at C:\Users\jcluts\.julia\packages\Poptart\HtEY0\src\Desktop.jl:7
in expression starting at C:\Users\jcluts\.julia\packages\Poptart\HtEY0\src\Poptart.jl:7
ERROR: Failed to precompile Poptart [197b51f5-fdb5-5f35-aa9f-0a14f35f5b28] to C:\Users\jcluts\.julia\compiled\v1.1\Poptart\HOpB5.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1197
[3] _require(::Base.PkgId) at .\loading.jl:960
[4] require(::Base.PkgId) at .\loading.jl:858
[5] require(::Module, ::Symbol) at .\loading.jl:853
wookay commented
there's heavy updates in the CImGui.jl and its dependent packages.
- CSyntax v0.1.2
- CEnum v0.1.2
- CImGui v1.69.1
julia> using CSyntax.CEnum: Cenum, enum_names, enum_values
julia> using CImGui
julia> using Poptart
but you may have higher versions. please use CImGui master
branch or downgraded as above for now.
- CSyntax 0.2.0
- CEnum v0.2.0
- CImGui master Gnimuc/CImGui.jl@19fb771
julia> using CSyntax.CEnum: Cenum, name_value_pairs
julia> using CImGui
this will be updated when CImGui be tagged new version.
jordancluts commented
Ok, thank you for the advice!
wookay commented
ha. one thing missed, Pkg.status
is useful.
]
key on REPL,
(v1.1) pkg> status CSyntax CEnum CImGui Poptart
Status `~/.julia/environments/v1.3/Project.toml`
[b99e7846] BinaryProvider v0.5.5 [`~/.julia/dev/BinaryProvider`]
[fa961155] CEnum v0.2.0 [`~/.julia/dev/CEnum`]
[5d785b6c] CImGui v1.69.1 [`~/.julia/dev/CImGui`]
[ea656a56] CSyntax v0.2.0 [`~/.julia/dev/CSyntax`]
[5ae59095] Colors v0.9.5 [`~/.julia/dev/Colors`]
[f7f18e0c] GLFW v2.3.0+ [`~/.julia/dev/GLFW`]
[ba5e3d4b] Jive v0.1.13 [`../../dev/Jive`]
[66fc600b] ModernGL v1.1.0+ [`../../dev/ModernGL`]
[197b51f5] Poptart v0.2.2-DEV [`../../dev/Poptart`]
[b8865327] UnicodePlots v1.1.0+ [`~/.julia/dev/UnicodePlots`]