opencv build issues #631
-
Hello,
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Judging from the log1, the installation simply failed because of the missing At any rate, you probably ought to check for the coexistence of multiple installations of OpenCV on the same machine, i.e., the standard and the custom versions. To accommodate that, one possibility is to rely on the Just append the following line to your export OpenCV_DIR=/usr/local/src/robot/opencv/build The env var It should be sufficient. export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${OpenCV_DIR}/lib Hope this helps. Footnotes
|
Beta Was this translation helpful? Give feedback.
Judging from the log1, the installation simply failed because of the missing
sudo
.I don't know honestly why it's also failing from the start when you specified
sudo
. There's no log for that.At any rate, you probably ought to check for the coexistence of multiple installations of OpenCV on the same machine, i.e., the standard and the custom versions. To accommodate that, one possibility is to rely on the
OpenCV_DIR
environment variable.Just append the following line to your
.bashrc
:export OpenCV_DIR=/usr/local/src/robot/opencv/build
The env var
OpenCV_DIR
will be used by the CMake machinery to locate theopencv
package.Don't install this time, just run
make
.It should be sufficient.
B…