
私は Ubuntu の初心者です。 を使用するプロジェクトをコンパイルしたいのですopencv
が、次のエラーが発生します。
cmake . && make
/usr/bin/ld: CMakeFiles/ground_estimation.dir/projectdir/src/stereo_matching/OpenCvStereo.cpp.o: undefined reference to symbol '_ZN2cv3gpu6GpuMatC1ERKNS_3MatE'
/usr/local/lib/libopencv_core.so.2.4: error adding symbols: DSO missing from command collect2: error: ld returned 1 exit status
make[2]: *** [ground_estimation] Error 1
make[1]: *** [CMakeFiles/ground_estimation.dir/all] Error 2
make: *** [all] Error 2
このコマンドも使用しましたcmake . && make -lopencv_core
が解決しませんでした。(Ubuntu 14.04 64bit、OpenCV 2.4.9)