-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot build: camera_device_open() - too many arguments #32
Comments
I have this too on archlinux -- attempting to install gives me the exact same output as above. |
For the engineering-team to have a chance to look into this, can you provide as many information, please? |
I changed the line that is mentioned in the output of make to //ret = camera_device_open(camerasrc->device_id, camerasrc->num_vc);
ret = camera_device_open(camerasrc->device_id); It then was able to compile, but I'm unsure if this will break something else further down the line. Also it still doesn't work for me, because when running
I'm not sure what is going wrong here, but according to https://aur.archlinux.org/packages/icamerasrc-git I'm not alone with the problem. I'm unsure on how to proceed, since I'm new to this type of scenario. But generally I followed the guides of the ipu6 projects in order and everything worked up to the point of trying to compile this plugin. version-info
ipu6-camera-bins:
ipu6-camera-hal:
|
@HackXIt do you respond to @edoardogiacomello ? In this case the IPU-camera-HAL version doesn't match to the used version of icamerasrc. (Optional) Support for e.g. virtual-channels was considered in IPU6-Camera-HAL branch "iotg_ipu6", see e.g. here: "https://github.com/intel/ipu6-camera-hal/blob/iotg_ipu6/include/api/ICamera.h#L237". Unfortunately I don't see a public documentation of what dependency in which version/branch/commit/release to use. |
I followed instructions for point 3 (Build with DKMS)
I set IPU_VER=ipu6ep and followed the instructions under "Deployment"
I followed the instructions without errors, then rebooted
I'm trying to follow build instructions but the
My HW is a Lenovo X1 Carbon (gen 10), running Ubuntu 22.04. lspci
lsusb
I'm compiling natively.
None
I've tried a couple of months ago without success, then cleaned everything and I'm retrying now based on the success from https://askubuntu.com/a/1461869 |
I'll attempt to recompile using your suggested branch, maybe it will work. But having read a bit more into it, it currently seems like, that the driver is still in active development and the problem with the MIPI driver is common to the users with those cameras on linux.
I thought if I add to this existing issue, that I'm having the same problem, it would help. |
Solved this by using 17841ab Lenovo Thinkpad X1 Carbon G10 / BIOS 1.37 / Secure Boot disabled sudo -E gst-launch-1.0 icamerasrc buffer-count=7 device-name=ov2740-uf ! video/x-raw,format=NV12,width=1280,height=720 ! videoconvert ! ximagesink |
The internal refactoring as documented in the discussion at #31 (comment) still appears to be going on: The suggestion to checkout the tag Did anyone have success in compiling The tag that is suggested has the same syntax of the method call which causes the error as described in #32: icamerasrc/src/gstcamerasrc.cpp Line 2840 in 17841ab
As per the blame, this line is three years old and also calls its alternative with less arguments, in case no virtual channels are to be stripped. Its configuration is disabled, yet the if is evaluated for the first case.
https://github.com/intel/icamerasrc/releases/tag/20230307_0904_rpl_plat has a different README than the branch https://github.com/intel/icamerasrc/tree/icamerasrc_slim_api, which does not mention Checking out that tag and providing the additional Also everything below the comment in #28 (comment) helped, plus the |
Hello,
I'm trying to build icamerasrc to make the webcam of my Lenovo X1 Carbon (gen 10) work in Ubuntu 22.04.
I've installed all the other dependencies listed in the instructions with no errors (using ipu6ep), however then when i run
make -j8
the build fails with this error:Am I doing something wrong or is it just a bug?
Thanks,
E.
The text was updated successfully, but these errors were encountered: