Package Details: icamerasrc-git r57.2d36ade-1

Git Clone URL: https://aur.archlinux.org/icamerasrc-git.git (read-only, click to copy)
Package Base: icamerasrc-git
Description: Intel IPU6 camera source for GStreamer
Upstream URL: https://github.com/intel/icamerasrc
Licenses: LGPL2.1
Submitter: thesola10
Maintainer: thesola10
Last Packager: thesola10
Votes: 2
Popularity: 0.000072
First Submitted: 2022-08-20 20:50 (UTC)
Last Updated: 2023-02-20 10:47 (UTC)

Latest Comments

1 2 Next › Last »

vnoel commented on 2024-06-06 06:58 (UTC)

Hi, this is the diff for having this compile, I also removed an option that is not useful anymore according to the upstream repository:

+prepare() {
+    cd $_pkgname
+    sed -i "s|-D_FORTIFY_SOURCE=2||" src/Makefile.am src/interfaces/Makefile.am
+}
+
 build() {
     cd "$srcdir/$_pkgname"
     export CHROME_SLIM_CAMHAL=ON
-    export STRIP_VIRTUAL_CHANNEL_CAMHAL=ON
     ./autogen.sh
     make
 }

CasualArchUser commented on 2024-05-31 10:09 (UTC)

Build fails for me:

In file included from gstcamera3ainterface.cpp:49:
gstcamera3ainterface.h:48:10: fatal error: ICamera.h: No such file or directory
   48 | #include <ICamera.h>
      |          ^~~~~~~~~~~

melissawm commented on 2024-04-08 00:48 (UTC) (edited on 2024-04-08 00:55 (UTC) by melissawm)

Hello all, this package fails to build as-is on Manjaro. I had to modify the PKGBUILD to point to commit 931412a66cdf5d24ed77aa3b652a958dae9b2e9e, but then it built and the webcam works!

hugo_loio commented on 2024-02-23 23:51 (UTC) (edited on 2024-02-23 23:53 (UTC) by hugo_loio)

For me the package doesn't build as well, I tried the suggestions in the comments and I still get this error


gstcamerasrc.cpp: In function 'void gst_camerasrc_class_init(GstcamerasrcClass*)':
gstcamerasrc.cpp:980:67: error: expected primary-expression before ',' token
  980 |        gst_camerasrc_device_id_get_type(), DEFAULT_PROP_DEVICE_ID, (GParamFlags)(G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
      |                                                                  ^

gstcamerasrc.cpp: In function 'void gst_camerasrc_init(Gstcamerasrc*)':
gstcamerasrc.cpp:1258:30: error: expected primary-expression before '<' token
 1258 |   if (DEFAULT_PROP_DEVICE_ID < camerasrc->number_of_cameras) {
      |                              ^
gstcamerasrc.cpp:1259:50: error: expected primary-expression before ';' token
 1259 |     camerasrc->device_id = DEFAULT_PROP_DEVICE_ID;
      |                                                  ^
make[3]: *** [Makefile:624: libgsticamerasrc_la-gstcamerasrc.lo] Error 1
make[3]: Leaving directory '/home/hugo/.cache/yay/icamerasrc-git/src/icamerasrc/src'
make[2]: *** [Makefile:685: all-recursive] Error 1
make[2]: Leaving directory '/home/hugo/.cache/yay/icamerasrc-git/src/icamerasrc/src'
make[1]: *** [Makefile:520: all-recursive] Error 1
make[1]: Leaving directory '/home/hugo/.cache/yay/icamerasrc-git/src/icamerasrc'
make: *** [Makefile:429: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

potuz commented on 2023-09-05 11:15 (UTC)

@thesola which branch are you building, just updated and got a few new gst-plugin-* I thought could be the cause. Clean clone, autogen + make, same failures

thesola10 commented on 2023-09-04 18:24 (UTC)

Can't reproduce, latest commit 931412a works with gcc 13.1 clean build.

potuz commented on 2023-09-04 16:43 (UTC)

Even that commit fails with the same errors reported by redKite

sigboe commented on 2023-06-05 07:09 (UTC)

This package doesn't work as is, 3 months ago intel submitted a breaking change that broke compilation. This was to support unreleased work, and the official response as of 1 month ago from the intel maintainer is to build a previous release. Until building is fixed upstream, I suggest using the following source array in the PKGBUILD instead

source=("git+${url}.git#commit=17841ab6249aaa69bd9b3959262bf182dee74111"
        "70-ipu6-psys.rules")

This can be reverted back to use #branch=icamerasrc_slim_api after upstream is fixed in public releases.

refrence: https://github.com/intel/icamerasrc/pull/31#discussion_r1184456155

redKite commented on 2023-04-19 12:14 (UTC) (edited on 2023-04-19 12:16 (UTC) by redKite)

Hi, I've tried to remove the last argument from camera_device_open() and then run the autogen script, but compiling failed with this error log:


In file included from gstcamerasrc.cpp:72:
../src/interfaces/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);
      |                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~
../src/interfaces/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);
      |                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~
../src/interfaces/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);
      |                                                                    ^~~~~~~~~~~~~~~~~~~~~~
../src/interfaces/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);
      |                                                                    ^~~~~~~~~~~~~~~~~~~~~~
../src/interfaces/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);
      |                                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/interfaces/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);
      |                                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/interfaces/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);
      |                                                                      ^~~~~~~~~~~~~~~~~~~~~~
../src/interfaces/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);
      |                                                                      ^~~~~~~~~~~~~~~~~~~~~~
gstcamerasrc.cpp:299:79: error: 'camera_view_projection_t' has not been declared
  299 | static gboolean gst_camerasrc_set_view_projection (GstCamerasrcWFOV *camWFOV, camera_view_projection_t projection);
      |                                                                               ^~~~~~~~~~~~~~~~~~~~~~~~
gstcamerasrc.cpp:300:79: error: 'camera_view_projection_t' has not been declared
  300 | static gboolean gst_camerasrc_get_view_projection (GstCamerasrcWFOV *camWFOV, camera_view_projection_t &projection);
      |                                                                               ^~~~~~~~~~~~~~~~~~~~~~~~
gstcamerasrc.cpp:301:77: error: 'camera_view_rotation_t' has not been declared
  301 | static gboolean gst_camerasrc_set_view_rotation (GstCamerasrcWFOV *camWFOV, camera_view_rotation_t rotation);
      |                                                                             ^~~~~~~~~~~~~~~~~~~~~~
gstcamerasrc.cpp:302:77: error: 'camera_view_rotation_t' has not been declared
  302 | static gboolean gst_camerasrc_get_view_rotation (GstCamerasrcWFOV *camWFOV, camera_view_rotation_t &rotation);
      |                                                                             ^~~~~~~~~~~~~~~~~~~~~~
gstcamerasrc.cpp:303:85: error: 'camera_view_fine_adjustments_t' has not been declared
  303 | static gboolean gst_camerasrc_set_view_fine_adjustments (GstCamerasrcWFOV *camWFOV, camera_view_fine_adjustments_t fine_adjustments);
      |                                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gstcamerasrc.cpp:304:85: error: 'camera_view_fine_adjustments_t' has not been declared
  304 | static gboolean gst_camerasrc_get_view_fine_adjustments (GstCamerasrcWFOV *camWFOV, camera_view_fine_adjustments_t &fine_adjustments);
      |                                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gstcamerasrc.cpp:305:79: error: 'camera_view_rotation_t' has not been declared
  305 | static gboolean gst_camerasrc_set_camera_rotation (GstCamerasrcWFOV *camWFOV, camera_view_rotation_t camRotation);
      |                                                                               ^~~~~~~~~~~~~~~~~~~~~~
