Package Details: flann 1.9.1-7

Git Clone URL: https://aur.archlinux.org/flann.git (read-only, click to copy)
Package Base: flann
Description: FLANN is a library for performing fast approximate nearest neighbor searches in high dimensional spaces
Upstream URL: https://github.com/mariusmuja/flann
Licenses: BSD
Submitter: None
Maintainer: acxz
Last Packager: acxz
Votes: 44
Popularity: 0.24
First Submitted: 2011-04-05 02:06
Last Updated: 2020-04-19 05:05

Pinned Comments

acxz commented on 2020-02-03 02:07

Development is on Github: https://github.com/acxz/pkgbuilds Please open issues and PRs there instead of commenting.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6

erwinkendo commented on 2012-04-23 01:18

Greetings

Having some troubles for compilation in x86_64. First, there was a error originated in src/cpp/CMakeLists.txt, because no ${NVCC_COMPILER_BINDIR} was pointing to a folder with a gcc instalation. After fixing this, the following errors happen:


[ 55%] Building NVCC (Device) object src/cpp/CMakeFiles/flann_cuda_s.dir/flann/algorithms/./flann_cuda_s_generated_kdtree_cuda_3d_index.cu.o
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/ext/atomicity.h(48): error: identifier "__atomic_fetch_add" is undefined

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/ext/atomicity.h(52): error: identifier "__atomic_fetch_add" is undefined

/tmp/yaourt-tmp-erwin/aur-flann/src/flann-1.7.1-src/src/cpp/flann/general.h(54): warning: statement is unreachable

/tmp/yaourt-tmp-erwin/aur-flann/src/flann-1.7.1-src/src/cpp/flann/general.h(57): warning: statement is unreachable

/tmp/yaourt-tmp-erwin/aur-flann/src/flann-1.7.1-src/src/cpp/flann/general.h(60): warning: statement is unreachable

/tmp/yaourt-tmp-erwin/aur-flann/src/flann-1.7.1-src/src/cpp/flann/general.h(63): warning: statement is unreachable

/tmp/yaourt-tmp-erwin/aur-flann/src/flann-1.7.1-src/src/cpp/flann/general.h(66): warning: statement is unreachable

/tmp/yaourt-tmp-erwin/aur-flann/src/flann-1.7.1-src/src/cpp/flann/general.h(69): warning: statement is unreachable

/tmp/yaourt-tmp-erwin/aur-flann/src/flann-1.7.1-src/src/cpp/flann/general.h(72): warning: statement is unreachable

/tmp/yaourt-tmp-erwin/aur-flann/src/flann-1.7.1-src/src/cpp/flann/general.h(75): warning: statement is unreachable

/tmp/yaourt-tmp-erwin/aur-flann/src/flann-1.7.1-src/src/cpp/flann/general.h(78): warning: statement is unreachable

/tmp/yaourt-tmp-erwin/aur-flann/src/flann-1.7.1-src/src/cpp/flann/general.h(81): warning: statement is unreachable

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/limits(1405): error: identifier "__int128" is undefined

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/limits(1409): error: identifier "__int128" is undefined

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/limits(1412): error: identifier "__int128" is undefined

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/limits(1421): error: identifier "__int128" is undefined

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/limits(1421): error: function call is not allowed in a constant expression

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/limits(1423): error: function call is not allowed in a constant expression

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/limits(1432): error: "__int128" is not a type name

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/limits(1435): error: "__int128" is not a type name

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/limits(1450): error: "__int128" is not a type name

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/limits(1454): error: "__int128" is not a type name

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/limits(1458): error: "__int128" is not a type name

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/limits(1462): error: "__int128" is not a type name

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/limits(1410): error: expected a ")"

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/limits(1410): error: expected a ")"

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/limits(1410): error: expected a ")"

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/limits(1413): error: expected a ")"

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/limits(1413): error: expected a ")"

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/limits(1452): error: "__int128" is not a type name

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/limits(1456): error: "__int128" is not a type name

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/limits(1460): error: "__int128" is not a type name

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/limits(1464): error: "__int128" is not a type name

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/limits(1479): error: expected a ">"

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/limits(1484): error: expected a ";"

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/limits(1497): error: expected a ")"

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/limits(1497): error: expected a ")"

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/limits(1506): error: "__int128" has already been declared in the current scope

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/limits(1507): error: expected a ";"

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/limits(1524): error: "__int128" has already been declared in the current scope

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/limits(1525): error: expected a ";"

/tmp/yaourt-tmp-erwin/aur-flann/src/flann-1.7.1-src/src/cpp/flann/algorithms/dist.h(540): warning: integer conversion resulted in a change of sign

31 errors detected in the compilation of "/tmp/tmpxft_000046d7_00000000-4_kdtree_cuda_3d_index.cpp1.ii".
CMake Error at flann_cuda_s_generated_kdtree_cuda_3d_index.cu.o.cmake:256 (message):
Error generating file
/tmp/yaourt-tmp-erwin/aur-flann/src/flann-1.7.1-src/build/src/cpp/CMakeFiles/flann_cuda_s.dir/flann/algorithms/./flann_cuda_s_generated_kdtree_cuda_3d_index.cu.o


make[2]: *** [src/cpp/CMakeFiles/flann_cuda_s.dir/flann/algorithms/./flann_cuda_s_generated_kdtree_cuda_3d_index.cu.o] Error 1
make[1]: *** [src/cpp/CMakeFiles/flann_cuda_s.dir/all] Error 2
make: *** [all] Error 2

Do you have any idea why? It seems a gcc4.7 related issue, but if trying to compile with gcc 4.5 builded from AUR it doesn't even beging the compilation due to other problems.

chubtuff commented on 2011-12-21 13:40

hauptmech has created a new package called libflann

chubtuff commented on 2011-12-18 09:59

Modified from the PKGBUILD by lubosz: https://gist.github.com/6537bd55d716d5c7fdbf Now the python bindings work but it's a dirty hackjob. Can someone get the bindings to work with `make install'?

lubosz commented on 2011-11-10 05:06

current version (1.6.11) http://paste.pocoo.org/show/505628/ patched with sed, without the patch file

ptb commented on 2011-06-24 22:17

An updates PKGBUILD (Version 1.6.10) can be found at http://pastebin.com/HUpAWQuH the required patch at http://pastebin.com/0yif9YHX .