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

Has someone make a successful build on linux (ubuntu 24)? #138

Open
faezzz92 opened this issue Aug 23, 2024 · 3 comments
Open

Has someone make a successful build on linux (ubuntu 24)? #138

faezzz92 opened this issue Aug 23, 2024 · 3 comments

Comments

@faezzz92
Copy link

Im encounter this error during build,

CMake Warning at flutter/ephemeral/.plugin_symlinks/webview_cef/third/download.cmake:2 (message):
current system is Linux
Call Stack (most recent call first):
flutter/ephemeral/.plugin_symlinks/webview_cef/linux/CMakeLists.txt:14 (include)

CMake Warning at flutter/ephemeral/.plugin_symlinks/webview_cef/third/download.cmake:43 (message):
Downloading
/home/qbadmin/development/demo/linux/flutter/ephemeral/.plugin_symlinks/webview_cef/linux/../third/cef/new_version.txt
from
https://github.com/hlwhl/webview_cef/releases/download/prebuilt_cef_bin_linux/version.txt
Call Stack (most recent call first):
flutter/ephemeral/.plugin_symlinks/webview_cef/third/download.cmake:58 (download_file)
flutter/ephemeral/.plugin_symlinks/webview_cef/linux/CMakeLists.txt:15 (prepare_prebuilt_files)

CMake Warning at flutter/ephemeral/.plugin_symlinks/webview_cef/third/download.cmake:62 (message):
No need to update
/home/qbadmin/development/demo/linux/flutter/ephemeral/.plugin_symlinks/webview_cef/linux/../third/cef
Call Stack (most recent call first):
flutter/ephemeral/.plugin_symlinks/webview_cef/linux/CMakeLists.txt:15 (prepare_prebuilt_files)

CMake Warning (dev) at flutter/ephemeral/.plugin_symlinks/webview_cef/linux/CMakeLists.txt:79 (message):
xclip executable not found. Users need it to paste text into CEF Area.
This warning is for project developers. Use -Wno-dev to suppress it.

/home/qbadmin/development/demo/linux/flutter/ephemeral/.plugin_symlinks/webview_cef/linux/../third/cef/include/base/cef_template_util.h:176:7: error: builtin __has_trivial_copy is deprecated; use __is_trivially_copyable instead [-Werror,-Wdeprecated-builtins]
/home/qbadmin/development/demo/linux/flutter/ephemeral/.plugin_symlinks/webview_cef/linux/../third/cef/include/base/cef_template_util.h:176:32: error: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Werror,-Wdeprecated-builtins]
/home/qbadmin/development/demo/linux/flutter/ephemeral/.plugin_symlinks/webview_cef/linux/../third/cef/include/base/cef_template_util.h:176:7: error: builtin __has_trivial_copy is deprecated; use __is_trivially_copyable instead [-Werror,-Wdeprecated-builtins]
/home/qbadmin/development/demo/linux/flutter/ephemeral/.plugin_symlinks/webview_cef/linux/../third/cef/include/base/cef_template_util.h:176:32: error: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Werror,-Wdeprecated-builtins]
/home/qbadmin/development/demo/linux/flutter/ephemeral/.plugin_symlinks/webview_cef/linux/../third/cef/include/base/cef_template_util.h:176:7: error: builtin __has_trivial_copy is deprecated; use __is_trivially_copyable instead [-Werror,-Wdeprecated-builtins]
/home/qbadmin/development/demo/linux/flutter/ephemeral/.plugin_symlinks/webview_cef/linux/../third/cef/include/base/cef_template_util.h:176:32: error: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Werror,-Wdeprecated-builtins]
/home/qbadmin/development/demo/linux/flutter/ephemeral/.plugin_symlinks/webview_cef/linux/../third/cef/include/base/cef_template_util.h:176:7: error: builtin __has_trivial_copy is deprecated; use __is_trivially_copyable instead [-Werror,-Wdeprecated-builtins]
/home/qbadmin/development/demo/linux/flutter/ephemeral/.plugin_symlinks/webview_cef/linux/../third/cef/include/base/cef_template_util.h:176:32: error: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Werror,-Wdeprecated-builtins]
/home/qbadmin/development/demo/linux/flutter/ephemeral/.plugin_symlinks/webview_cef/linux/../third/cef/include/base/cef_template_util.h:176:7: error: builtin __has_trivial_copy is deprecated; use __is_trivially_copyable instead [-Werror,-Wdeprecated-builtins]
/home/qbadmin/development/demo/linux/flutter/ephemeral/.plugin_symlinks/webview_cef/linux/../third/cef/include/base/cef_template_util.h:176:32: error: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Werror,-Wdeprecated-builtins]
/home/qbadmin/development/demo/linux/flutter/ephemeral/.plugin_symlinks/webview_cef/linux/../third/cef/include/base/cef_template_util.h:176:7: error: builtin __has_trivial_copy is deprecated; use __is_trivially_copyable instead [-Werror,-Wdeprecated-builtins]
/home/qbadmin/development/demo/linux/flutter/ephemeral/.plugin_symlinks/webview_cef/linux/../third/cef/include/base/cef_template_util.h:176:32: error: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Werror,-Wdeprecated-builtins]
/home/qbadmin/development/demo/linux/flutter/ephemeral/.plugin_symlinks/webview_cef/linux/../third/cef/include/base/cef_template_util.h:176:7: error: builtin __has_trivial_copy is deprecated; use __is_trivially_copyable instead [-Werror,-Wdeprecated-builtins]
/home/qbadmin/development/demo/linux/flutter/ephemeral/.plugin_symlinks/webview_cef/linux/../third/cef/include/base/cef_template_util.h:176:32: error: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Werror,-Wdeprecated-builtins]
/home/qbadmin/development/demo/linux/flutter/ephemeral/.plugin_symlinks/webview_cef/linux/../third/cef/include/base/cef_template_util.h:176:7: error: builtin __has_trivial_copy is deprecated; use __is_trivially_copyable instead [-Werror,-Wdeprecated-builtins]
/home/qbadmin/development/demo/linux/flutter/ephemeral/.plugin_symlinks/webview_cef/linux/../third/cef/include/base/cef_template_util.h:176:32: error: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Werror,-Wdeprecated-builtins]
/home/qbadmin/development/demo/linux/flutter/ephemeral/.plugin_symlinks/webview_cef/linux/../third/cef/include/base/cef_template_util.h:176:7: error: builtin __has_trivial_copy is deprecated; use __is_trivially_copyable instead [-Werror,-Wdeprecated-builtins]
/home/qbadmin/development/demo/linux/flutter/ephemeral/.plugin_symlinks/webview_cef/linux/../third/cef/include/base/cef_template_util.h:176:32: error: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Werror,-Wdeprecated-builtins]
ERROR: Invalid depfile: /home/qbadmin/development/demo/.dart_tool/flutter_build/bf5052e001964fbdf6c3511ea662ed6d/kernel_snapshot_program.d
ERROR: Invalid depfile: /home/qbadmin/development/demo/.dart_tool/flutter_build/bf5052e001964fbdf6c3511ea662ed6d/kernel_snapshot_program.d
ERROR: Invalid depfile: /home/qbadmin/development/demo/.dart_tool/flutter_build/bf5052e001964fbdf6c3511ea662ed6d/kernel_snapshot_program.d
ERROR: Invalid depfile: /home/qbadmin/development/demo/.dart_tool/flutter_build/bf5052e001964fbdf6c3511ea662ed6d/kernel_snapshot_program.d
Building Linux application...
Error: Build process failed

@SinyimZhi
Copy link
Collaborator

same with #129 ,try to use lower GCC version or use new version of the CEF prebuilt package.

@cadivus
Copy link
Contributor

cadivus commented Sep 21, 2024

I had the same problems, just using a lower GCC version and/or newer CEF prebuilds did not do the trick for.
I resolved it by some small changes, see #148

@SinyimZhi
Copy link
Collaborator

Due to the support of @cadivus , the CEF version is currently supported up to version 130.1.2+g48f3ef6+chromium-130.0.6723.44 On Linux. Would you please check if this problem is solved or not?

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

3 participants