-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Description
Hello,
following the steps in README.md fails with the following error:
/home/flaep/Documents/rvnano/LicheeRV-Nano-Build/host-tools/gcc/riscv64-linux-musl-x86_64/riscv64-unknown-linux-musl/include/c++/10.2.0/cstdlib:75:15: fatal error: stdlib.h: No such file or directory
75 | #include_next <stdlib.h>
| ^~~~~~~~~~
compilation terminated.
make[5]: *** [modules/core/CMakeFiles/opencv_core.dir/build.make:439: modules/core/CMakeFiles/opencv_core.dir/src/directx.cpp.o] Error 1
make[4]: *** [CMakeFiles/Makefile2:1392: modules/core/CMakeFiles/opencv_core.dir/all] Error 2
make[3]: *** [Makefile:166: all] Error 2
make[2]: *** [package/pkg-generic.mk:283: /home/flaep/Documents/rvnano/LicheeRV-Nano-Build/buildroot/output/build/opencv4-4.9.0/.stamp_built] Error 2
make[1]: *** [Makefile:82: _all] Error 2
make[1]: Leaving directory '/home/flaep/Documents/rvnano/LicheeRV-Nano-Build/buildroot'
make: *** [Makefile:558: br-rootfs-pack] Error 2
The fatal error: stdlib.h: No such file or directory
-Error is happeniing with multiple files in opencv4.
Host: Linux main 6.12.21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.21-1 (2025-03-30) x86_64 GNU/Linux
it works, if I comment out the following lines in buildroot/package/Config.in
# source "package/opencv3/Config.in"
# source "package/opencv4/Config.in"
# source "package/opencv4-contrib/Config.in"
Is it planned to build with a newer kernel?
varyhin
Metadata
Metadata
Assignees
Labels
No labels