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

Errors when installing on Windows 10 #26

Open
askourtis opened this issue Feb 13, 2022 · 2 comments
Open

Errors when installing on Windows 10 #26

askourtis opened this issue Feb 13, 2022 · 2 comments

Comments

@askourtis
Copy link

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
Copy link
Owner

wildart commented Feb 16, 2022

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
Copy link
Author

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

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

No branches or pull requests

2 participants