joshdoe / gst-plugins-vision

GStreamer plugins related to the field of machine vision
Other
134 stars 50 forks source link

build for pylon on ubuntu fails #80

Closed ghazalehtrb closed 2 years ago

ghazalehtrb commented 2 years ago
Hi, I tried building with pylon 7.2 and 6.3 but they both failed with the following error. Is there a specific version that I works? How can I fix this? Thank you Scanning dependencies of target gstbayerutils [ 5%] Building C object gst/bayerutils/CMakeFiles/gstbayerutils.dir/gstbayer2gray.c.o /home/ghazaleh/Desktop/ARES/gst-plugins-vision/gst/bayerutils/gstbayer2gray.c: In function ‘gst_bayer2gray_transform_caps’: /home/ghazaleh/Desktop/ARES/gst-plugins-vision/gst/bayerutils/gstbayer2gray.c:273:5: warning: ignoring return value of ‘gst_caps_merge’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 273 gst_caps_merge (other_caps, c); ^~~~~~~~~~ [ 10%] Linking C shared module libgstbayerutils.so [ 10%] Built target gstbayerutils Scanning dependencies of target gstextractcolor [ 15%] Building C object gst/extractcolor/CMakeFiles/gstextractcolor.dir/gstextractcolor.c.o /home/ghazaleh/Desktop/ARES/gst-plugins-vision/gst/extractcolor/gstextractcolor.c: In function ‘gst_extract_color_transform_caps’: /home/ghazaleh/Desktop/ARES/gst-plugins-vision/gst/extractcolor/gstextractcolor.c:301:5: warning: ignoring return value of ‘gst_caps_merge’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 301 gst_caps_merge (other_caps, c); ^~~~~~~~~~ [ 20%] Building C object gst/extractcolor/CMakeFiles/gstextractcolor.dir/gstextractcolororc-dist.c.o [ 25%] Linking C shared module libgstextractcolor.so [ 25%] Built target gstextractcolor Scanning dependencies of target gstmisb [ 30%] Building C object gst/misb/CMakeFiles/gstmisb.dir/gstmisb.c.o [ 35%] Building C object gst/misb/CMakeFiles/gstmisb.dir/gstmisbirpack.c.o [ 40%] Building C object gst/misb/CMakeFiles/gstmisb.dir/gstmisbirunpack.c.o [ 45%] Linking C shared module libgstmisb.so [ 45%] Built target gstmisb Scanning dependencies of target gstselect [ 50%] Building C object gst/select/CMakeFiles/gstselect.dir/gstselect.c.o In file included from /usr/include/gstreamer-1.0/gst/gst.h:55, from /usr/include/gstreamer-1.0/gst/base/gstbasetransform.h:24, from /home/ghazaleh/Desktop/ARES/gst-plugins-vision/gst/select/gstselect.h:28, from /home/ghazaleh/Desktop/ARES/gst-plugins-vision/gst/select/gstselect.c:41: /home/ghazaleh/Desktop/ARES/gst-plugins-vision/gst/select/gstselect.c: In function ‘gst_select_transform_ip’: /home/ghazaleh/Desktop/ARES/gst-plugins-vision/gst/select/gstselect.c:224:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 8 has type ‘guint64’ {aka ‘long unsigned int’} [-Wformat=] 224 "Dropping buffer %d since it's before the chosen offset %d", ^~~~~~~~~~~~~~~ 225 buf_offset, filt->offset); ~~
guint64 {aka long unsigned int}
/usr/include/gstreamer-1.0/gst/gstinfo.h:682:31: note: in definition of macro ‘GST_CAT_LEVEL_LOG’ 682 (GObject *) (object), __VA_ARGS__); \ ^~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/gst/select/gstselect.c:223:5: note: in expansion of macro ‘GST_LOG_OBJECT’ 223 GST_LOG_OBJECT (filt, ^~~~~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/gst/select/gstselect.c:224:27: note: format string is defined here 224 "Dropping buffer %d since it's before the chosen offset %d", ~^
int
%ld
In file included from /usr/include/gstreamer-1.0/gst/gst.h:55, from /usr/include/gstreamer-1.0/gst/base/gstbasetransform.h:24, from /home/ghazaleh/Desktop/ARES/gst-plugins-vision/gst/select/gstselect.h:28, from /home/ghazaleh/Desktop/ARES/gst-plugins-vision/gst/select/gstselect.c:41: /home/ghazaleh/Desktop/ARES/gst-plugins-vision/gst/select/gstselect.c:231:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 8 has type ‘guint64’ {aka ‘long unsigned int’} [-Wformat=] 231 "Dropping buffer %d since it's been chosen to be skipped", buf_offset); ^~~~~~~~~~~~~ ~~
guint64 {aka long unsigned int}
/usr/include/gstreamer-1.0/gst/gstinfo.h:682:31: note: in definition of macro ‘GST_CAT_LEVEL_LOG’ 682 (GObject *) (object), __VA_ARGS__); \ ^~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/gst/select/gstselect.c:230:5: note: in expansion of macro ‘GST_LOG_OBJECT’ 230 GST_LOG_OBJECT (filt, ^~~~~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/gst/select/gstselect.c:231:27: note: format string is defined here 231 "Dropping buffer %d since it's been chosen to be skipped", buf_offset); ~^
int
%ld
[ 55%] Linking C shared module libgstselect.so [ 55%] Built target gstselect Scanning dependencies of target gstvideoadjust [ 60%] Building C object gst/videoadjust/CMakeFiles/gstvideoadjust.dir/gstvideoadjust.c.o [ 65%] Building C object gst/videoadjust/CMakeFiles/gstvideoadjust.dir/gstvideolevels.c.o In file included from /usr/include/gstreamer-1.0/gst/gst.h:55, from /usr/include/gstreamer-1.0/gst/base/gstbasetransform.h:24, from /home/ghazaleh/Desktop/ARES/gst-plugins-vision/gst/videoadjust/gstvideolevels.h:28, from /home/ghazaleh/Desktop/ARES/gst-plugins-vision/gst/videoadjust/gstvideolevels.c:43: /home/ghazaleh/Desktop/ARES/gst-plugins-vision/gst/videoadjust/gstvideolevels.c: In function ‘gst_videolevels_transform’: /home/ghazaleh/Desktop/ARES/gst-plugins-vision/gst/videoadjust/gstvideolevels.c:706:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 8 has type ‘GstClockTimeDiff’ {aka ‘long int’} [-Wformat=] 706 GST_LOG_OBJECT (videolevels, "Auto adjusting levels (%d ns since last)", ^~~~~~~~~~ 707 elapsed); ~~~
GstClockTimeDiff {aka long int}
/usr/include/gstreamer-1.0/gst/gstinfo.h:682:31: note: in definition of macro ‘GST_CAT_LEVEL_LOG’ 682 (GObject *) (object), __VA_ARGS__); \ ^~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/gst/videoadjust/gstvideolevels.c:706:7: note: in expansion of macro ‘GST_LOG_OBJECT’ 706 GST_LOG_OBJECT (videolevels, "Auto adjusting levels (%d ns since last)", ^~~~~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/gst/videoadjust/gstvideolevels.c:706:61: note: format string is defined here 706 GST_LOG_OBJECT (videolevels, "Auto adjusting levels (%d ns since last)", ~^
int
%ld
[ 70%] Linking C shared module libgstvideoadjust.so [ 70%] Built target gstvideoadjust Scanning dependencies of target gstgentl [ 75%] Building C object sys/gentl/CMakeFiles/gstgentl.dir/gstgentlsrc.c.o In file included from /usr/include/gstreamer-1.0/gst/gst.h:55, from /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:40: /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c: In function ‘gst_gentlsrc_get_payload_size’: /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:950:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 8 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 950 GST_DEBUG_OBJECT (src, "Payload size defined by stream info: %d", ^~~~~~~~~ 951 payload_size); ~~~~
size_t {aka long unsigned int}
/usr/include/gstreamer-1.0/gst/gstinfo.h:682:31: note: in definition of macro ‘GST_CAT_LEVEL_LOG’ 682 (GObject *) (object), __VA_ARGS__); \ ^~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:950:5: note: in expansion of macro ‘GST_DEBUG_OBJECT’ 950 GST_DEBUG_OBJECT (src, "Payload size defined by stream info: %d", ^~~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:950:67: note: format string is defined here 950 GST_DEBUG_OBJECT (src, "Payload size defined by stream info: %d", ~^
int
%ld
In file included from /usr/include/gstreamer-1.0/gst/gst.h:55, from /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:40: /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:957:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 8 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 957 GST_DEBUG_OBJECT (src, "Payload size defined by node map: %d", ^~~~~~~~~~ 958 payload_size); ~~~~
size_t {aka long unsigned int}
/usr/include/gstreamer-1.0/gst/gstinfo.h:682:31: note: in definition of macro ‘GST_CAT_LEVEL_LOG’ 682 (GObject *) (object), __VA_ARGS__); \ ^~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:957:5: note: in expansion of macro ‘GST_DEBUG_OBJECT’ 957 GST_DEBUG_OBJECT (src, "Payload size defined by node map: %d", ^~~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:957:64: note: format string is defined here 957 GST_DEBUG_OBJECT (src, "Payload size defined by node map: %d", ~^
int
%ld
In file included from /usr/include/gstreamer-1.0/gst/gst.h:55, from /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:40: /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c: In function ‘gst_gentlsrc_get_gev_tick_frequency’: /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1025:26: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 8 has type ‘guint64’ {aka ‘long unsigned int’} [-Wformat=] 1025 GST_DEBUG_OBJECT (src, "GEV Timestamp tick frequency is %llu", ^~~~~~~~~~ 1026 tick_frequency); ~~~~~~
guint64 {aka long unsigned int}
/usr/include/gstreamer-1.0/gst/gstinfo.h:682:31: note: in definition of macro ‘GST_CAT_LEVEL_LOG’ 682 (GObject *) (object), __VA_ARGS__); \ ^~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1025:3: note: in expansion of macro ‘GST_DEBUG_OBJECT’ 1025 GST_DEBUG_OBJECT (src, "GEV Timestamp tick frequency is %llu", ^~~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1025:62: note: format string is defined here 1025 GST_DEBUG_OBJECT (src, "GEV Timestamp tick frequency is %llu", ~~~^
long long unsigned int
%lu
In file included from /usr/include/gstreamer-1.0/gst/gst.h:55, from /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:40: /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c: In function ‘gst_gentlsrc_get_gev_timestamp_ns’: /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1049:26: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 8 has type ‘guint64’ {aka ‘long unsigned int’} [-Wformat=] 1049 GST_LOG_OBJECT (src, "Timestamp ticks are %llu", ticks); ^~~~~~ ~
guint64 {aka long unsigned int}
/usr/include/gstreamer-1.0/gst/gstinfo.h:682:31: note: in definition of macro ‘GST_CAT_LEVEL_LOG’ 682 (GObject *) (object), __VA_ARGS__); \ ^~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1049:5: note: in expansion of macro ‘GST_LOG_OBJECT’ 1049 GST_LOG_OBJECT (src, "Timestamp ticks are %llu", ticks); ^~~~~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1049:50: note: format string is defined here 1049 GST_LOG_OBJECT (src, "Timestamp ticks are %llu", ticks); ~~~^
long long unsigned int
%lu
In file included from /usr/include/gstreamer-1.0/gst/gst.h:55, from /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:40: /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1060:24: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 8 has type ‘guint64’ {aka ‘long unsigned int’} [-Wformat=] 1060 GST_LOG_OBJECT (src, "Device timestamp in ns is %llu", timestamp_ns); ^~~~~~~~ ~~~~
guint64 {aka long unsigned int}
/usr/include/gstreamer-1.0/gst/gstinfo.h:682:31: note: in definition of macro ‘GST_CAT_LEVEL_LOG’ 682 (GObject *) (object), __VA_ARGS__); \ ^~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1060:3: note: in expansion of macro ‘GST_LOG_OBJECT’ 1060 GST_LOG_OBJECT (src, "Device timestamp in ns is %llu", timestamp_ns); ^~~~~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1060:54: note: format string is defined here 1060 GST_LOG_OBJECT (src, "Device timestamp in ns is %llu", timestamp_ns); ~~~^
long long unsigned int
%lu
In file included from /usr/include/gstreamer-1.0/gst/gst.h:55, from /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:40: /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c: In function ‘gst_gentlsrc_src_latch_timestamps’: /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1079:26: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 8 has type ‘guint64’ {aka ‘long unsigned int’} [-Wformat=] 1079 GST_LOG_OBJECT (src, "Latched system time: %llu", src->unix_latched_ns); ^~~~~~~ ~~~~
guint64 {aka long unsigned int}
/usr/include/gstreamer-1.0/gst/gstinfo.h:682:31: note: in definition of macro ‘GST_CAT_LEVEL_LOG’ 682 (GObject *) (object), __VA_ARGS__); \ ^~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1079:5: note: in expansion of macro ‘GST_LOG_OBJECT’ 1079 GST_LOG_OBJECT (src, "Latched system time: %llu", src->unix_latched_ns); ^~~~~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1079:51: note: format string is defined here 1079 GST_LOG_OBJECT (src, "Latched system time: %llu", src->unix_latched_ns); ~~~^
long long unsigned int
%lu
In file included from /usr/include/gstreamer-1.0/gst/gst.h:55, from /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:40: /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1080:26: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 8 has type ‘guint64’ {aka ‘long unsigned int’} [-Wformat=] 1080 GST_LOG_OBJECT (src, "Latched GenTL time : %llu", src->gentl_latched_ns); ^~~~~~~ ~~~~~
guint64 {aka long unsigned int}
/usr/include/gstreamer-1.0/gst/gstinfo.h:682:31: note: in definition of macro ‘GST_CAT_LEVEL_LOG’ 682 (GObject *) (object), __VA_ARGS__); \ ^~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1080:5: note: in expansion of macro ‘GST_LOG_OBJECT’ 1080 GST_LOG_OBJECT (src, "Latched GenTL time : %llu", src->gentl_latched_ns); ^~~~~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1080:51: note: format string is defined here 1080 GST_LOG_OBJECT (src, "Latched GenTL time : %llu", src->gentl_latched_ns); ~~~^
long long unsigned int
%lu
In file included from /usr/include/gstreamer-1.0/gst/gst.h:55, from /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:40: /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c: In function ‘gst_gentlsrc_set_attributes’: /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1113:32: warning: format ‘%s’ expects argument of type ‘char *’, but argument 8 has type ‘gchar ’ {aka ‘char ’} [-Wformat=] 1113 GST_WARNING_OBJECT (src, "Failed to parse attribute/value: '%s'", pair); ^~~~~~~~~ ~~
gchar {aka char }
/usr/include/gstreamer-1.0/gst/gstinfo.h:682:31: note: in definition of macro ‘GST_CAT_LEVEL_LOG’ 682 (GObject *) (object), __VA_ARGS__); \ ^~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1113:7: note: in expansion of macro ‘GST_WARNING_OBJECT’ 1113 GST_WARNING_OBJECT (src, "Failed to parse attribute/value: '%s'", pair); ^~~~~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1113:68: note: format string is defined here 1113 GST_WARNING_OBJECT (src, "Failed to parse attribute/value: '%s'", pair); ~^
char *
In file included from /usr/include/gstreamer-1.0/gst/gstbin.h:27, from /usr/include/gstreamer-1.0/gst/gst.h:35, from /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:40: /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c: In function ‘gst_gentlsrc_get_buffer’: /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1904:10: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 1904 ("Unsupported payload type: %d", payload_type), (NULL)); ^~~~~~~~ ~~~~~~
size_t {aka long unsigned int}
/usr/include/gstreamer-1.0/gst/gstelement.h:422:44: note: in definition of macro ‘GST_ELEMENT_ERROR’ 422 gchar *__txt = _gst_element_error_printf text; \ ^~~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1904:38: note: format string is defined here 1904 ("Unsupported payload type: %d", payload_type), (NULL)); ~^
int
%ld
In file included from /usr/include/gstreamer-1.0/gst/gst.h:55, from /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:40: /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1913:26: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 8 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 1913 GST_LOG_OBJECT (src, "Buffer GentTL timestamp: %llu ns", buf_timestamp_ns); ^~~~~~~~ ~~~~~~
uint64_t {aka long unsigned int}
/usr/include/gstreamer-1.0/gst/gstinfo.h:682:31: note: in definition of macro ‘GST_CAT_LEVEL_LOG’ 682 (GObject *) (object), __VA_ARGS__); \ ^~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1913:5: note: in expansion of macro ‘GST_LOG_OBJECT’ 1913 GST_LOG_OBJECT (src, "Buffer GentTL timestamp: %llu ns", buf_timestamp_ns); ^~~~~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1913:55: note: format string is defined here 1913 GST_LOG_OBJECT (src, "Buffer GentTL timestamp: %llu ns", buf_timestamp_ns); ~~~^
long long unsigned int
%lu
In file included from /usr/include/gstreamer-1.0/gst/gst.h:55, from /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:40: /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1921:26: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 8 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 1921 GST_LOG_OBJECT (src, "Buffer GentTL timestamp: %llu ticks, %llu ns", ^~~~~~~~~~ 1922 buf_timestamp_ticks, buf_timestamp_ns); ~~~~~~~
uint64_t {aka long unsigned int}
/usr/include/gstreamer-1.0/gst/gstinfo.h:682:31: note: in definition of macro ‘GST_CAT_LEVEL_LOG’ 682 (GObject *) (object), __VA_ARGS__); \ ^~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1921:5: note: in expansion of macro ‘GST_LOG_OBJECT’ 1921 GST_LOG_OBJECT (src, "Buffer GentTL timestamp: %llu ticks, %llu ns", ^~~~~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1921:55: note: format string is defined here 1921 GST_LOG_OBJECT (src, "Buffer GentTL timestamp: %llu ticks, %llu ns", ~~~^
long long unsigned int
%lu
In file included from /usr/include/gstreamer-1.0/gst/gst.h:55, from /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:40: /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1921:26: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 9 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 1921 GST_LOG_OBJECT (src, "Buffer GentTL timestamp: %llu ticks, %llu ns", ^~~~~~~~~~ 1922 buf_timestamp_ticks, buf_timestamp_ns); ~~~~
uint64_t {aka long unsigned int}
/usr/include/gstreamer-1.0/gst/gstinfo.h:682:31: note: in definition of macro ‘GST_CAT_LEVEL_LOG’ 682 (GObject *) (object), __VA_ARGS__); \ ^~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1921:5: note: in expansion of macro ‘GST_LOG_OBJECT’ 1921 GST_LOG_OBJECT (src, "Buffer GentTL timestamp: %llu ticks, %llu ns", ^~~~~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1921:67: note: format string is defined here 1921 GST_LOG_OBJECT (src, "Buffer GentTL timestamp: %llu ticks, %llu ns", ~~~^
long long unsigned int
%lu
In file included from /usr/include/gstreamer-1.0/gst/gstbin.h:27, from /usr/include/gstreamer-1.0/gst/gst.h:35, from /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:40: /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1957:10: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 1957 ("Buffer size (%d) is smaller than expected image size (%llu)", ^~~~~~~~~~~~~ 1958 buffer_size, image_size), (NULL)); ~~~
size_t {aka long unsigned int}
/usr/include/gstreamer-1.0/gst/gstelement.h:422:44: note: in definition of macro ‘GST_ELEMENT_ERROR’ 422 gchar *__txt = _gst_element_error_printf text; \ ^~~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1957:25: note: format string is defined here 1957 ("Buffer size (%d) is smaller than expected image size (%llu)", ~^
int
%ld
In file included from /usr/include/gstreamer-1.0/gst/gstbin.h:27, from /usr/include/gstreamer-1.0/gst/gst.h:35, from /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:40: /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1957:10: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘guint64’ {aka ‘long unsigned int’} [-Wformat=] 1957 ("Buffer size (%d) is smaller than expected image size (%llu)", ^~~~~~~~~~~~~ 1958 buffer_size, image_size), (NULL)); ~~
guint64 {aka long unsigned int}
/usr/include/gstreamer-1.0/gst/gstelement.h:422:44: note: in definition of macro ‘GST_ELEMENT_ERROR’ 422 gchar *__txt = _gst_element_error_printf text; \ ^~~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1957:68: note: format string is defined here 1957 ("Buffer size (%d) is smaller than expected image size (%llu)", ~~~^
long long unsigned int
%lu
In file included from /usr/include/gstreamer-1.0/gst/gst.h:55, from /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:40: /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1988:26: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 8 has type ‘GstClockTime’ {aka ‘long unsigned int’} [-Wformat=] 1988 GST_LOG_OBJECT (src, "Adding Unix timestamp: %llu", unix_ts); ^~~~~~~ ~~~~~
GstClockTime {aka long unsigned int}
/usr/include/gstreamer-1.0/gst/gstinfo.h:682:31: note: in definition of macro ‘GST_CAT_LEVEL_LOG’ 682 (GObject *) (object), __VA_ARGS__); \ ^~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1988:5: note: in expansion of macro ‘GST_LOG_OBJECT’ 1988 GST_LOG_OBJECT (src, "Adding Unix timestamp: %llu", unix_ts); ^~~~~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/gentl/gstgentlsrc.c:1988:53: note: format string is defined here 1988 GST_LOG_OBJECT (src, "Adding Unix timestamp: %llu", unix_ts); ~~~^
long long unsigned int
%lu

[ 80%] Building C object sys/gentl/CMakeFiles/gstgentl.dir/ioapi.c.o [ 85%] Building C object sys/gentl/CMakeFiles/gstgentl.dir/unzip.c.o [ 90%] Linking C shared module libgstgentl.so [ 90%] Built target gstgentl Scanning dependencies of target gstpylon [ 95%] Building C object sys/pylon/CMakeFiles/gstpylon.dir/gstpylonsrc.c.o In file included from /usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/gstreamer-1.0/gst/gst.h:27, from /usr/include/gstreamer-1.0/gst/base/gstpushsrc.h:27, from /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/pylon/gstpylonsrc.h:24, from /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/pylon/gstpylonsrc.c:38: /usr/include/glib-2.0/glib/gmacros.h:758:31: error: static assertion failed: "Expression evaluates to false" 758 | #define G_STATIC_ASSERT(expr) _Static_assert (expr, "Expression evaluates to false") | ^~~~~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/pylon/gstpylonsrc.c:192:1: note: in expansion of macro ‘G_STATIC_ASSERT’ 192 | G_STATIC_ASSERT ((int) PROP_NUM_PROPERTIES == GST_PYLONSRC_NUM_PROPS); | ^~~~~~~ In file included from /home/ghazaleh/Desktop/ARES/gst-plugins-vision/sys/pylon/gstpylonsrc.c:43: /home/ghazaleh/Desktop/ARES/gst-plugins-vision/./common/genicampixelformat.h:264:1: warning: ‘gst_genicam_pixel_format_caps_from_pixel_format’ defined but not used [-Wunused-function] 264 | gst_genicam_pixel_format_caps_from_pixel_format (const char pixel_format, | ^~~~~~~~~~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/./common/genicampixelformat.h:256:1: warning: ‘gst_genicam_pixel_format_get_stride’ defined but not used [-Wunused-function] 256 | gst_genicam_pixel_format_get_stride (const char pixel_format, | ^~~~~~~~~~~ /home/ghazaleh/Desktop/ARES/gst-plugins-vision/./common/genicampixelformat.h:226:1: warning: ‘gst_genicam_pixel_format_from_caps’ defined but not used [-Wunused-function] 226 | gst_genicam_pixel_format_from_caps (const GstCaps caps, int endianness) | ^~~~~~~~~~ make[2]: [sys/pylon/CMakeFiles/gstpylon.dir/build.make:82: sys/pylon/CMakeFiles/gstpylon.dir/gstpylonsrc.c.o] Error 1 make[1]: [CMakeFiles/Makefile2:479: sys/pylon/CMakeFiles/gstpylon.dir/all] Error 2 make: *** [Makefile:171: all] Error 2