Re: Bug#653799: FTBFS: CMake Error at cmake_modules/FindOpenCV.cmake:77 (file): file STRINGS file "/usr/include/opencv/cvver.h" cannot be read.
On Thu, Feb 02, 2012 at 08:00:20AM +0100, Andreas Tille wrote:
> This version is not yet available on the mirror I'm using. Once
> it is there I will test the following changes:
I can confirm that I was able to build after adding to opencv libs
explicitely to the linker flags which now looks like:
-DCMAKE_EXE_LINKER_FLAGS="-lboost_system -lopencv_core -lopencv_highgui"
It would be more fun if cmake would be able to detect this automagically
but I'm no cmake expert and I'll leave this to upstream.
Kind regards and thanks for the patch in the first place