Few months ago I successfully compiled CEF 2623 on linux (ubuntu 14.04).
I just tried to redo it again on a fresh system (still ubuntu 14.04). but now it gives me an error:
error: static_assert failed "a parameter is a refcounted type and needs scoped_refptr"
Here is the complete error:
ninja -C out/Debug cefsimple chrome_sandbox
ninja: Entering directory `out/Debug'
[5/416] CXX obj/cef/libcef/browser/libcef_static.browser_info_manager.o
FAILED: obj/cef/libcef/browser/libcef_static.browser_info_manager.o
../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/cef/libcef/browser/libcef_static.browser_info_manager.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD -DCR_CLANG_REVISION=255169-1 -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_ASH=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_X11=1 -DUSE_CLIPBOARD_AURAX11=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DUSE_PROPRIETARY_CODECS -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DENABLE_TOPCHROME_MD=1 -DUSE_UDEV -DFIELDTRIAL_TESTING_ENABLED -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PDF=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_PROD_WALLET_SERVICE=1 -DENABLE_BACKGROUND=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DBUILDING_CEF_SHARED -DGL_GLEXT_PROTOTYPES -DMOJO_USE_SYSTEM_IMPL -DTOOLKIT_VIEWS=1 -DPROTOBUF_USE_DLLS -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DSK_SUPPORT_GPU=1 -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DHUNSPELL_STATIC -DHUNSPELL_CHROME_CLIENT -DUSE_HUNSPELL -DLIBXML_STATIC -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION -DCHROME_PNG_WRITE_SUPPORT -DPNG_USER_CONFIG -DENABLE_LAYOUT_UNIT_IN_INLINE_BOXES=0 -DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1 -DENABLE_INPUT_MULTIPLE_FIELDS_UI=1 -DWTF_USE_ICCJPEG=1 -DWTF_USE_QCMSLIB=1 -DWTF_USE_WEBAUDIO_FFMPEG=1 -DWTF_USE_DEFAULT_RENDER_THEME=1 -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -D_DEBUG -D_GLIBCXX_DEBUG=1 -Igen -I../../cef -I../../third_party/WebKit/public/platform -I../../third_party/WebKit/public/web -I../../cef/libcef/resources/grit_stub -I../../cef/libcef/resources/grit_stub/chrome -Igen/cef -Igen/chrome -Igen/components -Igen/ui/resources -Igen/ui/strings -I../../third_party/khronos -I../../gpu -I../.. -I../../skia/config -I../../third_party/WebKit/Source -Igen/angle -Igen/protoc_out -I../../third_party/protobuf -I../../third_party/protobuf/src -I../../third_party/WebKit -Igen/extensions -I../../third_party/opus/src/include -I../../third_party/skia/include/core -I../../third_party/skia/include/effects -I../../third_party/skia/include/pdf -I../../third_party/skia/include/gpu -I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops -I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -I../../skia/ext -I../../third_party/libxml/linux/include -I../../third_party/libxml/src/include -I../../third_party/icu/source/common -I../../third_party/WebKit -I../../third_party/npapi -I../../third_party/npapi/bindings -I../../third_party/libpng -I../../third_party/zlib -I../../third_party/libwebp -I../../third_party/ots/include -I../../third_party/qcms/src -I../../third_party/iccjpeg -I../../third_party/libjpeg_turbo -Igen/blink -I../../third_party/icu/source/i18n -I../../third_party/mesa/src/include -I../../v8/include -Igen/ui/views/resources -fstack-protector --param=ssp-buffer-size=4 -Werror -pthread -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -fcolor-diagnostics -B/home/tom/Documents/cef/49_2623/chromium_git/chromium/src/third_party/binutils/Linux_x64/Release/bin -Wheader-hygiene -Wfor-loop-analysis -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing -Wno-deprecated-register -Wno-inconsistent-missing-override -Wno-shift-negative-value -pthread -I/home/tom/Documents/cef/49_2623/chromium_git/chromium/src/build/linux/debian_wheezy_amd64-sysroot/usr/include/glib-2.0 -I/home/tom/Documents/cef/49_2623/chromium_git/chromium/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/home/tom/Documents/cef/49_2623/chromium_git/chromium/src/build/linux/debian_wheezy_amd64-sysroot/usr/include/nss -I/home/tom/Documents/cef/49_2623/chromium_git/chromium/src/build/linux/debian_wheezy_amd64-sysroot/usr/include/nspr -Wno-header-guard -m64 -march=x86-64 --sysroot=/home/tom/Documents/cef/49_2623/chromium_git/chromium/src/build/linux/debian_wheezy_amd64-sysroot -O0 -g -funwind-tables -gsplit-dwarf -Wno-c++0x-compat -Wno-deprecated-declarations -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -std=gnu++11 -c ../../cef/libcef/browser/browser_info_manager.cc -o obj/cef/libcef/browser/libcef_static.browser_info_manager.o
In file included from ../../cef/libcef/browser/browser_info_manager.cc:11:
In file included from ../../cef/libcef/browser/thread_util.h:11:
In file included from ../../content/public/browser/browser_thread.h:15:
In file included from ../../base/task_runner_util.h:8:
../../base/bind.h:87:3: error: static_assert failed "a parameter is a refcounted type and needs scoped_refptr"
static_assert(
^
../../cef/libcef/browser/browser_info_manager.cc:553:15: note: in instantiation of function template specialization 'base::Bind<void (*)(int, CefBrowserInfo *, bool, IPC::Message *), int, CefBrowserInfo *, bool, IPC::Message *>' requested here
base::Bind(&CefBrowserInfoManager::SendNewBrowserInfoResponse,
^
1 error generated.
[7/416] CXX obj/cef/libcef/browser/libcef_static.browser_urlrequest_impl.o
ninja: build stopped: subcommand failed.
I don't know what it means. Is this something with the VM I use or an issue in the source code ?
In which direction should I look to correct that ?
Many thanks.