gstcamerasrc.cpp:306:79: error: 'camera_view_rotation_t' has not been declared
  306 | static gboolean gst_camerasrc_get_camera_rotation (GstCamerasrcWFOV *camWFOV, camera_view_rotation_t &camRotation);
      |                                                                               ^~~~~~~~~~~~~~~~~~~~~~
gstcamerasrc.cpp: In function 'int gst_camerasrc_analyze_isp_control(Gstcamerasrc*, const char*)':
gstcamerasrc.cpp:1804:17: error: 'class icamera::Parameters' has no member named 'setIspControl'
 1804 |     src->param->setIspControl(isp_header->uuid, data);
      |                 ^~~~~~~~~~~~~
gstcamerasrc.cpp:1808:15: error: 'class icamera::Parameters' has no member named 'setEnabledIspControls'
 1808 |   src->param->setEnabledIspControls(*(src->isp_control_tags));
      |               ^~~~~~~~~~~~~~~~~~~~~
gstcamerasrc.cpp: In function 'int gst_camerasrc_set_ltm_tuning_data_from_file(Gstcamerasrc*, const char*)':
gstcamerasrc.cpp:1847:15: error: 'class icamera::Parameters' has no member named 'setLtmTuningData'
 1847 |   src->param->setLtmTuningData(buffer);
      |               ^~~~~~~~~~~~~~~~
gstcamerasrc.cpp: In function 'gboolean gst_camerasrc_set_isp_control(GstCamerasrcIsp*, unsigned int, void*)':
gstcamerasrc.cpp:4024:27: error: 'class icamera::Parameters' has no member named 'setIspControl'
 4024 |   ret = camerasrc->param->setIspControl(tag, data);
      |                           ^~~~~~~~~~~~~
gstcamerasrc.cpp: In function 'gboolean gst_camerasrc_get_isp_control(GstCamerasrcIsp*, unsigned int, void*)':
gstcamerasrc.cpp:4047:15: error: 'class icamera::Parameters' has no member named 'getIspControl'
 4047 |   ret = param.getIspControl(tag, data);
      |               ^~~~~~~~~~~~~
gstcamerasrc.cpp: In function 'gboolean gst_camerasrc_apply_isp_control(GstCamerasrcIsp*)':
gstcamerasrc.cpp:4066:21: error: 'class icamera::Parameters' has no member named 'setEnabledIspControls'
 4066 |   camerasrc->param->setEnabledIspControls(*(camerasrc->isp_control_tags));
      |                     ^~~~~~~~~~~~~~~~~~~~~
gstcamerasrc.cpp: In function 'gboolean gst_camerasrc_get_ltm_tuning_data(GstCamerasrcIsp*, void*)':
gstcamerasrc.cpp:4091:15: error: 'class icamera::Parameters' has no member named 'getLtmTuningData'
 4091 |   ret = param.getLtmTuningData(data);
      |               ^~~~~~~~~~~~~~~~
gstcamerasrc.cpp: In function 'gboolean gst_camerasrc_set_ltm_tuning_data(GstCamerasrcIsp*, void*)':
gstcamerasrc.cpp:4112:21: error: 'class icamera::Parameters' has no member named 'setLtmTuningData'
 4112 |   camerasrc->param->setLtmTuningData(data);
      |                     ^~~~~~~~~~~~~~~~
gstcamerasrc.cpp: In function 'gboolean gst_camerasrc_get_wfov_mode(GstCamerasrcWFOV*, uint8_t&)':
gstcamerasrc.cpp:4171:15: error: 'class icamera::Parameters' has no member named 'getWFOV'
 4171 |   ret = param.getWFOV(data);
      |               ^~~~~~~
gstcamerasrc.cpp: At global scope:
gstcamerasrc.cpp:4201:78: error: 'camera_view_projection_t' has not been declared
 4201 | static gboolean gst_camerasrc_set_view_projection(GstCamerasrcWFOV *camWFOV, camera_view_projection_t projection)
      |                                                                              ^~~~~~~~~~~~~~~~~~~~~~~~
gstcamerasrc.cpp: In function 'gboolean gst_camerasrc_set_view_projection(GstCamerasrcWFOV*, int)':
gstcamerasrc.cpp:4209:15: error: 'class icamera::Parameters' has no member named 'setViewProjection'
 4209 |   ret = param.setViewProjection(projection);
      |               ^~~~~~~~~~~~~~~~~
gstcamerasrc.cpp: At global scope:
gstcamerasrc.cpp:4223:78: error: 'camera_view_projection_t' has not been declared
 4223 | static gboolean gst_camerasrc_get_view_projection(GstCamerasrcWFOV *camWFOV, camera_view_projection_t &projection)
      |                                                                              ^~~~~~~~~~~~~~~~~~~~~~~~
gstcamerasrc.cpp: In function 'gboolean gst_camerasrc_get_view_projection(GstCamerasrcWFOV*, int&)':
gstcamerasrc.cpp:4231:15: error: 'class icamera::Parameters' has no member named 'getViewProjection'
 4231 |   ret = param.getViewProjection(projection);
      |               ^~~~~~~~~~~~~~~~~
gstcamerasrc.cpp: At global scope:
gstcamerasrc.cpp:4242:76: error: 'camera_view_rotation_t' has not been declared
 4242 | static gboolean gst_camerasrc_set_view_rotation(GstCamerasrcWFOV *camWFOV, camera_view_rotation_t rotation)
      |                                                                            ^~~~~~~~~~~~~~~~~~~~~~
gstcamerasrc.cpp: In function 'gboolean gst_camerasrc_set_view_rotation(GstCamerasrcWFOV*, int)':
gstcamerasrc.cpp:4250:15: error: 'class icamera::Parameters' has no member named 'setViewRotation'; did you mean 'setJpegRotation'?
 4250 |   ret = param.setViewRotation(rotation);
      |               ^~~~~~~~~~~~~~~
      |               setJpegRotation
gstcamerasrc.cpp: At global scope:
gstcamerasrc.cpp:4265:76: error: 'camera_view_rotation_t' has not been declared
 4265 | static gboolean gst_camerasrc_get_view_rotation(GstCamerasrcWFOV *camWFOV, camera_view_rotation_t &rotation)
      |                                                                            ^~~~~~~~~~~~~~~~~~~~~~
gstcamerasrc.cpp: In function 'gboolean gst_camerasrc_get_view_rotation(GstCamerasrcWFOV*, int&)':
gstcamerasrc.cpp:4273:15: error: 'class icamera::Parameters' has no member named 'getViewRotation'; did you mean 'getJpegRotation'?
 4273 |   ret = param.getViewRotation(rotation);
      |               ^~~~~~~~~~~~~~~
      |               getJpegRotation
gstcamerasrc.cpp: At global scope:
gstcamerasrc.cpp:4284:84: error: 'camera_view_fine_adjustments_t' has not been declared
 4284 | static gboolean gst_camerasrc_set_view_fine_adjustments(GstCamerasrcWFOV *camWFOV, camera_view_fine_adjustments_t fine_adjustments)
      |                                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gstcamerasrc.cpp: In function 'gboolean gst_camerasrc_set_view_fine_adjustments(GstCamerasrcWFOV*, int)':
gstcamerasrc.cpp:4292:15: error: 'class icamera::Parameters' has no member named 'setViewFineAdjustments'
 4292 |   ret = param.setViewFineAdjustments(fine_adjustments);
      |               ^~~~~~~~~~~~~~~~~~~~~~
