intel / ipu6-camera-hal

Apache License 2.0
39 stars 32 forks source link

Build errors of the gst src plugin #1

Closed fourdollars closed 3 years ago

fourdollars commented 3 years ago

However I can not find the declaration of camera_view_rotation_t.

gstcamerawfovinterface.h:103:70: error: ‘camera_view_projection_t’ has not been declared
  103 |   gboolean      (*set_view_projection)   (GstCamerasrcWFOV *camWFOV, camera_view_projection_t projection);
      |                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~
gstcamerawfovinterface.h:111:70: error: ‘camera_view_projection_t’ has not been declared
  111 |   gboolean      (*get_view_projection)   (GstCamerasrcWFOV *camWFOV, camera_view_projection_t &projection);
      |                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~
gstcamerawfovinterface.h:119:68: error: ‘camera_view_rotation_t’ has not been declared
  119 |   gboolean      (*set_view_rotation)   (GstCamerasrcWFOV *camWFOV, camera_view_rotation_t rotation);
      |                                                                    ^~~~~~~~~~~~~~~~~~~~~~
gstcamerawfovinterface.h:127:68: error: ‘camera_view_rotation_t’ has not been declared
  127 |   gboolean      (*get_view_rotation)   (GstCamerasrcWFOV *camWFOV, camera_view_rotation_t &rotation);
      |                                                                    ^~~~~~~~~~~~~~~~~~~~~~
gstcamerawfovinterface.h:135:76: error: ‘camera_view_fine_adjustments_t’ has not been declared
  135 |   gboolean      (*set_view_fine_adjustments)   (GstCamerasrcWFOV *camWFOV, camera_view_fine_adjustments_t fine_adjustments);
      |                                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gstcamerawfovinterface.h:143:76: error: ‘camera_view_fine_adjustments_t’ has not been declared
  143 |   gboolean      (*get_view_fine_adjustments)   (GstCamerasrcWFOV *camWFOV, camera_view_fine_adjustments_t &fine_adjustments);
      |                                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gstcamerawfovinterface.h:151:70: error: ‘camera_view_rotation_t’ has not been declared
  151 |   gboolean      (*set_camera_rotation)   (GstCamerasrcWFOV *camWFOV, camera_view_rotation_t camRotation);
      |                                                                      ^~~~~~~~~~~~~~~~~~~~~~
gstcamerawfovinterface.h:159:70: error: ‘camera_view_rotation_t’ has not been declared
  159 |   gboolean      (*get_camera_rotation)   (GstCamerasrcWFOV *camWFOV, camera_view_rotation_t &camRotation);
      |
fourdollars commented 3 years ago

export CHROME_SLIM_INTERFACE=ON can fix the problem.