差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
| linux:chromium:cef [2019/05/14 17:29] – [ビルド] ともやん | linux:chromium:cef [2019/05/18 02:23] (現在) – 外部編集 非ログインユーザー | ||
|---|---|---|---|
| 行 3: | 行 3: | ||
| ===== フレームワークのダウンロード ===== | ===== フレームワークのダウンロード ===== | ||
| - | [[https:// | + | [[https:// | 
| ===== フレームワーク入門 ===== | ===== フレームワーク入門 ===== | ||
| 行 29: | 行 29: | ||
| Chromium Embedded Framework (CEF) のバイナリディストリビューションを解凍する。 | Chromium Embedded Framework (CEF) のバイナリディストリビューションを解凍する。 | ||
| < | < | ||
| - | $ tar jxvf cef_binary_3.3626.1886.g162fdec_linux64.tar.bz2 | + | $ tar jxvf cef_binary_74.1.16+ge20b240+chromium-74.0.3729.131_linux64.tar.bz2 | 
| </ | </ | ||
| Makefile を生成する。 | Makefile を生成する。 | ||
| 行 138: | 行 138: | ||
| </ | </ | ||
| </ | </ | ||
| + | |||
| + | ==== SUIDアクセス許可を設定 ==== | ||
| + | ビルドが終わったら指示にしたがって、手動で次のコマンドを実行して SUID アクセス許可を設定する。 | ||
| + | <WRAP prewrap 100%> | ||
| + | < | ||
| + | $ EXE="/ | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ==== Sample の実行 ==== | ||
| + | cefclient を実行する。\\ | ||
| + | < | ||
| + | $ ./ | ||
| + | </ | ||
| + | URL に chrome: | ||
| + | {{: | ||
| ==== cef-project のビルド ==== | ==== cef-project のビルド ==== | ||
| 行 154: | 行 170: | ||
| </ | </ | ||
| < | < | ||
| - | -- The C compiler identification is GNU 8.2.1 | + | -- The C compiler identification is GNU 9.1.1 | 
| - | -- The CXX compiler identification is GNU 8.2.1 | + | -- The CXX compiler identification is GNU 9.1.1 | 
| -- Check for working C compiler: /usr/bin/cc | -- Check for working C compiler: /usr/bin/cc | ||
| -- Check for working C compiler: /usr/bin/cc -- works | -- Check for working C compiler: /usr/bin/cc -- works | ||
| 行 168: | 行 184: | ||
| -- Detecting CXX compile features | -- Detecting CXX compile features | ||
| -- Detecting CXX compile features - done | -- Detecting CXX compile features - done | ||
| - | -- Downloading / | + | CMake Warning (dev) at CMakeLists.txt: | 
| - | -- Downloading | + | Policy CMP0074 is not set: find_package uses < | 
| - | -- [download 0% complete] | + | Run " | 
| - | -- [download 1% complete] | + | command to set the policy and suppress this warning. | 
| - | -- [download | + | |
| + | CMake variable CEF_ROOT is set to: | ||
| + | |||
| + |  | ||
| + | |||
| + | For compatibility, | ||
| + | This warning is for project developers. Use -Wno-dev to suppress it. | ||
| + | |||
| + | -- Performing Test COMPILER_SUPPORTS_NO_UNUSED_LOCAL_TYPEDEFS | ||
| + | -- Performing Test COMPILER_SUPPORTS_NO_UNUSED_LOCAL_TYPEDEFS - Success | ||
| + | -- Performing Test COMPILER_SUPPORTS_NO_LITERAL_SUFFIX | ||
| + | -- Performing Test COMPILER_SUPPORTS_NO_LITERAL_SUFFIX - Success | ||
| + | -- Performing Test COMPILER_SUPPORTS_NO_NARROWING | ||
| + | -- Performing Test COMPILER_SUPPORTS_NO_NARROWING - Success | ||
| + | -- Found PythonInterp: | ||
| + | -- Downloading clang-format from Google Storage... | ||
| 〜省略〜 | 〜省略〜 | ||
| -- [download 98% complete] | -- [download 98% complete] | ||
| 行 230: | 行 261: | ||
| -- Build files have been written to: / | -- Build files have been written to: / | ||
| </ | </ | ||
| - | |||
| - | === cef_variables.cmake の修正 === | ||
| - | ビルドエラーにならない様に cef_variables.cmake を修正する。 | ||
| - | < | ||
| - | $ vi ../ | ||
| - | </ | ||
| - | <file autoconf ../ | ||
| - | #    -Werror | ||
| - | </ | ||
| - | ※**-Werror**をコメントアウトする。\\ | ||
| === ビルド === | === ビルド === | ||