opencv.pc is not installed (Bug #1008)


Added by Johannes Jordan almost 14 years ago. Updated over 13 years ago.


Status:Done Start date:
Priority:High Due date:
Assignee:- % Done:

0%

Category:build/install
Target version:-
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

In current svn, building under Linux:
unix-install/opencv.pc is generated in the build directory, but not copied as part of "make install". The file is very important for people using pkg-config, the standard way of finding software packages on a linux system, e.g. g++ pkg-config --libs --cflags opencv opencvtest.cpp -o opencvtest

The file is correct and works if copied manually to the destination ($CMAKE_INSTALL_PREFIX/share/opencv)

You should also reconsider the location. Standard location for pkg-config files should be:
$CMAKE_INSTALL_PREFIX/share/pkgconfig/


Associated revisions

Revision 25613fbf
Added by Roman Donchenko over 11 years ago

Merge pull request #1008 from ivan-korolev:fix_sift_bug_2892

History

Updated by Alexander Shishkov over 13 years ago

Now opencv.pc is installed to $CMAKE_INSTALL_PREFIX/lib/pkgconfig/ (see main CMakeLists.txt, rows 1273-1275).

  • Status changed from Open to Done
  • (deleted custom field) set to wontfix

Also available in: Atom PDF