Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not build on raspbian bookwoorm arm64[BUG] #51

Open
peresmeshnikov opened this issue Jan 20, 2024 · 3 comments
Open

Can not build on raspbian bookwoorm arm64[BUG] #51

peresmeshnikov opened this issue Jan 20, 2024 · 3 comments

Comments

@peresmeshnikov
Copy link

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.

@mariotaku
Copy link
Owner

Hi, you'll need to pull submodules too. Please note that Raspberry Pi 64bit is not yet supported to have video. It will need some extra work.

@peresmeshnikov
Copy link
Author

Hi, you'll need to pull submodules too. Please note that Raspberry Pi 64bit is not yet supported to have video. It will need some extra work.

Oh. I understood.
Do you have plans to do it in the future?
Right now I opened for myself moonlight stream via nvidia geforce experience and it works great if lauched from terminal. Even on bookworm aarch64 with wayland.

@mariotaku
Copy link
Owner

Yes. IHSplay and my Moonlight port use the same library to play video. Once it's supported it's going to be available for both apps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants