Skip to content

Problemas com o CEF #202

@Naosousenior

Description

@Naosousenior

Quando tento rodar a aplicação de exemplo dada no repositório, recebo o seguinte erro:

CMake Warning at flutter/ephemeral/.plugin_symlinks/webview_cef/linux/CMakeLists.txt:19 (message):
Modifying target cc files...

File not found:
/home/user/projetos/teste/test_webview/linux/my_application.cc

File not found:
/home/user/projetos/teste/test_webview/linux/my_application.cc

File not found:
/home/user/projetos/teste/test_webview/linux/my_application.cc

File not found: /home/user/projetos/teste/test_webview/linux/main.cc

File not found: /home/user/projetos/teste/test_webview/linux/main.cc

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:22 (include)

CMake Warning at flutter/ephemeral/.plugin_symlinks/webview_cef/third/download.cmake:58 (message):
No
/home/user/projetos/teste/test_webview/linux/flutter/ephemeral/.plugin_symlinks/webview_cef/linux/../third/cef/version.txt
found
Call Stack (most recent call first):
flutter/ephemeral/.plugin_symlinks/webview_cef/linux/CMakeLists.txt:23 (prepare_prebuilt_files)

CMake Warning at flutter/ephemeral/.plugin_symlinks/webview_cef/third/download.cmake:72 (message):
Need to update
/home/user/projetos/teste/test_webview/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:23 (prepare_prebuilt_files)

CMake Warning at flutter/ephemeral/.plugin_symlinks/webview_cef/third/download.cmake:46 (message):
Downloading
/home/user/projetos/teste/test_webview/linux/flutter/ephemeral/.plugin_symlinks/webview_cef/linux/prebuilt.zip
from
https://cef-builds.spotifycdn.com/cef_binary_130.1.2%2Bg48f3ef6%2Bchromium-130.0.6723.44_linux64.tar.bz2
Call Stack (most recent call first):
flutter/ephemeral/.plugin_symlinks/webview_cef/third/download.cmake:74 (download_file)
flutter/ephemeral/.plugin_symlinks/webview_cef/linux/CMakeLists.txt:23 (prepare_prebuilt_files)

CMake Warning at flutter/ephemeral/.plugin_symlinks/webview_cef/third/download.cmake:22 (message):

/home/user/projetos/teste/test_webview/linux/flutter/ephemeral/.plugin_symlinks/webview_cef/linux/prebuilt.zip
will extract to
/home/user/projetos/teste/test_webview/linux/flutter/ephemeral/.plugin_symlinks/webview_cef/linux/../third/cef
...
Call Stack (most recent call first):
flutter/ephemeral/.plugin_symlinks/webview_cef/third/download.cmake:76 (extract_file)
flutter/ephemeral/.plugin_symlinks/webview_cef/linux/CMakeLists.txt:23 (prepare_prebuilt_files)

eu já tentei isso:

wget https://cef-builds.spotifycdn.com/cef_binary_130.1.2%2Bg48f3ef6%2Bchromium-130.0.6723.44_linux64.tar.bz2
 
tar -xf cef_binary_130.1.2+g48f3ef6+chromium-130.0.6723.44_linux64.tar.bz2

rm -rf  linux/flutter/ephemeral/.plugin_symlinks/webview_cef/third/cef

mkdir -p linux/flutter/ephemeral/.plugin_symlinks/webview_cef/third/cef
 
mv cef_binary_130.1.2+g48f3ef6+chromium-130.0.6723.44_linux64/* linux/flutter/ephemeral/.plugin_symlinks/webview_cef/third/cef/

e também já tentei definir o caminho para o CEF no path, mas nada adianta. Como posso resolver?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions