出现的错误:
/usr/bin/ld: warning: libiconv.so.2, needed by //home/smiles/anaconda2/lib/libgobject-2.0.so.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libpcre.so.1, needed by //home/smiles/anaconda2/lib/libgobject-2.0.so.0, not found (try using -rpath or -rpath-link)
//home/smiles/anaconda2/lib/libglib-2.0.so.0:对‘libiconv_open’未定义的引用
//home/smiles/anaconda2/lib/libglib-2.0.so.0:对‘libiconv_close’未定义的引用
//home/smiles/anaconda2/lib/libglib-2.0.so.0:对‘libiconv’未定义的引用
collect2: error: ld returned 1 exit status
apps/annotation/CMakeFiles/opencv_annotation.dir/build.make:106: recipe for target ‘bin/opencv_annotation’ failed
make[2]: * [bin/opencv_annotation] Error 1
CMakeFiles/Makefile2:7604: recipe for target ‘apps/annotation/CMakeFiles/opencv_annotation.dir/all’ failed
make[1]: * [apps/annotation/CMakeFiles/opencv_annotation.dir/all] Error 2