Closed pepeRossRobotics closed 1 year ago
Same happens if I try to build outside the container and installing all libs (in a raspberry pi)
Scanning dependencies of target libv4l2cpp
[ 0%] Building CXX object libv4l2cpp/CMakeFiles/libv4l2cpp.dir/src/V4l2Access.cpp.o
[ 0%] Building CXX object libv4l2cpp/CMakeFiles/libv4l2cpp.dir/src/V4l2Capture.cpp.o
[ 1%] Building CXX object libv4l2cpp/CMakeFiles/libv4l2cpp.dir/src/V4l2Device.cpp.o
[ 1%] Building CXX object libv4l2cpp/CMakeFiles/libv4l2cpp.dir/src/V4l2MmapDevice.cpp.o
[ 2%] Building CXX object libv4l2cpp/CMakeFiles/libv4l2cpp.dir/src/V4l2Output.cpp.o
[ 2%] Building CXX object libv4l2cpp/CMakeFiles/libv4l2cpp.dir/src/V4l2ReadWriteDevice.cpp.o
[ 3%] Building CXX object libv4l2cpp/CMakeFiles/libv4l2cpp.dir/src/logger.cpp.o
[ 3%] Linking CXX static library liblibv4l2cpp.a
[ 3%] Built target libv4l2cpp
Scanning dependencies of target libv4l2rtspserver
[ 3%] Building CXX object CMakeFiles/libv4l2rtspserver.dir/live/BasicUsageEnvironment/BasicHashTable.cpp.o
[ 4%] Building CXX object CMakeFiles/libv4l2rtspserver.dir/live/BasicUsageEnvironment/BasicTaskScheduler.cpp.o
/home/extrm_mk4/v4l2rtspserver/live/BasicUsageEnvironment/BasicTaskScheduler.cpp: In member function ‘virtual void BasicTaskScheduler::SingleStep(unsigned int)’:
/home/extrm_mk4/v4l2rtspserver/live/BasicUsageEnvironment/BasicTaskScheduler.cpp:200:35: error: ‘struct std::atomic_flag’ has no member named ‘test’
200 | if (fTriggersAwaitingHandling[i].test()) {
| ^~~~
make[2]: *** [CMakeFiles/libv4l2rtspserver.dir/build.make:95: CMakeFiles/libv4l2rtspserver.dir/live/BasicUsageEnvironment/BasicTaskScheduler.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:118: CMakeFiles/libv4l2rtspserver.dir/all] Error 2
make: *** [Makefile:171: all] Error 2
There is an issue in the live555
repo
https://github.com/rgaufman/live555/issues/45
Describe the bug Docker file will not build in a raspberry pi.
To Reproduce
Expected behavior A clean easy build
Terminal output
Desktop:
Additional context I tried with multiple docker files (some hoe brew) and I get the same error