gstcamerasrc.cpp: At global scope:
gstcamerasrc.cpp:4306:84: error: 'camera_view_fine_adjustments_t' has not been declared
 4306 | static gboolean gst_camerasrc_get_view_fine_adjustments(GstCamerasrcWFOV *camWFOV, camera_view_fine_adjustments_t &fine_adjustments)
      |                                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gstcamerasrc.cpp: In function 'gboolean gst_camerasrc_get_view_fine_adjustments(GstCamerasrcWFOV*, int&)':
gstcamerasrc.cpp:4314:15: error: 'class icamera::Parameters' has no member named 'getViewFineAdjustments'
 4314 |   ret = param.getViewFineAdjustments(fine_adjustments);
      |               ^~~~~~~~~~~~~~~~~~~~~~
gstcamerasrc.cpp: At global scope:
gstcamerasrc.cpp:4325:78: error: 'camera_view_rotation_t' has not been declared
 4325 | static gboolean gst_camerasrc_set_camera_rotation(GstCamerasrcWFOV *camWFOV, camera_view_rotation_t camRotation)
      |                                                                              ^~~~~~~~~~~~~~~~~~~~~~
gstcamerasrc.cpp: In function 'gboolean gst_camerasrc_set_camera_rotation(GstCamerasrcWFOV*, int)':
gstcamerasrc.cpp:4333:15: error: 'class icamera::Parameters' has no member named 'setCameraRotation'; did you mean 'setJpegRotation'?
 4333 |   ret = param.setCameraRotation(camRotation);
      |               ^~~~~~~~~~~~~~~~~
      |               setJpegRotation
gstcamerasrc.cpp: At global scope:
gstcamerasrc.cpp:4346:78: error: 'camera_view_rotation_t' has not been declared
 4346 | static gboolean gst_camerasrc_get_camera_rotation(GstCamerasrcWFOV *camWFOV, camera_view_rotation_t &camRotation)
      |                                                                              ^~~~~~~~~~~~~~~~~~~~~~
gstcamerasrc.cpp: In function 'gboolean gst_camerasrc_get_camera_rotation(GstCamerasrcWFOV*, int&)':
gstcamerasrc.cpp:4354:15: error: 'class icamera::Parameters' has no member named 'getCameraRotation'; did you mean 'getJpegRotation'?
 4354 |   ret = param.getCameraRotation(camRotation);
      |               ^~~~~~~~~~~~~~~~~
      |               getJpegRotation
make[3]: *** [Makefile:624: libgsticamerasrc_la-gstcamerasrc.lo] Error 1

Theres already an Issue reported in the Github Repo. Maybe there will be a workaround to get this package runnin'.

bnjbvr commented on 2023-04-08 13:44 (UTC)

Hi! Looks like this package doesn't build anymore:

gstcamerasrc.cpp: In function ‘gboolean gst_camerasrc_start(GstCamBaseSrc*)’:
gstcamerasrc.cpp:2839:27: error: too many arguments to function ‘int icamera::camera_device_open(int)’
 2839 |   ret = camera_device_open(camerasrc->device_id, camerasrc->num_vc);
      |         ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from gstcamerasrc.cpp:62:
/usr/include/libcamhal/api/ICamera.h:210:5: note: declared here
  210 | int camera_device_open(int camera_id);
      |     ^~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:624: libgsticamerasrc_la-gstcamerasrc.lo] Error 1
make[3]: Leaving directory '/home/ben/.cache/paru/clone/icamerasrc-git/src/icamerasrc/src'
make[2]: *** [Makefile:685: all-recursive] Error 1
make[2]: Leaving directory '/home/ben/.cache/paru/clone/icamerasrc-git/src/icamerasrc/src'
make[1]: *** [Makefile:520: all-recursive] Error 1
make[1]: Leaving directory '/home/ben/.cache/paru/clone/icamerasrc-git/src/icamerasrc'
make: *** [Makefile:429: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Removing the last argument seemed sufficient to get it to compile properly (and I could run the webcam using the rest of the packages installed with https://github.com/stefanpartheym/archlinux-ipu6-webcam).