-
Notifications
You must be signed in to change notification settings - Fork 25
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
<video_player> Compilation error #95
Comments
if i add set(CMAKE_CXX_COMPILER /usr/bin/clang) to CMakeLists.txt,The following error will occur during compilation(also use flutter-elinux build elinux --target-backend-type=x11 --target-arch=arm64): Failed to cmake build: /home/yone/Desktop/demo/elinux/flutter/ephemeral/cpp_client_wrapper/core_implementations.cc:16:10: fatal error: 'cassert' file not found what should i do?thanks. |
Please try e.g. |
thank you for your reply. Here is some specific information:
The error message is as follows: /home/yone/Desktop/demo_nolibs/elinux/flutter/ephemeral/cpp_client_wrapper/core_implementations.cc:16:10: fatal error: 'cassert' file not found but if i execute in root: find -name cassert Thanks for your help. |
This shouldn't be necessary. Unfortunately, I have no suggestions, and it's generally challenging to resolve cross-building issues on other systems because we don't share a common build environment Please see https://github.com/sony/flutter-elinux/wiki/Building-flutter-apps#cross-building-from-x64-to-arm64. |
Also, please ensure that target rootfs should be used correctly when you do cross-building. |
Very strange thing: the program doesn't compile without adding this Failed to cmake: CMake Error at /usr/share/cmake-3.16/Modules/CMakeTestCXXCompiler.cmake:53 (message):
is not able to compile a simple test program. CMake Error at /usr/share/cmake-3.16/Modules/CMakeTestCXXCompiler.cmake:53 (message):
is not able to compile a simple test program. If add this, without integrating the video function, it can be compiled and run normally on the target device. |
Sorry to bother you again, I couldn't compile when integrating the video playback function. Here are some instructions for my project:
video_player: ^2.8.2
video_player_elinux:
git:
url: https://github.com/sony/flutter-elinux-plugins.git
path: packages/video_player
Ref: main
The text was updated successfully, but these errors were encountered: