/usr/bin/ld: cannot find -lANN

Markus Schönhaber ubuntu-users at list-post.mks-mail.de
Wed May 12 10:17:15 UTC 2010


12.05.2010 11:51, Lucian Goron:

> lucian at schwarz:~/work/ransac/build$ cmake --build ../
> Linking CXX executable coloredElevationMap
> /usr/bin/ld: cannot find -lANN
> collect2: ld returned 1 exit status
> make[2]: *** [coloredElevationMap] Error 1
> make[1]: *** [CMakeFiles/coloredElevationMap.dir/all] Error 2
> make: *** [all] Error 2
> 
> Has somebody a suggestion ?

Yes. Search for the package containing libANN.so.
You could do this, for example, using apt-file (not installed by
default) or online
http://packages.ubuntu.com/

<http://packages.ubuntu.com/search?searchon=contents&keywords=libANN.so&mode=exactfilename&suite=lucid&arch=any>

Either way should tell you that you need the libann-dev package.

-- 
Regards
  mks




More information about the ubuntu-users mailing list