Skip to content

Instantly share code, notes, and snippets.

@AhmedSamara
Created October 29, 2015 20:18
Show Gist options
  • Save AhmedSamara/2187040a82925683c218 to your computer and use it in GitHub Desktop.
Save AhmedSamara/2187040a82925683c218 to your computer and use it in GitHub Desktop.
asamara@ahmedsamara:build$ make
Scanning dependencies of target QRCodeStateEstimation
[ 16%] Building CXX object src/library/CMakeFiles/QRCodeStateEstimation.dir/SOMException.cpp.o
[ 33%] Building CXX object src/library/CMakeFiles/QRCodeStateEstimation.dir/QRCodeStateEstimator.cpp.o
[ 50%] Building CXX object src/library/CMakeFiles/QRCodeStateEstimation.dir/SOMScopeGuard.cpp.o
[ 66%] Linking CXX shared library ../../lib/libQRCodeStateEstimation.so
[ 66%] Built target QRCodeStateEstimation
Scanning dependencies of target estimateLocationFromQRCode
[ 83%] Building CXX object src/example/CMakeFiles/estimateLocationFromQRCode.dir/main.cpp.o
[100%] Linking CXX executable ../../bin/estimateLocationFromQRCode
/usr/bin/ld: CMakeFiles/estimateLocationFromQRCode.dir/main.cpp.o: undefined reference to symbol '_ZN2cv12VideoCaptureD1Ev'
/usr/local/lib/libopencv_videoio.so.3.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
src/example/CMakeFiles/estimateLocationFromQRCode.dir/build.make:95: recipe for target 'bin/estimateLocationFromQRCode' failed
make[2]: *** [bin/estimateLocationFromQRCode] Error 1
CMakeFiles/Makefile2:161: recipe for target 'src/example/CMakeFiles/estimateLocationFromQRCode.dir/all' failed
make[1]: *** [src/example/CMakeFiles/estimateLocationFromQRCode.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment