makeDistrib issue

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

makeDistrib issue

Postby ryadav03 » Mon Oct 18, 2021 12:45 am

Hi community

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
[172/178 6.666]Building CXX object libcef_dll_wrapper\CMakeFiles\libcef_dll_wrapper.dir\ctocpp\views\label_button_ctocpp.cc.obj
cl : Command line warning D9025 : overriding '/MT' with '/MD'
[173/178 6.697]Building CXX object libcef_dll_wrapper\CMakeFiles\libcef_dll_wrapper.dir\ctocpp\views\textfield_ctocpp.cc.obj
cl : Command line warning D9025 : overriding '/MT' with '/MD'
[174/178 6.713]Building CXX object libcef_dll_wrapper\CMakeFiles\libcef_dll_wrapper.dir\ctocpp\views\view_ctocpp.cc.obj
cl : Command line warning D9025 : overriding '/MT' with '/MD'
[175/178 6.735]Building CXX object libcef_dll_wrapper\CMakeFiles\libcef_dll_wrapper.dir\ctocpp\views\window_ctocpp.cc.obj
cl : Command line warning D9025 : overriding '/MT' with '/MD'
[176/178 6.867]Building CXX object libcef_dll_wrapper\CMakeFiles\libcef_dll_wrapper.dir\wrapper\cef_resource_manager.cc.obj
FAILED: libcef_dll_wrapper/CMakeFiles/libcef_dll_wrapper.dir/wrapper/cef_resource_manager.cc.obj
C:\PROGRA~2\MICROS~1\2017\PROFES~1\VC\Tools\MSVC\1416~1.270\bin\Hostx86\x86\cl.exe /nologo /TP -DCEF_USE_ATL -DCEF_USE_SANDBOX -DNDEBUG -DNOMINMAX -DPSAPI_VERSION=1 -DUNICODE -DWIN32 -DWIN32_LEAN_AND_MEAN -DWINVER=0x0601 -DWRAPPING_CEF_SHARED -D_HAS_EXCEPTIONS=0 -D_NDEBUG -D_UNICODE -D_WIN32 -D_WIN32_WINNT=0x601 -D_WINDOWS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -I..\ /MP /Gy /GR- /W4 /WX /wd4100 /wd4127 /wd4244 /wd4324 /wd4481 /wd4512 /wd4701 /wd4702 /wd4996 /Zi /MT /MD /O2 /Ob2 /GF /showIncludes /Folibcef_dll_wrapper\CMakeFiles\libcef_dll_wrapper.dir\wrapper\cef_resource_manager.cc.obj /Fdlibcef_dll_wrapper\CMakeFiles\libcef_dll_wrapper.dir\libcef_dll_wrapper.pdb /FS -c ..\libcef_dll\wrapper\cef_resource_manager.cc
cl : Command line warning D9025 : overriding '/MT' with '/MD'
S:\rishabh93\4577\chromium\src\cef\binary_distrib\cef_binary_93.49.18+g2fd6aa4+chromium-93.0.4577.82_windows32\include/base/internal/cef_bind_internal.h(1250): error C2440: 'initializing': cannot convert from 'R (__cdecl *)(base::internal::BindStateBase *,conditional<_Test,const std::string&,const std::string&>::type)' to 'PolymorphicInvoke'
with
[
R=std::basic_string<char,std::char_traits<char>,std::allocator<char>>
]
S:\rishabh93\4577\chromium\src\cef\binary_distrib\cef_binary_93.49.18+g2fd6aa4+chromium-93.0.4577.82_windows32\include/base/internal/cef_bind_internal.h(1250): note: This conversion requires a reinterpret_cast, a C-style cast or function-style cast
S:\rishabh93\4577\chromium\src\cef\binary_distrib\cef_binary_93.49.18+g2fd6aa4+chromium-93.0.4577.82_windows32\include/base/cef_bind.h(126): note: see reference to function template instantiation 'decltype(auto) base::internal::BindImpl<base::RepeatingCallback,std::string(__cdecl &)(const std::string &),>(Functor)' being compiled
with
[
Functor=std::string (__cdecl &)(const std::string &)
]
..\libcef_dll\wrapper\cef_resource_manager.cc(424): note: see reference to function template instantiation 'base::RepeatingCallback<std::string (const std::string &)> base::BindRepeating<std::string(__cdecl &)(const std::string &),>(Functor)' being compiled
with
[
Functor=std::string (__cdecl &)(const std::string &)
]
[177/178 7.938]Building CXX object libcef_dll_wrapper\CMakeFiles\libcef_dll_wrapper.dir\wrapper\cef_message_router.cc.obj
cl : Command line warning D9025 : overriding '/MT' with '/MD'
ninja: build stopped: subcommand failed.
File not found - libcef_dll_wrapper.lib
0 File(s) copied
libcef_dll_wrapper\CMakeFiles\libcef_dll_wrapper.dir\libcef_dll_wrapper.pdb
1 File(s) copied

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

I am getting above error after building step completed sucessfully and during running makedistrib.py , is there something i am missing?
branch :- 4577
Last edited by ryadav03 on Mon Oct 18, 2021 3:59 am, edited 1 time in total.
ryadav03
Techie
 
Posts: 13
Joined: Thu May 13, 2021 4:31 am

Re: makeDistrib issue

Postby ndesktop » Mon Oct 18, 2021 2:04 am

Looks like an unsupported compiler version to me.
ndesktop
Master
 
Posts: 750
Joined: Thu Dec 03, 2015 10:10 am

Re: makeDistrib issue

Postby ryadav03 » Mon Oct 18, 2021 6:01 am

so what could be the solution except starting from scratch
ryadav03
Techie
 
Posts: 13
Joined: Thu May 13, 2021 4:31 am

Re: makeDistrib issue

Postby ndesktop » Mon Oct 18, 2021 8:11 am

If indeed this is the case. You do not need to do from scratch, just rerun the project regeneration. I think cef_create_projects does this.
ndesktop
Master
 
Posts: 750
Joined: Thu Dec 03, 2015 10:10 am

Re: makeDistrib issue

Postby magreenblatt » Mon Oct 18, 2021 8:36 am

You need to build with Visual Studio 2019. Older versions are no longer supported.
magreenblatt
Site Admin
 
Posts: 12383
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 50 guests