Skip to content
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

Pipeline handler writers guide - vivid pipeline handler not functional #87

Open
VeruGromnicova opened this issue Dec 14, 2023 · 2 comments

Comments

@VeruGromnicova
Copy link

VeruGromnicova commented Dec 14, 2023

Hello, I have few problems with guide for pipeline handler writers. The code always ends up with many errors. In every stage of coding - in the test parts and in the final stage, when the code should already be complete. One of the most frequently occurring errors in the output is this:

../src/libcamera/pipeline/vivid/[vivid.cpp:63:40:](http://vivid.cpp:63:40/) error: invalid use of incomplete type ‘class libcamera::Camera::Private’
   63 | class VividCameraData : public Camera::Private
      |                                        ^~~~~~~
In file included from ../include/libcamera/base/log.h:15,
                 from ../src/libcamera/pipeline/vivid/[vivid.cpp:1:](http://vivid.cpp:1/)
../include/libcamera/base/class.h:35:15: note: forward declaration of ‘class libcamera::Camera::Private’
   35 |         class Private;                                                  \
      |               ^~~~~~~
../include/libcamera/camera.h:116:9: note: in expansion of macro ‘LIBCAMERA_DECLARE_PRIVATE’
  116 |         LIBCAMERA_DECLARE_PRIVATE()
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~

Any clue what could this mean and how can I make it work? Thank you.

@VeruGromnicova VeruGromnicova changed the title Pipeline handler writers guide - vivid pipeline handler Pipeline handler writers guide - vivid pipeline handler not functional Dec 14, 2023
@kbingham
Copy link
Owner

Ah I'm sorry the guide likely needs updating.

Could you build the example from here and test please?

https://git.libcamera.org/libcamera/vivid.git/

@VeruGromnicova
Copy link
Author

Thank you for the quick reply.
I confirm that from the new source the build runs without any problems, thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants