ihsplay icon indicating copy to clipboard operation
ihsplay copied to clipboard

Can not build on raspbian bookwoorm arm64[BUG]

Open peresmeshnikov opened this issue 5 months ago • 3 comments

Hello. I'm trying to build app on my raspberrypi4 with command 'cmake .' But I got some errors:

Make Warning at CMakeLists.txt:51 (find_package):
  By not providing "FindMbedTLS.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "MbedTLS", but
  CMake did not find one.

  Could not find a package configuration file provided by "MbedTLS" with any
  of the following names:

    MbedTLSConfig.cmake
    mbedtls-config.cmake

  Add the installation prefix of "MbedTLS" to CMAKE_PREFIX_PATH or set
  "MbedTLS_DIR" to a directory containing one of the above files.  If
  "MbedTLS" provides a separate development package or SDK, be sure it has
  been installed.


--   Including mbedtls from source...
CMake Error at CMakeLists.txt:82 (include):
  include could not find requested file:

    ExternalMbedTLS


CMake Error at CMakeLists.txt:91 (add_subdirectory):
  The source directory

    /usr/src/ihsplay-0.2.9/core

  does not contain a CMakeLists.txt file.


CMake Error at CMakeLists.txt:93 (add_subdirectory):
  The source directory

    /usr/src/ihsplay-0.2.9/third_party/lvgl

  does not contain a CMakeLists.txt file.


CMake Error at CMakeLists.txt:95 (target_include_directories):
  Cannot specify include directories for target "lvgl" which is not built by
  this project.


CMake Error at CMakeLists.txt:96 (target_include_directories):
  Cannot specify include directories for target "lvgl" which is not built by
  this project.


CMake Error at CMakeLists.txt:98 (target_link_libraries):
  Cannot specify link libraries for target "lvgl" which is not built by this
  project.

I have installed all packages from deploy/raspbian/sysroot-packages.list

Package: libsdl2-dev
Version: 2.26.5+dfsg-1
Package: libopus-dev
Version: 1.3.1-3
Package: libmbedtls-dev
Version: 2.28.3-1
Package: libraspberrypi-dev
Version: 1:2+git20231018~131943+3c97f76-1
Package: libprotobuf-c-dev
Version: 1.4.1-1+b1
Package: libfreetype6-dev
Version: 2.12.1+dfsg-5
Package: libfontconfig-dev
Version: 2.14.1-4
Package: libcec-dev
Version: 6.0.2-5+rpt2

My system Linux raspberrypi 6.1.0-rpi7-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64 GNU/Linux

Can you add instruction for Raspberry PI or maybe create flatpack image?

I suppose I should build newest MbedTLS from sources.

peresmeshnikov avatar Jan 20 '24 10:01 peresmeshnikov