Ask Your Question

error disrupting opencv install on Debian

asked 2020-06-06 07:06:21 -0500

ajoeiam gravatar image

updated 2020-06-06 17:39:12 -0500


Debian Buster install being attempted.

Following the page:

and am unable to complete the cmake build system. Errors include:

Blockquote Output line: 'cc1plus: warning: command line option '-Wmissing-prototypes' is valid for C/OlbjC but not for C++' Output line: 'cc1: warning: command line option '-Wsign-promo' is valid for C++/ObjC++ but not for C' Output line: 'cc1plus: warning: unrecognized command line option '-Wno-unnamed-type-template-args' '


Those are lines from three different 'Build output check failed:' blocks

(Note - - - I am unable to replicate some of the single quote characters - - - - some are angled and some are vertical - sorry!)

(Have been successful, finally, to copy the error file - - - - but its a text file and the system only allows pic type attachments. So if a copy of the error file as text is desired please advise.)


edit retag flag offensive close merge delete


What's model RPI?

supra56 gravatar imagesupra56 ( 2020-06-06 08:57:49 -0500 )edit

Unsure of your question! Not on any kind of Pi. I am trying to install opencv on a desktop machine so that I can study it and hopefully find packages that I can use in my project.

ajoeiam gravatar imageajoeiam ( 2020-06-06 17:41:00 -0500 )edit

Sorry. I used Raspberry pi not pc.

supra56 gravatar imagesupra56 ( 2020-06-07 20:08:37 -0500 )edit

Have been successful, finally, to copy the error file

just copy/paste it here, we'll help with the formatting, promised ! (mark txt and press ctrl-k)

berak gravatar imageberak ( 2020-06-16 00:52:17 -0500 )edit

Building OpenCV from source is not difficult.

At least, if you are used to the C++ tools / C++ world.

Eduardo gravatar imageEduardo ( 2020-06-17 02:58:14 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2020-06-15 17:01:59 -0500

ajoeiam gravatar image

Found one way of installing on Debian. The OpenCV version on Debian stable is version 3.2, the version on Debian testing is 4.2.

It is necessary to download the file from the Debian repos (opencv has not yet been packed as a .deb file) but then installation was quite painless. The install was NOT of the most recent version of opencv but at least I was able to install. Now I get to find out how to use things. (I downloaded and installed OpenCV 4.2 on Debian testing.)

So rather than beating your head against the wall and installing from source - - - well back up a version and the installation is quite a bit smoother.


edit flag offensive delete link more

Question Tools

1 follower


Asked: 2020-06-06 07:06:21 -0500

Seen: 445 times

Last updated: Jun 15 '20