Skip to content

dependency on third-party library libyuv seems unused in build #60

@RamenEggs

Description

@RamenEggs

There are tests that depend on libyuv and CMake configuration exist for those tests, but they don't seem to get built currently. So libyuv gets built when third-party dependency build script runs but does not get used while building Ocean.

For example, testcv library build configuration does not have a "add_subdirectory" directive for the subdirectory "testlibyuv".

Removing references to libyuv from "build/cmake/third-party/" directory then performing clean rebuild resulted in successful build on my Mac.

Not sure if there are Gradle, Visual Studio, or Xcode projects that depend on libyuv, but I haven't run into one yet.

A related issue is that searching for "OCEAN_TEST_CV_LIBYUV_HAS_EXTRAS" shows that the preprocessor macro is specified in CMake configuration for "testsynthesis", "testopencv", and "testsegmentation". But, the only source code that use "OCEAN_TEST_CV_LIBYUV_HAS_EXTRAS" is in "testlibyuv".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions