opencv: highgui module is needed for ts module
PATCH 1/1 opencv: highgui module is needed for ts module
OpenCV's highgui module needs to be auto-selected when the ts module is selected, because it depends on it. Otherwise it would fail with an error like this one:
[ 96%] Building CXX objectmodules/ts/CMakeFiles/opencv_ts.dir/src/gpu_perf.cpp.o
In file included from /home/test/autobuild/instance-1/output/build/opencv-2.4.8/modules/ts/src/gpu_perf.cpp:43:0:/home/test/autobuild/instance-1/output/build/opencv-2.4.8/modules/ts/include/opencv2/ts/gpu_perf.hpp:47:39:
fatal error: opencv2/highgui/highgui.hpp: No such file or directory
compilation terminated.
Fixes:
http://autobuild.buildroot.net/results/31b/31b124ff1ec958a621863bfc80323847a6373135/
Issue reported upstream:
http://code.opencv.org/issues/3923
--- package/opencv/Config.in | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
package/opencv/Config.in +1 -0
@@ -101,6 +101,7 @@ config BR2_PACKAGE_OPENCV_LIB_SUPERRES config BR2_PACKAGE_OPENCV_LIB_TS bool "ts (touchscreen)" + select BR2_PACKAGE_OPENCV_LIB_HIGHGUI default y help Include opencv_ts module into the OpenCV build.
Signature · 1 line
1.7.1
PATCH 1/1 opencv: highgui module is needed for ts module
Quoted 14 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Vicente" == Vicente Olivert Riera <[email protected]> writes:
OpenCV's highgui module needs to be auto-selected when the ts module is selected, because it depends on it. Otherwise it would fail with an error like this one:
[ 96%] Building CXX object
modules/ts/CMakeFiles/opencv_ts.dir/src/gpu_perf.cpp.o
In file included from/home/test/autobuild/instance-1/output/build/opencv-2.4.8/modules/ts/src/gpu_perf.cpp:43:0:/home/test/autobuild/instance-1/output/build/opencv-2.4.8/modules/ts/include/opencv2/ts/gpu_perf.hpp:47:39:
fatal error: opencv2/highgui/highgui.hpp: No such file or directory
compilation terminated.
Quoted 7 lines
Fixes:
http://autobuild.buildroot.net/results/31b/31b124ff1ec958a621863bfc80323847a6373135/Issue reported upstream:
http://code.opencv.org/issues/3923Signed-off-by Vicente Olivert Riera <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard