Skip to content

Unable to build using buildroot #1

@y-runwal

Description

@y-runwal

I am trying to build this utility with buildroot for SAM9X75. It's giving me following error.

`
root@e68e8475c116:~/buildroot-mchp# make -j8

libcamera-apps 1.2.1 Configuring
(mkdir -p /root/buildroot-mchp/output/build/libcamera-apps-1.2.1/ && cd /root/buildroot-mchp/output/build/libcamera-apps-1.2.1/ && rm -f CMakeCache.txt && PATH="/root/buildroot-mchp/output/host/bin:/root/buildroot-mchp/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /root/buildroot-mchp/output/host/bin/cmake /root/buildroot-mchp/output/build/libcamera-apps-1.2.1/ -G"Unix Makefiles" -DCMAKE_MAKE_PROGRAM="/usr/bin/make" -DCMAKE_TOOLCHAIN_FILE="/root/buildroot-mchp/output/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_INSTALL_RUNSTATEDIR="/run" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -DENABLE_COMPILE_FLAGS_FOR_TARGET=disabled -DENABLE_OPENCV=0 -DENABLE_TFLITE=0 -DENABLE_DRM=0 -DENABLE_LIBAV=0 -DENABLE_X11=0 -DENABLE_QT=0 -DCMAKE_EXE_LINKER_FLAGS=-latomic )
-- The C compiler identification is GNU 12.4.0
-- The CXX compiler identification is GNU 12.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /root/buildroot-mchp/output/host/bin/arm-buildroot-linux-gnueabi-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /root/buildroot-mchp/output/host/bin/arm-buildroot-linux-gnueabi-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning at CMakeLists.txt:5 (message):
Using cmake to build libcamera-apps is deprecated and will soon be removed.
Please switch to the meson build system.

-- Platform: disabled
-- Found PkgConfig: /root/buildroot-mchp/output/host/bin/pkg-config (found version "1.6.3")
-- Checking for module 'libcamera'
-- Found libcamera, version 0.3.1
-- libcamera library found:
-- version: 0.3.1
-- libraries: /root/buildroot-mchp/output/host/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libcamera.so;/root/buildroot-mchp/output/host/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libcamera-base.so
-- include path: /root/buildroot-mchp/output/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/libcamera
CMake Error at /root/buildroot-mchp/output/host/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Boost (missing: program_options) (found version "1.83.0")
Call Stack (most recent call first):
/root/buildroot-mchp/output/host/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
/root/buildroot-mchp/output/host/share/cmake-3.28/Modules/FindBoost.cmake:2393 (find_package_handle_standard_args)
core/CMakeLists.txt:5 (find_package)

-- Configuring incomplete, errors occurred!
make: *** [package/pkg-generic.mk:273: /root/buildroot-mchp/output/build/libcamera-apps-1.2.1/.stamp_configured] Error 1
root@e68e8475c116:~/buildroot-mchp#
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions