Ask Your Question

Cannot build Flann

asked 2013-02-07 23:04:21 -0500

Riemer van der Zee gravatar image

I'm trying to build the newest groovy on my debian testing distro, following the wiki instructions under the ubuntu source pa. ( I got wstool, rospkg and rosdep via Pip btw. not from the ubuntu repos)

I can init my catkinworkspace (even desktop-full), dependencies also complete with a success state.

However when invoking: $ ./src/catkin/bin/catkin_make_isolated --install

It fails on building flann (and we do kinda need it). the relevant output from the console can be found at the bottom of the message (I can't post my pastebin link? :S)

Unfortunately nothing really useful to me, maybe not all errors are displayed? Anyone got thoughts on it?

Cheers, Riemer van der Zee

Linking CXX static library ../../lib/libflann_cpp_s.a
Linking CXX shared library ../../lib/
Linking CXX static library ../../lib/libflann_cpp_s-gd.a
[ 50%] Built target flann_cpp_s
[ 50%] Built target flann_cpp_s-gd
[ 62%] Building NVCC (Device) object src/cpp/CMakeFiles/flann_cuda_s.dir/flann/algorithms/./
Scanning dependencies of target flann_cuda-gd
[ 75%] Building CXX object src/cpp/CMakeFiles/flann_cuda-gd.dir/flann/flann_cpp.cpp.o
[ 75%] Built target flann_cpp-gd
Scanning dependencies of target flann_cuda_s-gd
No such file or directory
[ 87%] CMake Error at (message):
  Error generating

make[2]: *** [src/cpp/CMakeFiles/flann_cuda_s.dir/flann/algorithms/./] Fout 1
make[1]: *** [src/cpp/CMakeFiles/flann_cuda_s.dir/all] Fout 2
make[1]: *** Wachten op onvoltooide taken...
Building CXX object src/cpp/CMakeFiles/flann_cuda_s-gd.dir/flann/flann_cpp.cpp.o
Linking CXX static library ../../lib/libflann_cuda_s-gd.a
Linking CXX shared library ../../lib/
[ 87%] Built target flann_cuda_s-gd
[ 87%] Built target flann_cuda-gd
Linking CXX static library ../../lib/libflann_s.a
[ 87%] Built target flann_s
make: *** [all] Fout 2

<== Failed to process package 'flann':
  Command '/home/riemer/ros_catkin_ws/install_isolated/ make -j4 -l4' returned non-zero exit status 2

Reproduce this error by running:
==> /home/riemer/ros_catkin_ws/install_isolated/ make -j4 -l4
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-02-07 23:52:19 -0500

KruseT gravatar image

"No such file or directory" seems to cause this, maybe a directory is not created as it should.

But since other users have build groovy from source without running into that error, the origin of the problem is probably either something different about your build environment or that you use a broken version of flann that few other people tried.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-02-07 23:04:21 -0500

Seen: 792 times

Last updated: Feb 07 '13