Skip to content

Fixed build with OpenJPH system library and updated h5z-htj2k v0.1.1 - #409

Merged
t20100 merged 5 commits into
silx-kit:mainfrom
t20100:update-h5z-htj2k
Aug 26, 2026
Merged

Fixed build with OpenJPH system library and updated h5z-htj2k v0.1.1#409
t20100 merged 5 commits into
silx-kit:mainfrom
t20100:update-h5z-htj2k

Conversation

@t20100

@t20100 t20100 commented Aug 26, 2026

Copy link
Copy Markdown
Member

This PR fixes building the htj2k filter with OpenJPH from the system (instead of the vendored one).

OpenJPH advertise the default include path when installed, the includes need openjph/ prefix.

t20100 added 4 commits August 26, 2026 15:52
bb6bf0cd24 Change includes to use OpenJPH installation exposed include dir

git-subtree-dir: lib/h5z-htj2k
git-subtree-split: bb6bf0cd24413b01481b6ce096a612a3eba8bfd4
@t20100 t20100 added this to the Next release milestone Aug 26, 2026
@t20100
t20100 requested a review from payno August 26, 2026 14:01
Comment thread setup.py
include_dirs=[h5z_htj2k_dir] + get_clib_config("openjph", "include_dirs"),
libraries=get_clib_config("openjph", "extra_link_args"),
extra_compile_args=extra_compile_args,
extra_link_args=get_clib_config("openjph", "extra_link_args"),

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes an issue only showing up when building with system lib.

@t20100
t20100 merged commit 0e3f17f into silx-kit:main Aug 26, 2026
4 checks passed
@t20100
t20100 deleted the update-h5z-htj2k branch August 26, 2026 14:24
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.

1 participant