GithubHelp home page GithubHelp logo

How to build Flann on windows? about flann HOT 3 OPEN

lukkio88 avatar lukkio88 commented on July 19, 2024
How to build Flann on windows?

from flann.

Comments (3)

hai4john avatar hai4john commented on July 19, 2024

make a dir on flann root, cd the dir
cmake .. -G "Visual Studio 17 2022" -A x64

from flann.

dariomangoni avatar dariomangoni commented on July 19, 2024

Oh really? Then I should have probably missed something...

I don't know if pkg-config is strictly required or only the lz4 module is.

If the first, then I can tell that in my (quite clean) Win installation I personally miss pkg-config (isn't this an almost Linux specific tool?) and its dependencies, namely glib and gettext (a potential solution could be this).
I need in this case to set PATH to correctly get the DLLs.

In any case, I would still need to get liblz4 (from here maybe?) since it seems that the pkg-config is missing lz4 thus causing pkg_check_modules(LZ4 REQUIRED liblz4) to fail.
At this point I strictly need to comment out the line pkg_check_modules(LZ4 REQUIRED liblz4) and trying to manually set LZ4_INCLUDE_DIRS and LZ4_LINK_LIBRARIES.
I tried to set the latter to point to the static library provided by lz4 but some symbol is missing so I stopped (___chkstk_ms referenced in function LZ4_compress_fast).

At this point I can compile the targets: flann_cpp, flann_cpp_s, falnn_cuda, flan_cuda_s, flann_s
And I'm failing to build: examples, flann, flann_example_c

Am I totally out of my mind? Did I miss something that could lead to such a burden?

from flann.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.