Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Fail to compile in Windows10 x64 - julia 1.3.1 & 1.4.1 #505

Closed
Kelvyn88 opened this issue May 2, 2020 · 6 comments
Closed

Fail to compile in Windows10 x64 - julia 1.3.1 & 1.4.1 #505

Kelvyn88 opened this issue May 2, 2020 · 6 comments

Comments

@Kelvyn88
Copy link

Kelvyn88 commented May 2, 2020

_ _ ()_ | Documentation: https://docs.julialang.org
() | () () |
_ _ | | __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ ` | |
| | |
| | | | (
| | | Version 1.4.1 (2020-04-14)
/ |_'|||_'_| | Official https://julialang.org/ release
|__/ |

(@v1.4) pkg> add Gtk
Cloning default registries into C:\Users\Kelvyn\.julia
Cloning registry from "https://github.com/JuliaRegistries/General.git"
Added registry General to C:\Users\Kelvyn\.julia\registries\General
Resolving package versions...
Installed Xorg_xkeyboard_config_jll ─ v2.27.0+1
Installed Libgcrypt_jll ───────────── v1.8.5+1
Installed Xorg_libXtst_jll ────────── v1.2.3+2
Installed Xorg_libpthread_stubs_jll ─ v0.1.0+1
Installed JpegTurbo_jll ───────────── v2.0.1+0
Installed Wayland_jll ─────────────── v1.17.0+1
Installed Gtk ─────────────────────── v1.1.3
Installed Cairo ───────────────────── v1.0.3
Installed Pango_jll ───────────────── v1.42.4+8
Installed Xorg_fixesproto_jll ─────── v5.0.0+0
Installed Libepoxy_jll ────────────── v1.5.4+0
Installed Xorg_libXdamage_jll ─────── v1.1.5+2
Installed Libtiff_jll ─────────────── v4.0.10+1
Installed GTK3_jll ────────────────── v3.24.11+2
Installed Xorg_libXfixes_jll ──────── v5.0.3+2
Installed XSLT_jll ────────────────── v1.1.33+2
Installed HarfBuzz_jll ────────────── v2.6.1+5
Installed Libgpg_error_jll ────────── v1.36.0+1
Installed at_spi2_atk_jll ─────────── v2.34.1+1
Installed Xorg_libXcursor_jll ─────── v1.2.0+2
Installed Xorg_util_macros_jll ────── v1.19.2+1
Installed Xorg_compositeproto_jll ─── v0.4.0+0
Installed Reexport ────────────────── v0.2.0
Installed FixedPointNumbers ───────── v0.8.0
Installed Xorg_renderproto_jll ────── v0.11.1+1
Installed xkbcommon_jll ───────────── v0.9.1+1
Installed adwaita_icon_theme_jll ──── v3.33.92+3
Installed gdk_pixbuf_jll ──────────── v2.38.2+6
Installed Xorg_libXrender_jll ─────── v0.9.10+2
Installed iso_codes_jll ───────────── v4.3.0+1
Installed Bzip2_jll ───────────────── v1.0.6+2
Installed FreeType2_jll ───────────── v2.10.1+2
Installed Zstd_jll ────────────────── v1.4.4+1
Installed Xorg_libXcomposite_jll ──── v0.4.5+2
Installed Graphite2_jll ───────────── v1.3.13+1
Installed PCRE_jll ────────────────── v8.42.0+2
Installed Xorg_libXdmcp_jll ───────── v1.1.3+2
Installed libpng_jll ──────────────── v1.6.37+3
Installed Libffi_jll ──────────────── v3.2.1+1
Installed Libmount_jll ────────────── v2.34.0+1
Installed Xorg_xineramaproto_jll ──── v1.2.1+0
Installed Xorg_libXrandr_jll ──────── v1.5.2+2
Installed at_spi2_core_jll ────────── v2.34.0+1
Installed Dbus_jll ────────────────── v1.12.16+0
Installed Pixman_jll ──────────────── v0.38.4+2
Installed LZO_jll ─────────────────── v2.10.0+1
Installed Fontconfig_jll ──────────── v2.13.1+11
Installed ColorTypes ──────────────── v0.10.2
Installed Graphene_jll ────────────── v1.10.0+2
Installed Xorg_xproto_jll ─────────── v7.0.31+1
Installed Libglvnd_jll ────────────── v1.3.0+1
Installed Graphics ────────────────── v1.0.2
Installed ATK_jll ─────────────────── v2.34.1+2
Installed Xorg_libXext_jll ────────── v1.3.4+2
Installed XML2_jll ────────────────── v2.9.9+4
Installed hicolor_icon_theme_jll ──── v0.17.0+1
Installed Xorg_randrproto_jll ─────── v1.5.0+0
Installed Libuuid_jll ─────────────── v2.34.0+4
Installed Xorg_recordproto_jll ────── v1.14.2+0
Installed Xorg_xextproto_jll ──────── v7.3.0+1
Installed Xorg_xcb_proto_jll ──────── v1.13.0+1
Installed Xorg_libX11_jll ─────────── v1.6.9+2
Installed Zlib_jll ────────────────── v1.2.11+9
Installed Xorg_xkbcomp_jll ────────── v1.4.2+2
Installed Xorg_libxcb_jll ─────────── v1.13.0+2
Installed NaNMath ─────────────────── v0.3.3
Installed Xorg_libXau_jll ─────────── v1.0.9+2
Installed Xorg_libxkbfile_jll ─────── v1.1.0+2
Installed Cairo_jll ───────────────── v1.16.0+3
Installed Gettext_jll ─────────────── v0.20.1+2
Installed Xorg_inputproto_jll ─────── v2.3.2+1
Installed Xorg_xtrans_jll ─────────── v1.4.0+1
Installed Xorg_libXi_jll ──────────── v1.7.10+2
Installed Expat_jll ───────────────── v2.2.7+1
Installed FriBidi_jll ─────────────── v1.0.5+2
Installed Glib_jll ────────────────── v2.59.0+2
Installed X11_jll ─────────────────── v1.6.8+5
Installed Xorg_libXinerama_jll ────── v1.1.4+2
Installed Wayland_protocols_jll ───── v1.18.0+1
Installed Xorg_damageproto_jll ────── v1.2.1+0
Installed Libiconv_jll ────────────── v1.16.0+2
Installed Colors ──────────────────── v0.12.0
Updating C:\Users\Kelvyn\.julia\environments\v1.4\Project.toml
[4c0ca9eb] + Gtk v1.1.3
Updating C:\Users\Kelvyn\.julia\environments\v1.4\Manifest.toml
[7b86fcea] + ATK_jll v2.34.1+2
[6e34b625] + Bzip2_jll v1.0.6+2
[159f3aea] + Cairo v1.0.3
[83423d85] + Cairo_jll v1.16.0+3
[3da002f7] + ColorTypes v0.10.2
[5ae59095] + Colors v0.12.0
[ee1fde0b] + Dbus_jll v1.12.16+0
[2e619515] + Expat_jll v2.2.7+1
[53c48c17] + FixedPointNumbers v0.8.0
[a3f928ae] + Fontconfig_jll v2.13.1+11
[d7e528f0] + FreeType2_jll v2.10.1+2
[559328eb] + FriBidi_jll v1.0.5+2
[77ec8976] + GTK3_jll v3.24.11+2
[78b55507] + Gettext_jll v0.20.1+2
[7746bdde] + Glib_jll v2.59.0+2
[75302f13] + Graphene_jll v1.10.0+2
[a2bd30eb] + Graphics v1.0.2
[3b182d85] + Graphite2_jll v1.3.13+1
[4c0ca9eb] + Gtk v1.1.3
[2e76f6c2] + HarfBuzz_jll v2.6.1+5
[aacddb02] + JpegTurbo_jll v2.0.1+0
[dd4b983a] + LZO_jll v2.10.0+1
[42c93a91] + Libepoxy_jll v1.5.4+0
[e9f186c6] + Libffi_jll v3.2.1+1
[d4300ac3] + Libgcrypt_jll v1.8.5+1
[7e76a0d4] + Libglvnd_jll v1.3.0+1
[7add5ba3] + Libgpg_error_jll v1.36.0+1
[94ce4f54] + Libiconv_jll v1.16.0+2
[4b2f31a3] + Libmount_jll v2.34.0+1
[89763e89] + Libtiff_jll v4.0.10+1
[38a345b3] + Libuuid_jll v2.34.0+4
[77ba4419] + NaNMath v0.3.3
[2f80f16e] + PCRE_jll v8.42.0+2
[36c8627f] + Pango_jll v1.42.4+8
[30392449] + Pixman_jll v0.38.4+2
[189a3867] + Reexport v0.2.0
[a2964d1f] + Wayland_jll v1.17.0+1
[2381bf8a] + Wayland_protocols_jll v1.18.0+1
[546b0b6d] + X11_jll v1.6.8+5
[02c8fc9c] + XML2_jll v2.9.9+4
[aed1982a] + XSLT_jll v1.1.33+2
[0af4abc2] + Xorg_compositeproto_jll v0.4.0+0
[17eb5352] + Xorg_damageproto_jll v1.2.1+0
[cf2f014d] + Xorg_fixesproto_jll v5.0.0+0
[84d6cd60] + Xorg_inputproto_jll v2.3.2+1
[4f6342f7] + Xorg_libX11_jll v1.6.9+2
[0c0b7dd1] + Xorg_libXau_jll v1.0.9+2
[3c9796d7] + Xorg_libXcomposite_jll v0.4.5+2
[935fb764] + Xorg_libXcursor_jll v1.2.0+2
[0aeada51] + Xorg_libXdamage_jll v1.1.5+2
[a3789734] + Xorg_libXdmcp_jll v1.1.3+2
[1082639a] + Xorg_libXext_jll v1.3.4+2
[d091e8ba] + Xorg_libXfixes_jll v5.0.3+2
[a51aa0fd] + Xorg_libXi_jll v1.7.10+2
[d1454406] + Xorg_libXinerama_jll v1.1.4+2
[ec84b674] + Xorg_libXrandr_jll v1.5.2+2
[ea2f1a96] + Xorg_libXrender_jll v0.9.10+2
[b6f176f1] + Xorg_libXtst_jll v1.2.3+2
[14d82f49] + Xorg_libpthread_stubs_jll v0.1.0+1
[c7cfdc94] + Xorg_libxcb_jll v1.13.0+2
[cc61e674] + Xorg_libxkbfile_jll v1.1.0+2
[0e394dc1] + Xorg_randrproto_jll v1.5.0+0
[a7b44dc7] + Xorg_recordproto_jll v1.14.2+0
[21e99dc2] + Xorg_renderproto_jll v0.11.1+1
[7c09cfe3] + Xorg_util_macros_jll v1.19.2+1
[c2e9c405] + Xorg_xcb_proto_jll v1.13.0+1
[d13bc2ba] + Xorg_xextproto_jll v7.3.0+1
[6a3da44c] + Xorg_xineramaproto_jll v1.2.1+0
[35661453] + Xorg_xkbcomp_jll v1.4.2+2
[33bec58e] + Xorg_xkeyboard_config_jll v2.27.0+1
[46797783] + Xorg_xproto_jll v7.0.31+1
[c5fb5394] + Xorg_xtrans_jll v1.4.0+1
[83775a58] + Zlib_jll v1.2.11+9
[3161d3a3] + Zstd_jll v1.4.4+1
[b437f822] + adwaita_icon_theme_jll v3.33.92+3
[de012916] + at_spi2_atk_jll v2.34.1+1
[0fc3237b] + at_spi2_core_jll v2.34.0+1
[da03df04] + gdk_pixbuf_jll v2.38.2+6
[059c91fe] + hicolor_icon_theme_jll v0.17.0+1
[bf975903] + iso_codes_jll v4.3.0+1
[b53b4c65] + libpng_jll v1.6.37+3
[d8fb68d0] + xkbcommon_jll v0.9.1+1
[2a0f44e3] + Base64
[ade2ca70] + Dates
[8ba89e20] + Distributed
[b77e0a4c] + InteractiveUtils
[76f85450] + LibGit2
[8f399da3] + Libdl
[37e2e46d] + LinearAlgebra
[56ddb016] + Logging
[d6f4376e] + Markdown
[44cfe95a] + Pkg
[de0858da] + Printf
[3fa0cd96] + REPL
[9a3f8284] + Random
[ea8e919c] + SHA
[9e88b42a] + Serialization
[6462fe0b] + Sockets
[8dfed614] + Test
[cf7118a7] + UUIDs
[4ec0a83e] + Unicode

julia> using Gtk
[ Info: Precompiling Gtk [4c0ca9eb-093a-5379-98c5-f87ac0bbbf44]
ERROR: LoadError: LoadError: InitError: could not load library "C:\Users\Kelvyn.julia\artifacts\f98adb5b4de5c29a8d77def412b792beaec6180b\bin\libtiff-5.dll"
The specified module could not be found.
Stacktrace:
[1] dlopen(::String, ::UInt32; throw_error::Bool) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.4\Libdl\src\Libdl.jl:109
[2] dlopen at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.4\Libdl\src\Libdl.jl:109 [inlined] (repeats 2 times)
[3] init() at C:\Users\Kelvyn.julia\packages\Libtiff_jll\0kDRi\src\wrappers\x86_64-w64-mingw32.jl:45
[4] _include_from_serialized(::String, ::Array{Any,1}) at .\loading.jl:697
[5] _require_from_serialized(::String) at .\loading.jl:748
[6] _require(::Base.PkgId) at .\loading.jl:1039
[7] require(::Base.PkgId) at .\loading.jl:927
[8] require(::Module, ::Symbol) at .\loading.jl:922
[9] include(::Module, ::String) at .\Base.jl:377
[10] include(::String) at C:\Users\Kelvyn.julia\packages\gdk_pixbuf_jll\kzXJa\src\gdk_pixbuf_jll.jl:1
[11] top-level scope at C:\Users\Kelvyn.julia\packages\gdk_pixbuf_jll\kzXJa\src\gdk_pixbuf_jll.jl:47
[12] include(::Module, ::String) at .\Base.jl:377
[13] top-level scope at none:2
[14] eval at .\boot.jl:331 [inlined]
[15] eval(::Expr) at .\client.jl:449
[16] top-level scope at .\none:3
during initialization of module Libtiff_jll
in expression starting at C:\Users\Kelvyn.julia\packages\gdk_pixbuf_jll\kzXJa\src\wrappers\x86_64-w64-mingw32.jl:7
in expression starting at C:\Users\Kelvyn.julia\packages\gdk_pixbuf_jll\kzXJa\src\gdk_pixbuf_jll.jl:43
ERROR: LoadError: LoadError: Failed to precompile gdk_pixbuf_jll [da03df04-f53b-5353-a52f-6a8b0620ced0] to C:\Users\Kelvyn.julia\compiled\v1.4\gdk_pixbuf_jll\ccXyN_tPEli.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1272
[3] _require(::Base.PkgId) at .\loading.jl:1029
[4] require(::Base.PkgId) at .\loading.jl:927
[5] require(::Module, ::Symbol) at .\loading.jl:922
[6] include(::Module, ::String) at .\Base.jl:377
[7] include(::String) at C:\Users\Kelvyn.julia\packages\GTK3_jll\WzI8J\src\GTK3_jll.jl:1
[8] top-level scope at C:\Users\Kelvyn.julia\packages\GTK3_jll\WzI8J\src\GTK3_jll.jl:50
[9] include(::Module, ::String) at .\Base.jl:377
[10] top-level scope at none:2
[11] eval at .\boot.jl:331 [inlined]
[12] eval(::Expr) at .\client.jl:449
[13] top-level scope at .\none:3
in expression starting at C:\Users\Kelvyn.julia\packages\GTK3_jll\WzI8J\src\wrappers\x86_64-w64-mingw32.jl:9
in expression starting at C:\Users\Kelvyn.julia\packages\GTK3_jll\WzI8J\src\GTK3_jll.jl:43
ERROR: LoadError: Failed to precompile GTK3_jll [77ec8976-b24b-556a-a1bf-49a033a670a6] to C:\Users\Kelvyn.julia\compiled\v1.4\GTK3_jll\D35Um_tPEli.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1272
[3] _require(::Base.PkgId) at .\loading.jl:1029
[4] require(::Base.PkgId) at .\loading.jl:927
[5] require(::Module, ::Symbol) at .\loading.jl:922
[6] include(::Module, ::String) at .\Base.jl:377
[7] top-level scope at none:2
[8] eval at .\boot.jl:331 [inlined]
[9] eval(::Expr) at .\client.jl:449
[10] top-level scope at .\none:3
in expression starting at C:\Users\Kelvyn.julia\packages\Gtk\X3A4U\src\Gtk.jl:5
ERROR: Failed to precompile Gtk [4c0ca9eb-093a-5379-98c5-f87ac0bbbf44] to C:\Users\Kelvyn.julia\compiled\v1.4\Gtk\Vjnq0_tPEli.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1272
[3] _require(::Base.PkgId) at .\loading.jl:1029
[4] require(::Base.PkgId) at .\loading.jl:927
[5] require(::Module, ::Symbol) at .\loading.jl:922

@luanvehe9123
Copy link

I have the same compilation error

@luanvehe9123
Copy link

I have the same compilation error in Windows 10 x64 in Julia 1.3.1, 1.4 and 1.4.1

julia> using Gtk
[ Info: Precompiling Gtk [4c0ca9eb-093a-5379-98c5-f87ac0bbbf44]
ERROR: LoadError: LoadError: InitError: could not load library "C:\Users\DELL.julia\artifacts\f98adb5b4de5c29a8d77def412b792beaec6180b\bin\libtiff-5.dll"
No se puede encontrar el módulo especificado.
Stacktrace:
[1] dlopen(::String, ::UInt32; throw_error::Bool) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.4\Libdl\src\Libdl.jl:109
[2] dlopen at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.4\Libdl\src\Libdl.jl:109 [inlined] (repeats 2 times)
[3] init() at C:\Users\DELL.julia\packages\Libtiff_jll\0kDRi\src\wrappers\x86_64-w64-mingw32.jl:45
[4] _include_from_serialized(::String, ::Array{Any,1}) at .\loading.jl:697
[5] _require_search_from_serialized(::Base.PkgId, ::String) at .\loading.jl:781
[6] _require(::Base.PkgId) at .\loading.jl:1006
[7] require(::Base.PkgId) at .\loading.jl:927
[8] require(::Module, ::Symbol) at .\loading.jl:922
[9] include(::Module, ::String) at .\Base.jl:377
[10] include(::String) at C:\Users\DELL.julia\packages\gdk_pixbuf_jll\kzXJa\src\gdk_pixbuf_jll.jl:1
[11] top-level scope at C:\Users\DELL.julia\packages\gdk_pixbuf_jll\kzXJa\src\gdk_pixbuf_jll.jl:47
[12] include(::Module, ::String) at .\Base.jl:377
[13] top-level scope at none:2
[14] eval at .\boot.jl:331 [inlined]
[15] eval(::Expr) at .\client.jl:449
[16] top-level scope at .\none:3
during initialization of module Libtiff_jll
in expression starting at C:\Users\DELL.julia\packages\gdk_pixbuf_jll\kzXJa\src\wrappers\x86_64-w64-mingw32.jl:7
in expression starting at C:\Users\DELL.julia\packages\gdk_pixbuf_jll\kzXJa\src\gdk_pixbuf_jll.jl:43
ERROR: LoadError: LoadError: Failed to precompile gdk_pixbuf_jll [da03df04-f53b-5353-a52f-6a8b0620ced0] to C:\Users\DELL.julia\compiled\v1.4\gdk_pixbuf_jll\ccXyN_jt4Qa.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1272
[3] _require(::Base.PkgId) at .\loading.jl:1029
[4] require(::Base.PkgId) at .\loading.jl:927
[5] require(::Module, ::Symbol) at .\loading.jl:922
[6] include(::Module, ::String) at .\Base.jl:377
[7] include(::String) at C:\Users\DELL.julia\packages\GTK3_jll\WzI8J\src\GTK3_jll.jl:1
[8] top-level scope at C:\Users\DELL.julia\packages\GTK3_jll\WzI8J\src\GTK3_jll.jl:50
[9] include(::Module, ::String) at .\Base.jl:377
[10] top-level scope at none:2
[11] eval at .\boot.jl:331 [inlined]
[12] eval(::Expr) at .\client.jl:449
[13] top-level scope at .\none:3
in expression starting at C:\Users\DELL.julia\packages\GTK3_jll\WzI8J\src\wrappers\x86_64-w64-mingw32.jl:9
in expression starting at C:\Users\DELL.julia\packages\GTK3_jll\WzI8J\src\GTK3_jll.jl:43
ERROR: LoadError: Failed to precompile GTK3_jll [77ec8976-b24b-556a-a1bf-49a033a670a6] to C:\Users\DELL.julia\compiled\v1.4\GTK3_jll\D35Um_jt4Qa.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1272
[3] _require(::Base.PkgId) at .\loading.jl:1029
[4] require(::Base.PkgId) at .\loading.jl:927
[5] require(::Module, ::Symbol) at .\loading.jl:922
[6] include(::Module, ::String) at .\Base.jl:377
[7] top-level scope at none:2
[8] eval at .\boot.jl:331 [inlined]
[9] eval(::Expr) at .\client.jl:449
[10] top-level scope at .\none:3
in expression starting at C:\Users\DELL.julia\packages\Gtk\X3A4U\src\Gtk.jl:5
ERROR: Failed to precompile Gtk [4c0ca9eb-093a-5379-98c5-f87ac0bbbf44] to C:\Users\DELL.julia\compiled\v1.4\Gtk\Vjnq0_jt4Qa.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1272
[3] _require(::Base.PkgId) at .\loading.jl:1029
[4] require(::Base.PkgId) at .\loading.jl:927
[5] require(::Module, ::Symbol) at .\loading.jl:922

@Kelvyn88
Copy link
Author

Kelvyn88 commented May 2, 2020

I can confirm that file "\artifacts\f98adb5b4de5c29a8d77def412b792beaec6180b\bin\libtiff-5.dll" is available in the directory.

@tknopp
Copy link
Collaborator

tknopp commented May 2, 2020

ping @giordano
Has something changed with liftiff?

@giordano
Copy link
Contributor

giordano commented May 2, 2020

It should have been fixed by JuliaPackaging/Yggdrasil#970. Can you please update the registry and try again now?

@Kelvyn88
Copy link
Author

Kelvyn88 commented May 2, 2020

Thanks! @giordano @tknopp

@Kelvyn88 Kelvyn88 closed this as completed May 2, 2020
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

4 participants