Skip to content

ODM changes on v.2.4.0 - #4

Draft
DodgySpaniard wants to merge 25 commits into
masterfrom
omvs-v240
Draft

DodgySpaniard wants to merge 25 commits into
masterfrom
omvs-v240

Conversation

@DodgySpaniard

Copy link
Copy Markdown
Member

Rebasing our custom changes on the latest master release v.2.4.0 (Jan 20, 2026).

Minor changes are required on the stack:

  • HRESULT became bool (upstream changes moving custom types to the standard bool type).
  • dropped - f0fe735 - Disable CMP0127 and SSE optimisations for ARM
  • Updated - 1117ce7 - Adapt PLY Properties FPCFilter (updated to also drop the new property 'label')

Copied from cdcseacave/openMVS e2f38b4
(PR cdcseacave#1294), limited to the pkg_check_modules_fullpath_libs macro. Drop
when rebasing onto a release that contains it.

The v2.4.0 macro fell back to a bare -ljxl when no static libjxl was
found, and on macOS with conda-forge that failed with "library not
found for -ljxl". Upstream's version uses the absolute paths
FindPkgConfig already resolves.

One line is kept from the v2.4.0 macro that upstream dropped: skipping
a bare "m" on Windows. conda-forge's Windows libjxl.pc lists -lm, and
MSVC fails with "cannot open input file 'm.lib'" otherwise.
vcpkg.json must not be present in this fork. ODM builds OpenMVS from a
conda environment, but on Windows the Visual Studio activation exports
VCPKG_ROOT, and OpenMVS's CMakeLists then loads the vcpkg toolchain on
its own. With a manifest in the source tree that toolchain switches to
manifest mode and tries to install every dependency before configure,
which fails and would duplicate the conda packages if it succeeded.
Without the manifest the toolchain stays in classic mode and is inert.

The upstream CI workflow depends on that manifest, so it cannot pass
here. Remove it rather than leave every fork PR permanently red.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants