Comments (2)
Thanks for report! Could you please provide complete error log? Currently, my GCC is 11.1.0, and I can't observe any issues with build.
from avcpp.
@h4tr3d Thanks for the quick fix. To answer your question, here is the error returned when building the older version of catch2:
FAILED: rootdir/avcpp/tests/CMakeFiles/test_main.dir/test-main.cpp.o
/usr/bin/c++ -I../rootdir/avcpp/catch2/single_include -fopenmp -g -std=gnu++17 -MD -MT rootdir/avcpp/tests/CMakeFiles/test_main.dir/test-main.cpp.o -MF rootdir/avcpp/tests/CMakeFiles/test_main.dir/test-main.cpp.o.d -o rootdir/avcpp/tests/CMakeFiles/test_main.dir/test-main.cpp.o -c ../rootdir/avcpp/tests/test-main.cpp
In file included from /usr/include/signal.h:328,
from ../rootdir/avcpp/catch2/single_include/catch2/catch.hpp:6323,
from ../rootdir/avcpp/tests/test-main.cpp:7:
../rootdir/avcpp/catch2/single_include/catch2/catch.hpp:9041:58: error: call to non-‘constexpr’ function ‘long int sysconf(int)’
9041 | constexpr static std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ;
| ^~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/sigstksz.h:24,
from /usr/include/signal.h:328,
from ../rootdir/avcpp/catch2/single_include/catch2/catch.hpp:6323,
from ../rootdir/avcpp/tests/test-main.cpp:7:
/usr/include/unistd.h:640:17: note: ‘long int sysconf(int)’ declared here
640 | extern long int sysconf (int __name) __THROW;
| ^~~~~~~
In file included from ../rootdir/avcpp/tests/test-main.cpp:7:
../rootdir/avcpp/catch2/single_include/catch2/catch.hpp:9100:45: error: size of array ‘altStackMem’ is not an integral constant-expression
9100 | char FatalConditionHandler::altStackMem[sigStackSize] = {};
| ^~~~~~~~~~~~
from avcpp.
Related Issues (20)
- Create aggregate headers roughly corresponding to FFmpeg's libraries
- `av::Rational`: define other relational operators
- Broken with FFmpeg 5.1 HOT 2
- CMake: INTERFACE_LIBRARY targets may only have whitelisted properties. HOT 2
- FFmpeg 5.1: fix channel_layout API HOT 1
- Is this project still alive? HOT 1
- Using multiple audio Resamplers on the same stream HOT 2
- avcpp is not usable as meson subproject (uninstalled) due to headers in src directory HOT 3
- Failed to build AV_ENABLE_STATIC only version
- Basic video filtering example HOT 1
- save avpack raw data into h264 file, but it can't play,help! HOT 4
- how can i use avcpp to push h264 rtmp stream to web server?
- Vcpkg support HOT 1
- Why disable socket timeout temporarily in FormatContext::findStreamInfo? HOT 3
- compile ffmpeg with cuda surpport, so can avcpp use hwaccelerate? HOT 1
- problem: not with libpostproc?
- Why do you use new Codec() object in examples? HOT 2
- Debugging the library HOT 1
- Support for gpu-accelerated decoding? HOT 4
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 avcpp.