Skip to content

opencv_waldboost_detector build failure against opencv_world #497

@lych77

Description

@lych77

Visual Studio 2015
opencv_contrib v3.1.0
BUILD_opencv_world enabled (This issue won't occur if this is disabled)

Getting the following error:

Severity    Code    Description Project File    Line    Suppression State
Error   LNK1104 cannot open file 'opencv_core.lib'  opencv_waldboost_detector   C:\work\opencv_3.1\build_static\modules\xobjdetect\tools\waldboost_detector\LINK    1   

Clue:

In the Property Pages of project opencv_waldboost_detector, Linker -> Input -> Additional Dependencies, the content is:

kernel32.lib
user32.lib
gdi32.lib
winspool.lib
shell32.lib
ole32.lib
oleaut32.lib
uuid.lib
comdlg32.lib
advapi32.lib
opencv_core.lib
opencv_imgproc.lib
opencv_imgcodecs.lib
opencv_videoio.lib
opencv_highgui.lib
..\..\..\..\lib\Release\opencv_xobjdetect310.lib
..\..\..\..\lib\Release\opencv_xfeatures2d310.lib
..\..\..\..\lib\Release\opencv_world310.lib
C:\work\opencv_3.1\opencv\sources\3rdparty\ippicv\unpack\ippicv_win\lib\intel64\ippicvmt.lib
..\..\..\..\3rdparty\lib\Release\libjpeg.lib
..\..\..\..\3rdparty\lib\Release\libwebp.lib
..\..\..\..\3rdparty\lib\Release\libpng.lib
..\..\..\..\3rdparty\lib\Release\libtiff.lib
..\..\..\..\3rdparty\lib\Release\libjasper.lib
..\..\..\..\3rdparty\lib\Release\IlmImf.lib
..\..\..\..\3rdparty\lib\Release\zlib.lib
vfw32.lib
comctl32.lib
setupapi.lib
ws2_32.lib

The 5 lines starting with 'opencv_' looks strange. they lack a path prefix and the version suffix '310', or they should not even exist as there is already '........\lib\Release\opencv_world310.lib'.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions