opencv_world doesn't respect HIGHGUI_LIBRARY_DIRS (Bug #3046)


Added by James Fang almost 12 years ago. Updated over 9 years ago.


Status:Open Start date:2013-05-28
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:build/install
Target version:-
Affected version:branch '2.4' (2.4-dev) Operating System:Any
Difficulty: HW Platform:Any
Pull request:

Description

opencv_higui use pkg-config to find third party modules, and add them to HIGHGUI_LIBRARY_DIRS
but opencv_world ignore HIGHGUI_LIBRARY_DIRS, so these may lead to opencv_world link to different third party library.

for example, i have ffmpeg in /usr/local/lib as well as /another/dir, and i can override PKG_CONFIG_EXECUTABLE to force use
ffmpeg from /another/dir. But opencv_world still link to ffmpeg from /usr/local/lib since it does not add the proper
-L/another/dir option to the linker.

i think this cause two problems:
1) opencv_world may link with different third party libraries compared with other opencv modules;
2) we can not set preferred third party libraries with opencv_world


Associated revisions

Revision 3334b143
Added by Vadim Pisarevsky over 10 years ago

Merge pull request #3046 from StevenPuttemans:fix_Qt_locale

History

Updated by Alexander Smorkalov almost 12 years ago

  • Category set to infrastructure

Updated by Vadim Pisarevsky almost 10 years ago

  • Category changed from infrastructure to build/install
  • HW Platform set to Any
  • Operating System set to Any
  • Affected version changed from 2.4.5 (latest release) to branch '2.4' (2.4-dev)

Updated by Maksim Shabunin over 9 years ago

Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4579

Also available in: Atom PDF