Hello,
I'm trying to install raspiraw on Raspberry Pi4 Model B running Trixie OS version x64 following the instructions https://blog.robertelder.org/recording- ... pi-camera/ and get an error when building it:
raspiraw.c:42:10: fatal error: interface/vcos/vcos.h: No such file or directory
42 | #include "interface/vcos/vcos.h"
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
RaspiCLI.c:46:10: fatal error: interface/vcos/vcos.h: No such file or directory
46 | #include "interface/vcos/vcos.h"
| ^~~~~~~~~~~~~~~~~~~~~~~
I also tried to build userland provided by https://github.com/Hermann-SW/userland/tree/master following the instructions using the certain compiler https://stackoverflow.com/questions/191 ... 5#19269715 and got an error:
/home/rpi/userland/build/arm-linux/release /home/rpi/userland
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
-- The CXX compiler identification is unknown
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: /opt/cross-pi-gcc/bin/arm-linux-gnueabihf-g++
-- Check for working CXX compiler: /opt/cross-pi-gcc/bin/arm-linux-gnueabihf-g++ - broken
CMake Error at /usr/share/cmake-3.31/Modules/CMakeTestCXXCompiler.cmake:73 (message):
The C++ compiler
"/opt/cross-pi-gcc/bin/arm-linux-gnueabihf-g++"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: '/home/rpi/userland/build/arm-linux/release/CMakeFiles/CMakeScratch/TryCompile-F0Sru3'
Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_03806/fast
/usr/bin/gmake -f CMakeFiles/cmTC_03806.dir/build.make CMakeFiles/cmTC_03806.dir/build
gmake[1]: Entering directory '/home/rpi/userland/build/arm-linux/release/CMakeFiles/CMakeScratch/TryCompile-F0Sru3'
Building CXX object CMakeFiles/cmTC_03806.dir/testCXXCompiler.cxx.o
/opt/cross-pi-gcc/bin/arm-linux-gnueabihf-g++ -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -marm -o CMakeFiles/cmTC_03806.dir/testCXXCompiler.cxx.o -c /home/rpi/userland/build/arm-linux/release/CMakeFiles/CMakeScratch/TryCompile-F0Sru3/testCXXCompiler.cxx
/opt/cross-pi-gcc/bin/arm-linux-gnueabihf-g++: 1: Syntax error: "(" unexpected
gmake[1]: *** [CMakeFiles/cmTC_03806.dir/build.make:81: CMakeFiles/cmTC_03806.dir/testCXXCompiler.cxx.o] Error 2
gmake[1]: Leaving directory '/home/rpi/userland/build/arm-linux/release/CMakeFiles/CMakeScratch/TryCompile-F0Sru3'
gmake: *** [Makefile:134: cmTC_03806/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found. Stop.
/home/rpi/userland
Please help me solve the problem
I'm trying to install raspiraw on Raspberry Pi4 Model B running Trixie OS version x64 following the instructions https://blog.robertelder.org/recording- ... pi-camera/ and get an error when building it:
raspiraw.c:42:10: fatal error: interface/vcos/vcos.h: No such file or directory
42 | #include "interface/vcos/vcos.h"
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
RaspiCLI.c:46:10: fatal error: interface/vcos/vcos.h: No such file or directory
46 | #include "interface/vcos/vcos.h"
| ^~~~~~~~~~~~~~~~~~~~~~~
I also tried to build userland provided by https://github.com/Hermann-SW/userland/tree/master following the instructions using the certain compiler https://stackoverflow.com/questions/191 ... 5#19269715 and got an error:
/home/rpi/userland/build/arm-linux/release /home/rpi/userland
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
-- The CXX compiler identification is unknown
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: /opt/cross-pi-gcc/bin/arm-linux-gnueabihf-g++
-- Check for working CXX compiler: /opt/cross-pi-gcc/bin/arm-linux-gnueabihf-g++ - broken
CMake Error at /usr/share/cmake-3.31/Modules/CMakeTestCXXCompiler.cmake:73 (message):
The C++ compiler
"/opt/cross-pi-gcc/bin/arm-linux-gnueabihf-g++"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: '/home/rpi/userland/build/arm-linux/release/CMakeFiles/CMakeScratch/TryCompile-F0Sru3'
Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_03806/fast
/usr/bin/gmake -f CMakeFiles/cmTC_03806.dir/build.make CMakeFiles/cmTC_03806.dir/build
gmake[1]: Entering directory '/home/rpi/userland/build/arm-linux/release/CMakeFiles/CMakeScratch/TryCompile-F0Sru3'
Building CXX object CMakeFiles/cmTC_03806.dir/testCXXCompiler.cxx.o
/opt/cross-pi-gcc/bin/arm-linux-gnueabihf-g++ -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -marm -o CMakeFiles/cmTC_03806.dir/testCXXCompiler.cxx.o -c /home/rpi/userland/build/arm-linux/release/CMakeFiles/CMakeScratch/TryCompile-F0Sru3/testCXXCompiler.cxx
/opt/cross-pi-gcc/bin/arm-linux-gnueabihf-g++: 1: Syntax error: "(" unexpected
gmake[1]: *** [CMakeFiles/cmTC_03806.dir/build.make:81: CMakeFiles/cmTC_03806.dir/testCXXCompiler.cxx.o] Error 2
gmake[1]: Leaving directory '/home/rpi/userland/build/arm-linux/release/CMakeFiles/CMakeScratch/TryCompile-F0Sru3'
gmake: *** [Makefile:134: cmTC_03806/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found. Stop.
/home/rpi/userland
Please help me solve the problem
Statistics: Posted by kirillev — Wed Dec 17, 2025 10:58 am — Replies 6 — Views 90