Ask Your Question
0

Cannot build openCV 3 on Debian 8

asked 2015-12-03 07:56:15 -0600

I tried building opencv 3 on debian 8 and I can't

Here are the details: 1. I have openCV 3 installed already(built it successfully earlier using the instructions given on the opencv.org installation docs.) 2. Now I am trying to build it with nonfree modules. So I downloaded them, and used the following commands

cmake -DWITH_QT=ON -DWITH_OPENGL=ON -DFORCE_VTK=OFF -DWITH_TBB=ON -DWITH_GDAL=ON -DWITH_XINE=ON -DBUILD_EXAMPLES=ON cmake -DOPENCV_EXTRA_MODULES_PATH=../../opencv_nonfree_try/opencv-3.0.0/opencv_contrib-master/modules/ -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=/usr/local .

(all directories are correct)

  1. Then I ran make -j2

  2. I received an error

    //usr/lib/libgdal.so.1: undefined reference to 'sqlite3_column_table_name' collect2: error: ld returned 1 exit status modules/core/CMakeFiles/opencv_perf_core.dir/build.make:790: recipe for target 'bin/opencv_perf_core' failed make[2]: *** [bin/opencv_perf_core] Error 1 CMakeFiles/Makefile2:1837: recipe for target 'modules/core/CMakeFiles/opencv_perf_core.dir/all' failed make[1]: *** [modules/core/CMakeFiles/opencv_perf_core.dir/all] Error 2 Makefile:137: recipe for target 'all' failed make: *** [all] Error 2

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-03-11 10:30:39 -0600

Arto Bendiken gravatar image

Note that there are now prebuilt OpenCV 3.0 binary packages included in Debian experimental, perhaps they might work better for you?

https://packages.debian.org/source/ex...

https://bugs.debian.org/cgi-bin/bugre...

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-12-03 07:56:15 -0600

Seen: 405 times

Last updated: Dec 03 '15