paul@Optiplex-PC:~/lightnvr$ ./scripts/build.sh --release
Checking dependencies...
libyaml detected: 0.2.5 — YAML validation enabled
Building with SOD support as a static library (static linking)
Building with test suite
Building with go2rtc integration
go2rtc binary path: /usr/local/bin/go2rtc
go2rtc config directory: /etc/lightnvr/go2rtc
go2rtc API port: 1984
Building with HTTP backend: libuv
Using libuv + llhttp (event-driven async I/O)
-- Checking for modules 'libavcodec>=61;libavformat>=61;libavutil>=59;libswscale>=8;libswresample>=5'
-- Found libavcodec, version 61.19.101
-- Found libavformat, version 61.7.100
-- Found libavutil, version 59.39.100
-- Found libswscale, version 8.3.100
-- Found libswresample, version 5.3.100
-- Found libyaml: yaml (version 0.2.5)
-- Found libmosquitto: mosquitto
-- SSL/TLS support is disabled
-- ONVIF and authentication system enabled, linking with mbedTLS for cryptographic functions
-- Found mbedcrypto library: /usr/lib/x86_64-linux-gnu/libmbedcrypto.so
-- Found cJSON via pkg-config: cjson
-- cJSON include dirs: /usr/include;/usr/include/cjson
-- Using libuv + llhttp HTTP backend
-- Building llhttp from source
-- Excluding main.c from CORE_SOURCES (library build)
-- Excluding main.c and tools from ROOT_SOURCES
-- go2rtc integration module configured
-- go2rtc integration enabled with binary path: /usr/local/bin/go2rtc
-- go2rtc config directory: /etc/lightnvr/go2rtc
-- go2rtc API port: 1984
-- Using static linking for SOD library
-- Checking for modules 'libavcodec;libavformat;libavutil;libswscale;libswresample'
-- Found libavcodec, version 61.19.101
-- Found libavformat, version 61.7.100
-- Found libavutil, version 59.39.100
-- Found libswscale, version 8.3.100
-- Found libswresample, version 5.3.100
-- Building SOD tests
-- Building motion detection optimization tests
-- Building database backup tests
-- Building stream detection tests
-- Building go2rtc recovery tests
-- Building Unity unit tests (Layer 1 + Layer 2 + Layer 3)
-- Building LightNVR 0.34.4 with the following configuration:
-- - HTTP backend: libuv + llhttp
-- - SOD object detection: ON
-- - SOD linking method: Static
-- - go2rtc WebRTC integration: ON
-- - go2rtc binary path: /usr/local/bin/go2rtc
-- - go2rtc config directory: /etc/lightnvr/go2rtc
-- - go2rtc API port: 1984
-- - Embedded A1 device optimizations: OFF
-- - libyaml (YAML validation): ENABLED (0.2.5)
-- Configuring done (0.4s)
CMake Error at CMakeLists.txt:323 (add_library):
Cannot find source file:
/home/paul/lightnvr/external/llhttp/src/api.c
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm
.ccm .cxxm .c++m .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90
.f95 .f03 .hip .ispc
CMake Error at CMakeLists.txt:323 (add_library):
No SOURCES given to target: llhttp_lib
paul@Optiplex-PC:~/lightnvr$ ./scripts/build.sh --release
Checking dependencies...
libyaml detected: 0.2.5 — YAML validation enabled
Building with SOD support as a static library (static linking)
Building with test suite
Building with go2rtc integration
go2rtc binary path: /usr/local/bin/go2rtc
go2rtc config directory: /etc/lightnvr/go2rtc
go2rtc API port: 1984
Building with HTTP backend: libuv
Using libuv + llhttp (event-driven async I/O)
-- Checking for modules 'libavcodec>=61;libavformat>=61;libavutil>=59;libswscale>=8;libswresample>=5'
-- Found libavcodec, version 61.19.101
-- Found libavformat, version 61.7.100
-- Found libavutil, version 59.39.100
-- Found libswscale, version 8.3.100
-- Found libswresample, version 5.3.100
-- Found libyaml: yaml (version 0.2.5)
-- Found libmosquitto: mosquitto
-- SSL/TLS support is disabled
-- ONVIF and authentication system enabled, linking with mbedTLS for cryptographic functions
-- Found mbedcrypto library: /usr/lib/x86_64-linux-gnu/libmbedcrypto.so
-- Found cJSON via pkg-config: cjson
-- cJSON include dirs: /usr/include;/usr/include/cjson
-- Using libuv + llhttp HTTP backend
-- Building llhttp from source
-- Excluding main.c from CORE_SOURCES (library build)
-- Excluding main.c and tools from ROOT_SOURCES
-- go2rtc integration module configured
-- go2rtc integration enabled with binary path: /usr/local/bin/go2rtc
-- go2rtc config directory: /etc/lightnvr/go2rtc
-- go2rtc API port: 1984
-- Using static linking for SOD library
-- Checking for modules 'libavcodec;libavformat;libavutil;libswscale;libswresample'
-- Found libavcodec, version 61.19.101
-- Found libavformat, version 61.7.100
-- Found libavutil, version 59.39.100
-- Found libswscale, version 8.3.100
-- Found libswresample, version 5.3.100
-- Building SOD tests
-- Building motion detection optimization tests
-- Building database backup tests
-- Building stream detection tests
-- Building go2rtc recovery tests
-- Building Unity unit tests (Layer 1 + Layer 2 + Layer 3)
-- Building LightNVR 0.34.4 with the following configuration:
-- - HTTP backend: libuv + llhttp
-- - SOD object detection: ON
-- - SOD linking method: Static
-- - go2rtc WebRTC integration: ON
-- - go2rtc binary path: /usr/local/bin/go2rtc
-- - go2rtc config directory: /etc/lightnvr/go2rtc
-- - go2rtc API port: 1984
-- - Embedded A1 device optimizations: OFF
-- - libyaml (YAML validation): ENABLED (0.2.5)
-- Configuring done (0.4s)
CMake Error at CMakeLists.txt:323 (add_library):
Cannot find source file:
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm
.ccm .cxxm .c++m .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90
.f95 .f03 .hip .ispc
CMake Error at CMakeLists.txt:323 (add_library):
No SOURCES given to target: llhttp_lib