Errors when installing on Windows 10
Opened this issue · 2 comments
askourtis commented
Hello,
I am trying to install FLANN on a Windows 10
machine but I encounter some issues.
build.log
Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (404) Not Found."
At line:1 char:82
+ ... pe]::Tls12; (new-object net.webclient).DownloadFile("https://github.c ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : WebException
[ Info: Attempting to create directory C:\Users\ansko\.julia\packages\FLANN\pI0B9\deps\downloads
[ Info: Directory C:\Users\ansko\.julia\packages\FLANN\pI0B9\deps\downloads already exists
[ Info: Downloading file https://github.com/wildart/FLANN.jl/releases/download/v0.1.0/libflann-1d04523-julia-1.6.3-x86_64.tar.gz
ERROR: LoadError: failed process: Process(`'C:\Windows\System32\WindowsPowerShell\v1.0\powershell' -NoProfile -Command '[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (new-object net.webclient).DownloadFile("https://github.com/wildart/FLANN.jl/releases/download/v0.1.0/libflann-1d04523-julia-1.6.3-x86_64.tar.gz", "C:\Users\ansko\.julia\packages\FLANN\pI0B9\deps\downloads\libflann-1d04523-julia-1.6.3-x86_64.tar.gz")'`, ProcessExited(1)) [1]
Stacktrace:
[1] pipeline_error
@ .\process.jl:525 [inlined]
[2] run(::Cmd; wait::Bool)
@ Base .\process.jl:440
[3] run(::Cmd)
@ Base .\process.jl:438
[4] run(s::BinDeps.SynchronousStepCollection)
@ BinDeps C:\Users\ansko\.julia\packages\BinDeps\5xsHU\src\BinDeps.jl:524
[5] run(s::FileRule)
@ BinDeps C:\Users\ansko\.julia\packages\BinDeps\5xsHU\src\BinDeps.jl:486
[6] run(s::BinDeps.SynchronousStepCollection)
@ BinDeps C:\Users\ansko\.julia\packages\BinDeps\5xsHU\src\BinDeps.jl:524
[7] satisfy!(dep::BinDeps.LibraryDependency, methods::Vector{DataType})
@ BinDeps C:\Users\ansko\.julia\packages\BinDeps\5xsHU\src\dependencies.jl:951
[8] satisfy!(dep::BinDeps.LibraryDependency)
@ BinDeps C:\Users\ansko\.julia\packages\BinDeps\5xsHU\src\dependencies.jl:929
[9] top-level scope
@ C:\Users\ansko\.julia\packages\BinDeps\5xsHU\src\dependencies.jl:984
[10] include(fname::String)
@ Base.MainInclude .\client.jl:444
[11] top-level scope
@ none:5
in expression starting at C:\Users\ansko\.julia\packages\FLANN\pI0B9\deps\build.jl:40
Thank you for your time!
wildart commented
Sorry, I have no windows dependency build script. The binary dependency code is quite old, and requires updating. Or preferably moving deps to BinaryBuilder
. PR is always welcome.
askourtis commented
Oh ok, good to know that it wasn't an issue with my installation process. Sadly I'm not that adept with the language right now to be able to contribute. I will have it in mind though.
Thank you for your fast response