-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
seems the libsigrokdecode/version.h is missed because the version.h is added in the libsigrokdecode/.gitignore. so the version.h is missed and cause follw build failure issue.
/home/hzy/build/PXView/libsigrokdecode/version.c: In function ‘srd_package_version_major_get’:
/home/hzy/build/PXView/libsigrokdecode/version.c:60:16: error: ‘SRD_PACKAGE_VERSION_MAJOR’ undeclared (first use in this function); did you mean ‘SR_PACKAGE_VER
SION_STRING’?
60 | return SRD_PACKAGE_VERSION_MAJOR;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| SR_PACKAGE_VERSION_STRING
/home/hzy/build/PXView/libsigrokdecode/version.c:60:16: note: each undeclared identifier is reported only once for each function it appears in
/home/hzy/build/PXView/libsigrokdecode/version.c: In function ‘srd_package_version_minor_get’:
/home/hzy/build/PXView/libsigrokdecode/version.c:72:16: error: ‘SRD_PACKAGE_VERSION_MINOR’ undeclared (first use in this function); did you mean ‘SR_PACKAGE_VER
SION_STRING’?
72 | return SRD_PACKAGE_VERSION_MINOR;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| SR_PACKAGE_VERSION_STRING
/home/hzy/build/PXView/libsigrokdecode/version.c: In function ‘srd_package_version_micro_get’:
/home/hzy/build/PXView/libsigrokdecode/version.c:84:16: error: ‘SRD_PACKAGE_VERSION_MICRO’ undeclared (first use in this function); did you mean ‘SR_PACKAGE_VER
SION_STRING’?
84 | return SRD_PACKAGE_VERSION_MICRO;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| SR_PACKAGE_VERSION_STRINGMetadata
Metadata
Assignees
Labels
No labels