-
Notifications
You must be signed in to change notification settings - Fork 14
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
Windows support #3
Comments
...julia> BinDeps.debug("FLANN")
|
Sorry, but there is no Windows support yet. Any help is appreciated in fixing BinDeps Windows DLL building provider. |
Checkout master and build the package. It should work. Pkg.checkout("FLANN")
Pkg.build("FLANN") |
@wildart I am still facing the error. |
It looks like you're using Windows @tejus-gupta; unfortunately I don't have any experience with BinDeps on Windows but you might look at something like this for ideas: https://github.com/JuliaDiffEq/Sundials.jl/blob/master/deps/build.jl#L21. If you can somehow compile FLANN on Windows yourself, then mimicking the code in that build file should help you point FLANN.jl towards the compiled library. |
@tejus-gupta I added support for Windows with precompiled binaries. Try to checkout latest master, and build package. Pkg.checkout("FLANN")
Pkg.build("FLANN")
Pkg.test("FLANN") |
Thanks. It works now 😄. I wanted to use FLANN.jl here - JuliaImages/ImageFeatures.jl#33. Can you also add support for 32 bit windows? |
Short answer: No. I don't have time and an environment for win32 testing. I'll add my win64 building scripts to repo later so you'll be able to reconfigure them. I do not see much sense in supporting win32. |
What wrong ? _
_ _ ()_ | A fresh approach to technical computing
() | () () | Documentation: http://docs.julialang.org
_ _ | | __ _ | Type "help()" for help.
| | | | | | |/ ` | |
| | || | | | (| | | Version 0.3.3 (2014-11-23 20:19 UTC)
/ |'||_|'_| | Official http://julialang.org/ release
_/ | x86_64-w64-mingw32
julia> Pkg.clone("https://github.com/wildart/FLANN.jl.git")
INFO: Cloning FLANN from https://github.com/wildart/FLANN.jl.git
INFO: Computing changes...
INFO: Installing Distance v0.5.0
INFO: Package database updated
julia> Pkg.build("FLANN")
INFO: Building FLANN
=================================================[ ERROR: FLANN ]==============================
None of the selected providers can install dependency libflann.
Use BinDeps.debug(package_name) to see available providers
while loading C:\Users\SAMSUNG2.julia\v0.3\FLANN\deps\build.jl, in expression starting on line
=================================================[ BUILD ERRORS ]==============================
WARNING: FLANN had build errors.
Pkg.build(pkg)
deps/build.jl
scriptjulia> Pkg.add("Distance")
INFO: No packages to install, update or remove
INFO: Package database updated
julia> Pkg.build("FLANN")
INFO: Building FLANN
=================================================[ ERROR: FLANN ]=================================================
None of the selected providers can install dependency libflann.
Use BinDeps.debug(package_name) to see available providers
while loading C:\Users\SAMSUNG2.julia\v0.3\FLANN\deps\build.jl, in expression starting on line 32
=================================================[ BUILD ERRORS ]=================================================
WARNING: FLANN had build errors.
Pkg.build(pkg)
deps/build.jl
scriptThe text was updated successfully, but these errors were encountered: