Skip to content

Prebuilt binaries missing headers #2067

Description

@DavidPerretSN

Hello,

I noticed that starting with the 3.2.0 release, AliceVision prebuilt binaries are available again, which is greatly appreciated. However, the distributed packages appear to be incomplete for use from an external application.

Missing headers and include structure

The prebuilt binaries do not include the header files nor the expected include/ directory structure. This makes it impossible to properly consume AliceVision as a dependency from another project without rebuilding it from source.

I found a GitHub issue from 2019 #701 mentioning that headers would be included in the “next release”, but this does not seem to have been addressed yet, or the change was later reverted.

Non-relocatable CMake configuration

Additionally, the file:

share/aliceVision/cmake/AliceVisionConfig.cmake

contains hard-coded absolute paths, for example:

set(OpenCV_DIR C:/Release/sources/vcpkg/installed/x64-windows-release/share/opencv/../opencv4)

This makes the prebuilt package non-relocatable and unusable on any system other than the one it was built on, defeating the purpose of providing binaries.

Expected behavior

Ideally, the prebuilt packages should:

  • Include all public headers and a proper include/ directory
  • Allow AliceVision to be consumed cleanly via find_package(AliceVision) from an external CMake project

Please let me know if this is a known limitation or if there are plans to address it in an upcoming release.

Thanks for your work on AliceVision.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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