今天跑一个老师给的代码,安装了shark、boost和opencv,编译该通过了,但是链接的时候报错,错误如下:
/usr/bin/ld: CMakeFiles/test.dir/classifier.cc.o: undefined reference to symbol 'cblas_dgemm'
/usr/lib/atlas-base/atlas/libblas.so.3: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
src/CMakeFiles/test.dir/build.make:302: recipe for target 'src/test' failed
make[2]: *** [src/test] Error 1
CMakeFiles/Makefile2:85: recipe for target 'src/CMakeFiles/test.dir/all' failed
make[1]: *** [src/CMakeFiles/test.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
百度谷歌了好久实在不知道怎么解决,请问有木有大神指导怎么解决= =