{"action":"opened","issue":{"url":"https://api.github.com/repos/mariusmuja/flann/issues/227","labels_url":"https://api.github.com/repos/mariusmuja/flann/issues/227/labels{/name}","comments_url":"https://api.github.com/repos/mariusmuja/flann/issues/227/comments","events_url":"https://api.github.com/repos/mariusmuja/flann/issues/227/events","html_url":"https://github.com/mariusmuja/flann/issues/227","id":55506635,"number":227,"title":"file INSTALL cannot find setup.py","user":{"login":"minhlab","id":2816631,"avatar_url":"https://avatars.githubusercontent.com/u/2816631?v=3","gravatar_id":"","url":"https://api.github.com/users/minhlab","html_url":"https://github.com/minhlab","followers_url":"https://api.github.com/users/minhlab/followers","following_url":"https://api.github.com/users/minhlab/following{/other_user}","gists_url":"https://api.github.com/users/minhlab/gists{/gist_id}","starred_url":"https://api.github.com/users/minhlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minhlab/subscriptions","organizations_url":"https://api.github.com/users/minhlab/orgs","repos_url":"https://api.github.com/users/minhlab/repos","events_url":"https://api.github.com/users/minhlab/events{/privacy}","received_events_url":"https://api.github.com/users/minhlab/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-26T16:51:57Z","updated_at":"2015-01-26T16:51:57Z","closed_at":null,"body":"After cmake and make I got this error:  `file INSTALL cannot find file  \"/home/minhle/setup/flann/build/src/python/setup.py\" to install.` The python binding was actually installed into `~/.local/share/flann/python` and I needed to update my PYTHONPATH. So far the library works well but the error was at least confusing.\r\n\r\n\r\n````\r\nScanning dependencies of target flann_s\r\n[ 12%] Building CXX object src/cpp/CMakeFiles/flann_s.dir/flann/flann.cpp.o\r\n[ 25%] Building C object src/cpp/CMakeFiles/flann_s.dir/flann/ext/lz4.c.o\r\n[ 37%] Building C object src/cpp/CMakeFiles/flann_s.dir/flann/ext/lz4hc.c.o\r\nLinking CXX static library ../../lib/libflann_s.a\r\n[ 37%] Built target flann_s\r\nScanning dependencies of target flann\r\nLinking CXX shared library ../../lib/libflann.so\r\n[ 37%] Built target flann\r\nScanning dependencies of target flann_cpp_s\r\n[ 50%] Building CXX object src/cpp/CMakeFiles/flann_cpp_s.dir/flann/flann_cpp.cpp.o\r\n[ 62%] Building C object src/cpp/CMakeFiles/flann_cpp_s.dir/flann/ext/lz4.c.o\r\n[ 75%] Building C object src/cpp/CMakeFiles/flann_cpp_s.dir/flann/ext/lz4hc.c.o\r\nLinking CXX static library ../../lib/libflann_cpp_s.a\r\n[ 75%] Built target flann_cpp_s\r\nScanning dependencies of target flann_cpp\r\nLinking CXX shared library ../../lib/libflann_cpp.so\r\n[ 75%] Built target flann_cpp\r\nScanning dependencies of target mex_nearest_neighbors\r\n[ 75%] Building MEX extension /home/minhle/setup/flann/build/src/matlab/nearest_neighbors.mex\r\nIn file included from /home/minhle/setup/flann/src/cpp/flann/algorithms/all_indices.h:35,\r\n                 from /home/minhle/setup/flann/src/cpp/flann/flann.hpp:45,\r\n                 from /home/minhle/setup/flann/src/cpp/flann/flann.h:476,\r\n                 from /home/minhle/setup/flann/src/matlab/nearest_neighbors.cpp:35:\r\n/home/minhle/setup/flann/src/cpp/flann/algorithms/nn_index.h:327: warning: ignoring #pragma omp parallel\r\n/home/minhle/setup/flann/src/cpp/flann/algorithms/nn_index.h:330: warning: ignoring #pragma omp for\r\n/home/minhle/setup/flann/src/cpp/flann/algorithms/nn_index.h:342: warning: ignoring #pragma omp parallel\r\n/home/minhle/setup/flann/src/cpp/flann/algorithms/nn_index.h:345: warning: ignoring #pragma omp for\r\n/home/minhle/setup/flann/src/cpp/flann/algorithms/nn_index.h:415: warning: ignoring #pragma omp parallel\r\n/home/minhle/setup/flann/src/cpp/flann/algorithms/nn_index.h:418: warning: ignoring #pragma omp for\r\n/home/minhle/setup/flann/src/cpp/flann/algorithms/nn_index.h:434: warning: ignoring #pragma omp parallel\r\n/home/minhle/setup/flann/src/cpp/flann/algorithms/nn_index.h:437: warning: ignoring #pragma omp for\r\n/home/minhle/setup/flann/src/cpp/flann/algorithms/nn_index.h:505: warning: ignoring #pragma omp parallel\r\n/home/minhle/setup/flann/src/cpp/flann/algorithms/nn_index.h:508: warning: ignoring #pragma omp for\r\n/home/minhle/setup/flann/src/cpp/flann/algorithms/nn_index.h:520: warning: ignoring #pragma omp parallel\r\n/home/minhle/setup/flann/src/cpp/flann/algorithms/nn_index.h:523: warning: ignoring #pragma omp for\r\n/home/minhle/setup/flann/src/cpp/flann/algorithms/nn_index.h:541: warning: ignoring #pragma omp parallel\r\n/home/minhle/setup/flann/src/cpp/flann/algorithms/nn_index.h:544: warning: ignoring #pragma omp for\r\n/home/minhle/setup/flann/src/cpp/flann/algorithms/nn_index.h:611: warning: ignoring #pragma omp parallel\r\n/home/minhle/setup/flann/src/cpp/flann/algorithms/nn_index.h:614: warning: ignoring #pragma omp for\r\n/home/minhle/setup/flann/src/cpp/flann/algorithms/nn_index.h:628: warning: ignoring #pragma omp parallel\r\n/home/minhle/setup/flann/src/cpp/flann/algorithms/nn_index.h:631: warning: ignoring #pragma omp for\r\n/home/minhle/setup/flann/src/cpp/flann/algorithms/nn_index.h:648: warning: ignoring #pragma omp parallel\r\n/home/minhle/setup/flann/src/cpp/flann/algorithms/nn_index.h:651: warning: ignoring #pragma omp for\r\nIn file included from /home/minhle/setup/flann/src/cpp/flann/algorithms/all_indices.h:42,\r\n                 from /home/minhle/setup/flann/src/cpp/flann/flann.hpp:45,\r\n                 from /home/minhle/setup/flann/src/cpp/flann/flann.h:476,\r\n                 from /home/minhle/setup/flann/src/matlab/nearest_neighbors.cpp:35:\r\n/home/minhle/setup/flann/src/cpp/flann/algorithms/lsh_index.h:238: warning: ignoring #pragma omp parallel\r\n/home/minhle/setup/flann/src/cpp/flann/algorithms/lsh_index.h:241: warning: ignoring #pragma omp for\r\n/home/minhle/setup/flann/src/cpp/flann/algorithms/lsh_index.h:253: warning: ignoring #pragma omp parallel\r\n/home/minhle/setup/flann/src/cpp/flann/algorithms/lsh_index.h:256: warning: ignoring #pragma omp for\r\n/home/minhle/setup/flann/src/cpp/flann/algorithms/lsh_index.h:291: warning: ignoring #pragma omp parallel\r\n/home/minhle/setup/flann/src/cpp/flann/algorithms/lsh_index.h:294: warning: ignoring #pragma omp for\r\n/home/minhle/setup/flann/src/cpp/flann/algorithms/lsh_index.h:310: warning: ignoring #pragma omp parallel\r\n/home/minhle/setup/flann/src/cpp/flann/algorithms/lsh_index.h:313: warning: ignoring #pragma omp for\r\nIn file included from /home/minhle/setup/flann/src/cpp/flann/util/matrix.h:35,\r\n                 from /home/minhle/setup/flann/src/cpp/flann/flann.hpp:41,\r\n                 from /home/minhle/setup/flann/src/cpp/flann/flann.h:476,\r\n                 from /home/minhle/setup/flann/src/matlab/nearest_neighbors.cpp:35:\r\n/home/minhle/setup/flann/src/cpp/flann/util/serialization.h: In member function ‘void flann::serialization::SaveArchive::compressAndSave(FILE*)’:\r\n/home/minhle/setup/flann/src/cpp/flann/util/serialization.h:403: warning: ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result\r\n/home/minhle/setup/flann/src/matlab/nearest_neighbors.cpp: In function ‘void _find_nn(int, mxArray**, int, const mxArray**)’:\r\n/home/minhle/setup/flann/src/matlab/nearest_neighbors.cpp:161: warning: comparison between signed and unsigned integer expressions\r\n/home/minhle/setup/flann/src/matlab/nearest_neighbors.cpp: In function ‘void print_selector_error()’:\r\n/home/minhle/setup/flann/src/matlab/nearest_neighbors.cpp:638: warning: comparison between signed and unsigned integer expressions\r\n/home/minhle/setup/flann/src/matlab/nearest_neighbors.cpp: In function ‘void mexFunction(int, mxArray**, int, const mxArray**)’:\r\n/home/minhle/setup/flann/src/matlab/nearest_neighbors.cpp:662: warning: comparison between signed and unsigned integer expressions\r\n[ 87%] Built target mex_nearest_neighbors\r\nScanning dependencies of target flann_example_c\r\n[100%] Building C object examples/CMakeFiles/flann_example_c.dir/flann_example.c.o\r\nLinking C executable ../bin/flann_example_c\r\n[100%] Built target flann_example_c\r\nScanning dependencies of target examples\r\n[100%] Built target examples\r\nInstall the project...\r\n-- Install configuration: \"RelWithDebInfo\"\r\n-- Installing: /home/minhle/.local/lib/pkgconfig/flann.pc\r\n-- Installing: /home/minhle/.local/lib/libflann_cpp.so.1.8.4\r\n-- Up-to-date: /home/minhle/.local/lib/libflann_cpp.so.1.8\r\n-- Up-to-date: /home/minhle/.local/lib/libflann_cpp.so\r\n-- Installing: /home/minhle/.local/lib/libflann_cpp_s.a\r\n-- Installing: /home/minhle/.local/lib/libflann.so.1.8.4\r\n-- Up-to-date: /home/minhle/.local/lib/libflann.so.1.8\r\n-- Up-to-date: /home/minhle/.local/lib/libflann.so\r\n-- Installing: /home/minhle/.local/lib/libflann_s.a\r\n-- Installing: /home/minhle/.local/include/flann\r\n-- Installing: /home/minhle/.local/include/flann/util\r\n-- Installing: /home/minhle/.local/include/flann/util/result_set.h\r\n-- Installing: /home/minhle/.local/include/flann/util/cuda\r\n-- Installing: /home/minhle/.local/include/flann/util/cuda/result_set.h\r\n-- Installing: /home/minhle/.local/include/flann/util/cuda/heap.h\r\n-- Installing: /home/minhle/.local/include/flann/util/logger.h\r\n-- Installing: /home/minhle/.local/include/flann/util/heap.h\r\n-- Installing: /home/minhle/.local/include/flann/util/lsh_table.h\r\n-- Installing: /home/minhle/.local/include/flann/util/object_factory.h\r\n-- Installing: /home/minhle/.local/include/flann/util/timer.h\r\n-- Installing: /home/minhle/.local/include/flann/util/dynamic_bitset.h\r\n-- Installing: /home/minhle/.local/include/flann/util/cutil_math.h\r\n-- Installing: /home/minhle/.local/include/flann/util/serialization.h\r\n-- Installing: /home/minhle/.local/include/flann/util/any.h\r\n-- Installing: /home/minhle/.local/include/flann/util/matrix.h\r\n-- Installing: /home/minhle/.local/include/flann/util/params.h\r\n-- Installing: /home/minhle/.local/include/flann/util/saving.h\r\n-- Installing: /home/minhle/.local/include/flann/util/random.h\r\n-- Installing: /home/minhle/.local/include/flann/util/allocator.h\r\n-- Installing: /home/minhle/.local/include/flann/util/sampling.h\r\n-- Installing: /home/minhle/.local/include/flann/nn\r\n-- Installing: /home/minhle/.local/include/flann/nn/ground_truth.h\r\n-- Installing: /home/minhle/.local/include/flann/nn/index_testing.h\r\n-- Installing: /home/minhle/.local/include/flann/nn/simplex_downhill.h\r\n-- Installing: /home/minhle/.local/include/flann/flann.h\r\n-- Installing: /home/minhle/.local/include/flann/io\r\n-- Installing: /home/minhle/.local/include/flann/io/hdf5.h\r\n-- Installing: /home/minhle/.local/include/flann/defines.h\r\n-- Installing: /home/minhle/.local/include/flann/mpi\r\n-- Installing: /home/minhle/.local/include/flann/mpi/queries.h\r\n-- Installing: /home/minhle/.local/include/flann/mpi/index.h\r\n-- Installing: /home/minhle/.local/include/flann/mpi/matrix.h\r\n-- Installing: /home/minhle/.local/include/flann/mpi/client.h\r\n-- Installing: /home/minhle/.local/include/flann/mpi/server.h\r\n-- Installing: /home/minhle/.local/include/flann/algorithms\r\n-- Installing: /home/minhle/.local/include/flann/algorithms/center_chooser.h\r\n-- Installing: /home/minhle/.local/include/flann/algorithms/kdtree_single_index.h\r\n-- Installing: /home/minhle/.local/include/flann/algorithms/nn_index.h\r\n-- Installing: /home/minhle/.local/include/flann/algorithms/linear_index.h\r\n-- Installing: /home/minhle/.local/include/flann/algorithms/kdtree_cuda_3d_index.h\r\n-- Installing: /home/minhle/.local/include/flann/algorithms/kdtree_cuda_builder.h\r\n-- Installing: /home/minhle/.local/include/flann/algorithms/kdtree_index.h\r\n-- Installing: /home/minhle/.local/include/flann/algorithms/lsh_index.h\r\n-- Installing: /home/minhle/.local/include/flann/algorithms/all_indices.h\r\n# .bashrc\r\n-- Installing: /home/minhle/.local/include/flann/algorithms/hierarchical_clustering_index.h\r\n-- Installing: /home/minhle/.local/include/flann/algorithms/autotuned_index.h\r\n-- Installing: /home/minhle/.local/include/flann/algorithms/kmeans_index.h\r\n-- Installing: /home/minhle/.local/include/flann/algorithms/dist.h\r\n-- Installing: /home/minhle/.local/include/flann/algorithms/composite_index.h\r\n-- Installing: /home/minhle/.local/include/flann/flann.hpp\r\n-- Installing: /home/minhle/.local/include/flann/ext\r\n-- Installing: /home/minhle/.local/include/flann/ext/lz4hc.h\r\n-- Installing: /home/minhle/.local/include/flann/ext/lz4.h\r\n-- Installing: /home/minhle/.local/include/flann/config.h\r\n-- Installing: /home/minhle/.local/include/flann/general.h\r\n-- Installing: /home/minhle/.local/share/flann/octave/nearest_neighbors.mex\r\n-- Installing: /home/minhle/.local/share/flann/octave/test_flann.m\r\n-- Installing: /home/minhle/.local/share/flann/octave/flann_load_index.m\r\n-- Installing: /home/minhle/.local/share/flann/octave/flann_free_index.m\r\n-- Installing: /home/minhle/.local/share/flann/octave/flann_build_index.m\r\n-- Installing: /home/minhle/.local/share/flann/octave/flann_set_distance_type.m\r\n-- Installing: /home/minhle/.local/share/flann/octave/flann_search.m\r\n-- Installing: /home/minhle/.local/share/flann/octave/flann_save_index.m\r\n-- Installing: /home/minhle/.local/share/flann/python/pyflann\r\n-- Installing: /home/minhle/.local/share/flann/python/pyflann/flann_ctypes.py\r\n-- Installing: /home/minhle/.local/share/flann/python/pyflann/index.py\r\n-- Installing: /home/minhle/.local/share/flann/python/pyflann/__init__.py\r\n-- Installing: /home/minhle/.local/share/flann/python/pyflann/exceptions.py\r\nCMake Error at src/python/cmake_install.cmake:40 (FILE):\r\n  file INSTALL cannot find file\r\n  \"/home/minhle/setup/flann/build/src/python/setup.py\" to install.\r\nCall Stack (most recent call first):\r\n  src/cmake_install.cmake:39 (INCLUDE)\r\n  cmake_install.cmake:38 (INCLUDE)\r\n\r\n\r\nmake: *** [install] Error 1\r\n````"}}