cancel
Showing results for 
Search instead for 
Did you mean: 
Adventurer
Adventurer
185 Views
Registered: ‎06-20-2019

Compilation problem of videoio library on SDSoC

Jump to solution

Hello,

I am trying to compile some examples of xfopencv on SDSoC 2019.1. However, i am having trouble during compilation.  The console output is as following, libopencv_videoio.so library is not compiled as it must be:

/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: warning: libgobject-2.0.so.0, needed by /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so, not found (try using -rpath or -rpath-link)
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: warning: libglib-2.0.so.0, needed by /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so, not found (try using -rpath or -rpath-link)
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: warning: libgstreamer-1.0.so.0, needed by /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so, not found (try using -rpath or -rpath-link)
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: warning: libgstapp-1.0.so.0, needed by /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so, not found (try using -rpath or -rpath-link)
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: warning: libgstriff-1.0.so.0, needed by /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so, not found (try using -rpath or -rpath-link)
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: warning: libgstpbutils-1.0.so.0, needed by /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so, not found (try using -rpath or -rpath-link)
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: warning: libv4l1.so.0, needed by /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so, not found (try using -rpath or -rpath-link)
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: warning: libv4l2.so.0, needed by /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so, not found (try using -rpath or -rpath-link)
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: warning: libgphoto2.so.6, needed by /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so, not found (try using -rpath or -rpath-link)
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: warning: libgphoto2_port.so.12, needed by /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so, not found (try using -rpath or -rpath-link)
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_structure_get_fraction'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_app_src_set_caps'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_element_link_many'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_buffer_map'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_widget_get_id'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_element_link'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_app_sink_set_max_buffers'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_element_query_duration'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_element_get_type'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `v4l2_munmap'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_object_get_name'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_pad_get_current_caps'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `g_error_free'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_message_parse_state_changed'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_pad_link'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_object_unref'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_camera_file_delete'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_element_get_state'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_element_set_state'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_widget_get_child'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_app_sink_is_eos'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `g_filename_to_uri'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `g_type_check_instance_cast'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_camera_unref'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_camera_get_config'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_buffer_unmap'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_bus_have_pending'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_element_factory_find'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_camera_capture_preview'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_widget_get_info'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_widget_count_children'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_widget_get_type'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_sample_get_caps'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_list_get_value'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_element_query_position'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_app_sink_set_caps'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_abilities_list_load'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_app_src_set_size'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_widget_unref'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_structure_get_name'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_widget_get_name'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_context_set_message_func'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_list_new'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_context_unref'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_element_make_from_uri'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `g_strdup'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_uri_is_valid'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_abilities_list_new'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_camera_exit'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_widget_get_label'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `g_value_get_object'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_widget_get_choice'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_widget_get_value'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_camera_capture'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_sample_get_buffer'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_widget_get_range'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_context_set_status_func'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `v4l1_ioctl'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_mini_object_is_writable'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `v4l1_mmap'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_structure_get_int'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_app_src_set_stream_type'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_iterator_free'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_port_info_list_free@LIBGPHOTO2_5_0'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_iterator_next'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_camera_autodetect'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_pipeline_new'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_encoding_video_profile_new'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_structure_remove_field'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `g_signal_connect_data'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_file_unref'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_file_new'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_element_get_bus'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_caps_new_simple'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `v4l1_open'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_widget_set_changed'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_abilities_list_free'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_app_sink_set_emit_signals'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `v4l2_mmap'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_iterator_resync'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_message_parse_stream_status'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_widget_get_readonly'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `v4l2_open'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_list_unref'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_parse_launch'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `g_free'
make[1]: *** [crop.elf] Error 1
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_bin_get_type'
make: *** [all] Error 2
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_context_new'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `g_object_set'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `g_object_get'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_caps_fixate'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_widget_count_choices'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_buffer_new_allocate'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_mini_object_unref'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gp_abilities_list_lookup_model'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: /tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib/libopencv_videoio.so: undefined reference to `gst_message_parse_error'
....
collect2: error: ld returned 1 exit status
ERROR: [SdsCompiler 83-5019] Exiting sds++ : Error when calling 'aarch64-linux-gnu-g++ /home/yahya/Desktop/sdsoc_wsp/crop/Release/_sds/swstubs/xf_crop_hpp.o /home/yahya/Desktop/sdsoc_wsp/crop/Release/src/xf_crop_tb.o /home/yahya/Desktop/sdsoc_wsp/crop/Release/_sds/swstubs/xf_crop_accel.o -L/home/yahya/Desktop/sdsoc_wsp/lib_3rd_part -L/tools/Xilinx/SDK/2019.1/data/embeddedsw/ThirdParty/opencv/aarch64/lib -L/tools/Xilinx/Vivado/2019.1/include/opencv2/imgproc -lopencv_videoio -lopencv_imgcodecs -lopencv_core -lopencv_calib3d -llzma -ltiff -lpng16 -lz -ljpeg -ldl -lrt -lwebp -lopencv_imgproc -lopencv_features2d -lopencv_flann -lopencv_video -L/home/yahya/Desktop/sdsoc_wsp/crop/Release/_sds/swstubs -Wl,--start-group -Wl,--end-group -Wl,--start-group -lpthread -L/tools/Xilinx/SDx/2019.1/target/aarch64-linux/lib -lsds_lib -lxlnk_stub -Wl,--end-group -o /home/yahya/Desktop/sdsoc_wsp/crop/Release/_sds/swstubs/crop.elf '
sds++ log file saved as /home/yahya/Desktop/sdsoc_wsp/crop/Release/_sds/reports/sds.log
ERROR: [SdsCompiler 83-5004] Build failed

I tried to install them one by one but they are already installed.

Thanks for your time.

 

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Adventurer
Adventurer
100 Views
Registered: ‎06-20-2019

Re: Compilation problem of videoio library on SDSoC

Jump to solution

I solved the problem by giving sysroot path to the miscellanous part of the c/c++ build settings for both linker and compiler(with --sysroot ...). I would expect it to be considered when it is given as environment variable (which didnt work).

View solution in original post

0 Kudos
2 Replies
Highlighted
Moderator
Moderator
111 Views
Registered: ‎08-20-2018

Re: Compilation problem of videoio library on SDSoC

Jump to solution

Hi @yhy.xilinx 

Please let me know which example you are trying to compile.

Also, let me know which platform it is.

Best Regards,
Nutan
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution
0 Kudos
Highlighted
Adventurer
Adventurer
101 Views
Registered: ‎06-20-2019

Re: Compilation problem of videoio library on SDSoC

Jump to solution

I solved the problem by giving sysroot path to the miscellanous part of the c/c++ build settings for both linker and compiler(with --sysroot ...). I would expect it to be considered when it is given as environment variable (which didnt work).

View solution in original post

0 Kudos