← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #223586]: opencv install help on linux

 

Question #223586 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/223586

    Status: Open => Answered

RaiMan proposed the following answer:
OpenCV uses cmake as build tool.

When using cake, it is always recommended, to NOT run the cmake command
in the OpenCV root folder.

--- the basic approach:
mkdir build
cd build
cmake ..
make
sudo make install

which would install the stuff in the respective folders at /usr/local

If you want to influence the installation somehow: try to get ccmake
(curses cmake gui) or even cmake-gui (gtk based) to have a visual access
to the possible build options.

The above ffmpeg related error: if you do not have ffmpeg on the machine
and do not plan to use it for video capture, just set the above constant
to a syntactically correct value, so it compiles without errors.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.