Comments (8)
I found a place to sprinkle some #pragma
bits, but this may be an upstream bug in some senses.
from libcamera.
LMK if you want a PR with the std::move
in the various marked places above. Also happy to setup some GH CI actions to help lock this in.
from libcamera.
I can reproduce the ; issue with clang-13 on x86, so that definitely deserves a fix. I see two options, either adding a local patch to pybind11 in the wrap, or disabling the -Wextra-semi warning for the Python bindings. I have a small preference for the former.
The std::move() issue seems valid too. The compiler is required to perform return value optimization starting in C++17, which removes the need for std::move() in a return statement in most cases. There are exceptions though, in particular when the return type of the function and the type of the local variable don't match. This seems to be the case here. However, while I could reproduce the issue with clang-9, it disappeared with clang-13. I thus wonder if it's a false positive with earlier clang versions, or a false negative with newer versions. In any case, we want to support the most commonly used clang versions, so a fix probably makes sense.
from libcamera.
I opened #16 for the std::move
issue. The most up to date pybind has a pretty different look around the lines mentioned, so it may be worth seeing if a version bump kills this issue.
from libcamera.
Removing the semicolon on ../subprojects/pybind11-2.6.1/include/pybind11/detail/common.h
and using the diff from #16 gets this working.
from libcamera.
I believe this should now be resolved. Feel free to re-open if there are still issues.
from libcamera.
Awesome. Thank you.
I have some interest in adding support for reading the temperature sensor on the IMX477. Do you participate in the libcamera
channel?
from libcamera.
I am there occasionally, but probably better to open a github issue/pr to discuss this.
from libcamera.
Related Issues (20)
- RPI4B OV5647 Camera black screen! HOT 7
- libcamerasrc doesn't work with CM4 RPI Cam V2 and V3 HOT 5
- Can't start gstreamer pipeline after update HOT 4
- Raspberry Pi Camera Module 3 not available on RPi 5/bookworm HOT 2
- False colours from global shutter camera on RPi5 HOT 3
- Enabling sensor HDR for Camera Module v3 HOT 2
- RPI5 - Omnivision 9281 8 Bit Mode HOT 6
- No json for imx290 HOT 1
- libcamerify causes motion daemon to create zombie processes HOT 26
- "libqt5widgets" doesn't exist did you mean "libqt5widgets5" in your readme? HOT 2
- libcamerify causes motion daemon to create zombie processes
- `
- libcamerify not working rpi5 bookworm. Not enough buffers HOT 7
- Range format is ambiguous / libcamera is not installed HOT 8
- Installation issue HOT 2
- Since 6.6.31 Kernel: FramebufferAllocator allocates too much space HOT 19
- Camera frontend timeout fires too aggressively (crashing libcamerasrc on RPi5) HOT 5
- Mmap permission issue on Android 14 HOT 2
- libcamerasrc produces buffers with invalid size on Raspberry Pi 3 with official RPi Cam v2.1 attached HOT 26
- libcamerasrc on Raspberry Pi 5 with official Rasppberry Cam v2.1 doesn't understand I420 pixel format HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libcamera.