- Code: Select all
CEF_USE_GN=1
export GN_DEFINES="enable_ac3_eac3_audio_demuxing=true enable_hevc_demuxing=true enable_dolby_vision_demuxing=true enable_hls_sample_aes=true enable_mse_mpeg2ts_stream_parser=true enable_webrtc=true proprietary_codecs=true ffmpeg_branding='Chrome' enable_nacl=false is_debug=false remove_webcore_debug_symbols=true symbol_level=0 target_cpu='x64' enable_widevine=true use_sysroot=true use_allocator='none' dcheck_always_on=true is_official_build=true treat_warnings_as_errors=false"
python automate-git.py --download-dir=. --branch=3202 --x64-build --force-clean --no-debug-build --minimal-distrib --build-target=cefsimple
Build was successful.
After i try to implement my build to cef3-project
I change in cmake/DownloadCEF.cmake CEF_DOWNLOAD_URL to my custom url, where I put my cef3 build. And change CMakeLists.txt to my version (3.3202.1673.gcd60f7c)
After download and compilation i have error on all examples and tests:
- Code: Select all
Linking CXX executable Release/cefsimple
../../../../../../third_party/cef/cef_binary_3.3202.1673.gcd60f7c_linux64/Release/libcef.so: undefined reference to `safe_browsing::SettingsResetPromptController::ShowSettingsResetPrompt(Browser*, safe_browsing::SettingsResetPromptController*)'
../../../../../../third_party/cef/cef_binary_3.3202.1673.gcd60f7c_linux64/Release/libcef.so: undefined reference to `ui::Service::InProcessConfig::~InProcessConfig()'
../../../../../../third_party/cef/cef_binary_3.3202.1673.gcd60f7c_linux64/Release/libcef.so: undefined reference to `ui::Service::InProcessConfig::InProcessConfig()'
../../../../../../third_party/cef/cef_binary_3.3202.1673.gcd60f7c_linux64/Release/libcef.so: undefined reference to `ui::Service::Service(ui::Service::InProcessConfig const*)'
collect2: error: ld returned 1 exit status
make[3]: *** [third_party/cef/cef_binary_3.3202.1673.gcd60f7c_linux64/tests/cefsimple/Release/cefsimple] Ошибка 1
make[2]: *** [third_party/cef/cef_binary_3.3202.1673.gcd60f7c_linux64/tests/cefsimple/CMakeFiles/cefsimple.dir/all] Ошибка 2
make[1]: *** [third_party/cef/cef_binary_3.3202.1673.gcd60f7c_linux64/tests/cefsimple/CMakeFiles/cefsimple.dir/rule] Ошибка 2
make: *** [cefsimple] Ошибка 2
What could be the problem?
Thank you.