chromiumembedded / cef

Chromium Embedded Framework (CEF). A simple framework for embedding Chromium-based browsers in other applications.
https://bitbucket.org/chromiumembedded/cef/
Other
3.09k stars 450 forks source link

ERROR at //third_party/google_benchmark/buildconfig.gni:11:30: Undefined identifier #3698

Closed mayl0415 closed 1 month ago

mayl0415 commented 1 month ago

Ubuntu18.04 environment, I refer to the documentation to operate. https://bitbucket.org/chromiumembedded/cef/wiki/MasterBuildQuickStart.md

An error occurred while performing this step:./cef_create_projects.sh

The error message is as follows

74 patches total (0 applied, 74 skipped, 0 failed)

Generating CEF project files... ERROR at //third_party/google_benchmark/buildconfig.gni:11:30: Undefined identifier enable_google_benchmarks = checkout_google_benchmark ^------------------------ See //third_party/leveldatabase/BUILD.gn:7:1: whence it was imported. import("//third_party/google_benchmark/buildconfig.gni") ^------------------------------------------------------ See //BUILD.gn:751:7: which caused the file to be included. "//third_party/leveldatabase:leveldb_test_targets", ^------------------------------------------------- Traceback (most recent call last): File "tools/gclient_hook.py", line 146, in RunAction(src_dir, cmd) File "/root/code/chromium_git/chromium/src/cef/tools/gclient_util.py", line 35, in RunAction gclient_utils.CheckCallAndFilter( File "/root/code/depot_tools/gclient_utils.py", line 714, in CheckCallAndFilter raise subprocess2.CalledProcessError(rv, args, kwargs.get('cwd', None), subprocess2.CalledProcessError: Command 'gn gen out/Debug_GN_x64' returned non-zero exit status 1 in /root/code/chromium_git/chromium/src ERROR at //third_party/google_benchmark/buildconfig.gni:11:30: Undefined identifier enable_google_benchmarks = checkout_google_benchmark ^------------------------ See //third_party/leveldatabase/BUILD.gn:7:1: whence it was imported. import("//third_party/google_benchmark/buildconfig.gni") ^------------------------------------------------------ See //BUILD.gn:751:7: which caused the file to be included. "//third_party/leveldatabase:leveldb_test_targets", ^-------------------------------------------------

mayl0415 commented 1 month ago

I set it to false, I don’t know if it will have any impact later.

magreenblatt commented 1 month ago

Ubuntu18.04 environment

This is not a supported build platform. See https://bitbucket.org/chromiumembedded/cef/wiki/BranchesAndBuilding.md#markdown-header-current-release-branches-supported

Please do not create issues for unsupported platforms or build versions.