Skip to content

Use pimega library from system installation - #1

Draft
henriquesimoes wants to merge 2 commits into
pitec-v3from
sys-libs
Draft

Use pimega library from system installation #1
henriquesimoes wants to merge 2 commits into
pitec-v3from
sys-libs

Conversation

@henriquesimoes

Copy link
Copy Markdown
Collaborator

Expect the library to be already installed in the system directories to simplify IOC build system and make the library version less coupled with support module. Since develop cycles happen in a high frequency now, this is being preferred over importing headers and binaries into a support module, as done in other areaDetector modules with proprietary SDKs.

We need to explicitly define include directory for pimega library due to the usage of #include "" directives. By default, we expect headers to be installed under pimega directory, to avoid their generic subdirectories from conflicting with other application headers. This should be redefined in CONFIG_SITE.local to override the default value if needed.

While here, also make GLib be installed following the areaDetector top-level CONFIG_SITE.

GLib is a dependency for other areaDetector modules, and it should be
defined in the top-level areaDetector CONFIG_SITE.local. Let's use that
instead of hard-coding deploy specific paths into src/Makefile.
Expect the library to be already installed in the system directories to
simplify IOC build system and make the library version less coupled with
support module. Since develop cycles happen in a high frequency now,
this is being preferred over importing headers and binaries into a
support module, as done in other areaDetector modules with proprietary
SDKs.

We need to explicitly define include directory for pimega library due to
the usage of `#include ""` directives. By default, we expect headers to
be installed under `pimega` directory, to avoid their generic
subdirectories from conflicting with other application headers. This
should be redefined in CONFIG_SITE.local to override the default value
if needed.
@ericonr
ericonr changed the base branch from master to lumentum-v3 February 24, 2025 19:25
Gabriel-Amorim255 pushed a commit to Gabriel-Amorim255/ADPimega that referenced this pull request Jan 8, 2026
fix: query `MedipixMode` PV to get current image mode

Approved-by: Bruno Caponi
Approved-by: Gabriel Alves de Amorim
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