Home > Back-end >  Linux C cmake compiled by linking is not through
Linux C cmake compiled by linking is not through

Time:09-21

The teacher gave a code, I installed the shark, the boost and opencv, compiled through, but the link error, baidu Google for a long time really don't know how to solve, the error is as follows:
The/usr/bin/ld: CMakeFiles/test. The dir/classifier. Cc. O: undefined reference to symbol 'cblas_dgemm'
The/usr/lib/atlas - base/atlas/libblas. So. 3: the error adding symbols: the DSO missing from the command line
Collect2: error: ld returned 1 exit status
SRC/CMakeFiles/test. Dir/build. The make: 302: a recipe for target 'SRC/test failed
Make [2] : * * */SRC/test Error 1
CMakeFiles/Makefile2:85: the recipe for target 'SRC/CMakeFiles/test. The dir/all' failed
Make [1] : * * */SRC/CMakeFiles/test. The dir/all] Error 2
The Makefile: 83: the recipe for target 'all' failed
Make: * * * [all] Error 2

Is this how to solve the great god of all stripes?
  • Related