Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#37754 - [opencv] CMake error: opencv_ts not found
Attached to Project:
Arch Linux
Opened by Hanno J. (hanno) - Wednesday, 13 November 2013, 09:29 GMT
Last edited by Ray Rashif (schivmeister) - Friday, 15 November 2013, 08:46 GMT
Opened by Hanno J. (hanno) - Wednesday, 13 November 2013, 09:29 GMT
Last edited by Ray Rashif (schivmeister) - Friday, 15 November 2013, 08:46 GMT
|
DetailsDescription:
When using cmake to include OpenCV in a project, the cmake command "find_package( OpenCV )" fails with: "CMake Error at /usr/share/opencv/OpenCVModules.cmake:117 (message): The imported target "opencv_ts" references the file "/usr/lib/libopencv_ts.a" but this file does not exist. (...)" Additional info: * package version(s): opencv 2.4.7-1 Steps to reproduce: Create a cmake file CMakeLists.txt with content: # CMakeLists.txt content BEGIN project( test ) cmake_minimum_required(VERSION 2.8) find_package(OpenCV) # CMakeLists.txt content END and perform this command in the folder of the created CMakeLists.txt: mkdir build && cd build && cmake .. |
This task depends upon
Probably has to do with static libraries being removed from all archlinux packages...
edit: On further inspection, the newly introduced OpenCVModules.cmake requires this static file. Try building with staticlibs set until I get to it.