#crowsnest install fails (camera-streamer compile)

72 messages Β· Page 1 of 1 (latest)

fading viper
#

updated Debian, restarted it (for other reasons) and now my video feed is no longer working.
I tried reinstalling crowsnest (via kiauh, make update etc) but i get the following compile errors.

whole frigateBOT
#

Ahoi @fading viper!
It looks like you did not provide all the necessary information we need to help you.
Please upload your logfiles and a detailed description of your problem.
For further information see: https://docs.mainsail.xyz/faq/getting-help/discord#provide-information
Note: We only accept .log and .txt files as log files.
This is an automated message

We are glad to help and chat with you on our Community Discord, but if you need help and want the best support possible you should, follow a few simple rules:

fading viper
#

crowsnest install fails (camera-streamer compile)

shell wren
#

updated Debian
Explain what exactly you did there

fading viper
#

sudo apt update und sudo apt upgrade

#

it installed libcamera0.5

shell wren
#

you mean supo apt upgrade and not sudo apt install

fading viper
#

yes, sorry

shell wren
#

Gonna test it now

#

There are quite some warnings during your building process

fading viper
#

deprecation warnings

shell wren
#

Sadly the camera-streamer dev doesn't respond lately, so it's possible that we might have to drop it, if it makes problems with bookworm now

#

Yep, and those should get solved

#

It's possible that they get remove with trixie

fading viper
#

but the warnings regarding deprecation is not new

shell wren
#

it's not?

fading viper
#

no

#

the errors above are

shell wren
#

I can't remember them ^^

fading viper
#

the errors prevent compilation

shell wren
#

warnings can prevent them too, I don't know the compiler flags out of my head right now

fading viper
#

but without camera-streamer, crowsnest seems to not startup

shell wren
#

Yes, that's kinda intended, but a really bad design choice

fading viper
#

at least the last word in the log was "Exiting" πŸ˜„

shell wren
fading viper
#

you mean stuff like the AeState?

shell wren
#

yes

fading viper
#

camera-streamer is sadly the only mode which gives any kind of fps and not spf with the C920

shell wren
#

Why does it try to compile it for you in the first place? I would expect an exit before compilation as you can see on my screenshot

fading viper
#

that is indeed a good question

#

are you on the master branch of crowsnest?

shell wren
#

Doesn't matter

#

I'm pulling the camera-streamer branch

#

I didn't change anything on the installation for quite some time

#

It's also a mainsailos release candidate, built 7 days ago ^^

#

So yes, I'm on the master branch with latest commits

fading viper
#

our next line after the error differs

shell wren
#

I run make update, but that shouldn't change anything

fading viper
#

mine is
[ -e third_party/libdatachannel/build/Makefile ] || cmake -S third_party/libdatachannel -B third_party/libdatachannel/build

#

yours g++

#

but since you have the same errors, the followup lines don't matter

shell wren
#

I check again with a clean environment

#

Nope, still stopping the compilation for me πŸ€·β€β™‚οΈ

#

Anyway, it seems like aestate is no longer a draft control but a real control now. So the fix should hopefully be quite easy

#

(for that one error)

#

Are you a c++ programmer by any chance and got time to look into this? ^^
I have some more important things to do first, before I can fix this

fading viper
#

so you need me to change a string in the make file?

shell wren
#

nope, I need you to fix the compilation errors using my branch

#

I just added the information that it's currently not the camera-streamer main branch, as it's broken since Octobre

fading viper
#

that was quite an easy fix, at least compilationwise

#

want a PR to your repo with the fix? its one line change

shell wren
#

Would be awesome. I might adjust it to be backwards compatible, if it isn't already. Thank you mainsail_heart

fading viper
#

tried multiple times, but no chance. I am no expert in Git with multiple channels in a single repo referencing to different branches

shell wren
#

You can also just send me the link to your commit and I will create a PR based on your branch. Then you still get the contribution, if you want

fading viper
#

many thanks for the quick info about the issue being the AeState been moved out of draft. otherwise, i would have been completely lost πŸ˜„

shell wren
fading viper
#

thanks for the superquick help!

random nest
shell wren
#

make update won't do it, as it will redownload the repo

#

Restarting won't do it either

random nest
shell wren
#

Then run make update

random nest
#

Thanks. Gonna try it and tell you.

shell wren
#

I pushed the fix upstream. If there are still errors, please let me know

random nest
#

It works again on my side. Thank you very much πŸ™‚