webview_cef icon indicating copy to clipboard operation
webview_cef copied to clipboard

clang++: error: linker command failed with exit code 1 (use -v to see invocation)

Open luyen-tran opened this issue 8 months ago • 16 comments

Dear webview_cef team I tried to integrate the package to flutter app in linux (ubuntu 24.04 - amd64). Currently, i got the following issue. clang++: error: linker command failed with exit code 1 (use -v to see invocation)

Launching lib/main.dart on Linux in debug mode...
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/../../../../frontend/appflowy_flutter/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/luyentran/Dev/Lecle_Vietnam/leclenote/frontend/appflowy_flutter/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.

clang++: error: linker command failed with exit code 1 (use -v to see invocation)
Building Linux application...                                           
Error: Build process failed

luyen-tran avatar Jun 19 '24 16:06 luyen-tran