We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug When building on GCC12 (latest Manjaro release), an invalid conversion is reported in libav_encoder.cpp.
Perhaps a compiler flag would prevent???
Bug report [marc@scan3d64 build]$ uname -a Linux scan3d64 5.15.52-1-MANJARO-ARM-RPI #1 SMP PREEMPT Tue Jul 5 12:49:52 UTC 2022 aarch64 GNU/Linux [marc@scan3d64 build]$ make [ 12%] Built target images [ 36%] Built target post_processing_stages Generating version string: 3dcda2b-intree-dirty 26-07-2022 (11:17:05) [ 36%] Built target VersionCpp [ 48%] Built target preview Consolidate compiler generated dependencies of target libcamera_app [ 50%] Building CXX object core/CMakeFiles/libcamera_app.dir/version.cpp.o [ 52%] Linking CXX shared library libcamera_app.so [ 58%] Built target libcamera_app [ 60%] Building CXX object encoder/CMakeFiles/encoders.dir/libav_encoder.cpp.o /home/marc/libcamera-apps/encoder/libav_encoder.cpp: In member function ‘void LibAvEncoder::initAudioInCodec(const VideoOptions*, const StreamInfo&)’: /home/marc/libcamera-apps/encoder/libav_encoder.cpp:132:56: error: invalid conversion from ‘const AVInputFormat*’ to ‘AVInputFormat*’ [-fpermissive] 132 | AVInputFormat input_fmt = av_find_input_format("pulse"); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ | | | const AVInputFormat compilation terminated due to -Wfatal-errors. make[2]: *** [encoder/CMakeFiles/encoders.dir/build.make:132: encoder/CMakeFiles/encoders.dir/libav_encoder.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:288: encoder/CMakeFiles/encoders.dir/all] Error 2 make: *** [Makefile:156: all] Error 2
The text was updated successfully, but these errors were encountered:
This should be fixed with #333.
Sorry, something went wrong.
Resolving...
No branches or pull requests
Describe the bug
When building on GCC12 (latest Manjaro release), an invalid conversion is reported in libav_encoder.cpp.
Perhaps a compiler flag would prevent???
Bug report
[marc@scan3d64 build]$ uname -a
Linux scan3d64 5.15.52-1-MANJARO-ARM-RPI #1 SMP PREEMPT Tue Jul 5 12:49:52 UTC 2022 aarch64 GNU/Linux
[marc@scan3d64 build]$ make
[ 12%] Built target images
[ 36%] Built target post_processing_stages
Generating version string: 3dcda2b-intree-dirty 26-07-2022 (11:17:05)
[ 36%] Built target VersionCpp
[ 48%] Built target preview
Consolidate compiler generated dependencies of target libcamera_app
[ 50%] Building CXX object core/CMakeFiles/libcamera_app.dir/version.cpp.o
[ 52%] Linking CXX shared library libcamera_app.so
[ 58%] Built target libcamera_app
[ 60%] Building CXX object encoder/CMakeFiles/encoders.dir/libav_encoder.cpp.o
/home/marc/libcamera-apps/encoder/libav_encoder.cpp: In member function ‘void LibAvEncoder::initAudioInCodec(const VideoOptions*, const StreamInfo&)’:
/home/marc/libcamera-apps/encoder/libav_encoder.cpp:132:56: error: invalid conversion from ‘const AVInputFormat*’ to ‘AVInputFormat*’ [-fpermissive]
132 | AVInputFormat input_fmt = av_find_input_format("pulse");
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
| |
| const AVInputFormat
compilation terminated due to -Wfatal-errors.
make[2]: *** [encoder/CMakeFiles/encoders.dir/build.make:132: encoder/CMakeFiles/encoders.dir/libav_encoder.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:288: encoder/CMakeFiles/encoders.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
The text was updated successfully, but these errors were encountered: