dynamic 'opencv_world' fails to build (Bug #3448)


Added by Andrey Pavlenko about 11 years ago. Updated over 9 years ago.


Status:Open Start date:2013-12-19
Priority:Normal Due date:
Assignee:Roman Donchenko % Done:

0%

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

Description

CMake fails to configure if trying to build dynamic opencv_world (-DBUILD_SHARED_LIBS=ON -DBUILD_opencv_world=ON).


Associated revisions

Revision d54b069a
Added by Vadim Pisarevsky about 10 years ago

Merge pull request #3448 from Ashod:highgui_trackbar_improvements

History

Updated by Andrey Pavlenko about 11 years ago

CMake Error at cmake/OpenCVGenConfig.cmake:84 (export):
  export called with target "opencv_world" which requires target "zlib" that
  is not in the export list.

  If the required target is not easy to reference in this call, consider
  using the APPEND option with multiple separate calls.
Call Stack (most recent call first):
  CMakeLists.txt:538 (include)

Updated by Andrew Senin about 11 years ago

Does it still happen on 2.4.8?

  • Affected version changed from 2.4.7 (latest release) to 2.4.8 (latest release)
  • Status changed from New to Open

Updated by Brian O'Donnell about 11 years ago

I am seeing it too with 2.4.8.

Andrew Senin wrote:

Does it still happen on 2.4.8?

Updated by Anatoly Baksheev almost 11 years ago

propose to use `add_library<target OBJECT > sources)` mechanism available since cmake 2.8.8

Updated by Vadim Pisarevsky over 10 years ago

is this problem still valid?

  • Affected version changed from 2.4.8 (latest release) to 2.4.0 - 2.4.8

Updated by Chen ZHANG almost 10 years ago

I'm still seeing the error with 2.4.9

Updated by Maksim Shabunin over 9 years ago

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

Also available in: Atom PDF