Build 2171 and newer version using cmake.

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

Build 2171 and newer version using cmake.

Postby saykou » Wed May 13, 2015 10:51 am

Hi, a couple of days ago, i was trying to compile cef32 with mingw32, i could not.
Now using ms vs 2010 express and using the 2171 cef build or older pre with the pre-build solutions i'm able to compile in my machine. The problem is that if i use cmake to build a solution, and compile using visual studio express 2010, with 2171 or newer. i can't compile it.

The following error appears.


Code: Select all
(....)
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\include/base/cef_thread_collision_warner.h(182): error C2220: warning treated as error - no 'object' file generated
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\include/base/cef_thread_collision_warner.h(182): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\include/base/cef_thread_collision_warner.h(182): error C2220: warning treated as error - no 'object' file generated
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\include/base/cef_thread_collision_warner.h(182): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler.h(77): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler.h(80): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler.h(83): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler.h(86): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler.h(89): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler.h(92): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler.h(95): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler.h(98): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler.h(101): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler.h(106): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler.h(121): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler.h(126): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler.h(131): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler.h(133): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler.h(137): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler.h(144): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler.h(148): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler.h(153): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler.h(160): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler.h(166): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler.h(180): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler.h(181): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler.h(182): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler.h(183): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler.h(189): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler.h(194): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler.h(200): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler.h(206): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler.h(210): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler.h(214): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler.h(217): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler.h(223): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler.h(225): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/browser_window.h(96): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/browser_window.h(97): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/browser_window.h(98): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/browser_window.h(99): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/browser_window.h(100): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/browser_window.h(103): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/root_window_win.h(36): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/root_window_win.h(43): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/root_window_win.h(44): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/root_window_win.h(45): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/root_window_win.h(46): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/root_window_win.h(47): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/root_window_win.h(48): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/root_window_win.h(49): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/root_window_win.h(86): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/root_window_win.h(87): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/root_window_win.h(88): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/root_window_win.h(89): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/root_window_win.h(92): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler_osr.h(73): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler_osr.h(78): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler_osr.h(79): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler_osr.h(83): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler_osr.h(85): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler_osr.h(90): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler_osr.h(92): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler_osr.h(93): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler_osr.h(95): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler_osr.h(101): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler_osr.h(105): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler_osr.h(109): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/client_handler_osr.h(111): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/osr_window_win.h(103): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/osr_window_win.h(104): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/osr_window_win.h(106): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/osr_window_win.h(108): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/osr_window_win.h(113): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/osr_window_win.h(115): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/osr_window_win.h(116): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/osr_window_win.h(118): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/osr_window_win.h(124): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/osr_window_win.h(128): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/osr_window_win.h(132): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/osr_window_win.h(134): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/browser_window_osr_win.h(30): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/browser_window_osr_win.h(34): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/browser_window_osr_win.h(36): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/browser_window_osr_win.h(37): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/browser_window_osr_win.h(38): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/browser_window_osr_win.h(39): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/browser_window_osr_win.h(40): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/browser_window_osr_win.h(41): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/browser_window_osr_win.h(45): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/browser_window_osr_win.h(48): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/browser_window_std_win.h(27): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/browser_window_std_win.h(31): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/browser_window_std_win.h(33): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/browser_window_std_win.h(34): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/browser_window_std_win.h(35): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/browser_window_std_win.h(36): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/browser_window_std_win.h(37): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\cefclient/browser/browser_window_std_win.h(38): warning C4481: nonstandard extension used: override specifier 'override'
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\include/base/cef_thread_collision_warner.h(182): error C2220: warning treated as error - no 'object' file generated
2>C:\NO-BACKUP\CEF tutorial\cef_binary_3.2357.1267.g75b5dd4_windows64\include/base/cef_thread_collision_warner.h(182): warning C4481: nonstandard extension used: override specifier 'override'
4>------ Skipped Build: Project: ALL_BUILD, Configuration: Debug Win32 ------
4>Project not selected to build for this solution configuration
========== Build: 0 succeeded, 3 failed, 1 up-to-date, 1 skipped ==========



i know is a bit plain, but i read the tutorial, it should work.

Thanks if any one could help or not ...
saykou
Techie
 
Posts: 23
Joined: Wed May 06, 2015 6:22 am

Re: Build 2171 and newer version using cmake.

Postby magreenblatt » Wed May 13, 2015 10:59 am

magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Build 2171 and newer version using cmake.

Postby saykou » Wed May 13, 2015 11:29 am

magreenblatt wrote:See viewtopic.php?f=6&t=12734

Hi magreenblatt and thanks, i just don't understand how can i build libcef_dll_wrapper first. I open the solution with vs 10 (after creating the solution file with cmake), and right click to build the wrapper first , so then i build the other solutions/whole solution? Because that way won't work ...

Also i don't know which flag should i add to my CEF_COMPILER_FLAGS
saykou
Techie
 
Posts: 23
Joined: Wed May 06, 2015 6:22 am

Re: Build 2171 and newer version using cmake.

Postby saykou » Wed May 13, 2015 11:34 am

saykou wrote:
magreenblatt wrote:See viewtopic.php?f=6&t=12734

Hi magreenblatt and thanks, i just don't understand how can i build libcef_dll_wrapper first. I open the solution with vs 10 (after creating the solution file with cmake), and right click to build the wrapper first , so then i build the other solutions/whole solution? Because that way won't work ...

Also i don't know which flag should i add to my CEF_COMPILER_FLAGS

Just bulding the libcef_dll_wrapper i get ...

Code: Select all
========== Rebuild All: 1 succeeded, 1 failed, 0 skipped ==========
saykou
Techie
 
Posts: 23
Joined: Wed May 06, 2015 6:22 am

Re: Build 2171 and newer version using cmake.

Postby magreenblatt » Wed May 13, 2015 12:24 pm

saykou wrote:i just don't understand how can i build libcef_dll_wrapper first.

The other targets (cefclient, cefsimple) depend on the libcef_dll_wrapper target, so libcef_dll_wrapper will be built automatically when you build the other targets.

saykou wrote:Also i don't know which flag should i add to my CEF_COMPILER_FLAGS

Add the C4481 flag, then re-run cmake.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Build 2171 and newer version using cmake.

Postby saykou » Thu May 14, 2015 4:46 am

magreenblatt wrote:
saykou wrote:i just don't understand how can i build libcef_dll_wrapper first.

The other targets (cefclient, cefsimple) depend on the libcef_dll_wrapper target, so libcef_dll_wrapper will be built automatically when you build the other targets.

saykou wrote:Also i don't know which flag should i add to my CEF_COMPILER_FLAGS

Add the C4481 flag, then re-run cmake.


Hi magreenblatt, thanks now libcef_dll_wrapper compiles with success, any ideia why the flag wasn't on the CMakeList.txt ? And what it does?

But still the cefclient and cefsmiple won't compile successfully ... i got this erros

Code: Select all
 error LNK2019: unresolved external symbol _cef_string_utf16_set referenced in function "public: void __thiscall CefWindowInfo::SetAsPopup(struct HWND__ *,class CefStringBase<struct CefStringTraitsUTF16> const &)" (?SetAsPopup@CefWindowInfo@@QAEXPAUHWND__@@ABV?$CefStringBase@UCefStringTraitsUTF16@@@@@Z)
2>simple_app.obj : error LNK2019: unresolved external symbol _cef_get_min_log_level referenced in function "int __cdecl cef::logging::GetMinLogLevel(void)" (?GetMinLogLevel@logging@cef@@YAHXZ)
2>simple_handler.obj : error LNK2001: unresolved external symbol _cef_get_min_log_level
2>simple_handler_win.obj : error LNK2001: unresolved external symbol _cef_get_min_log_level
2>simple_app.obj : error LNK2019: unresolved external symbol _cef_string_utf16_clear referenced in function "public: static void __cdecl CefWindowInfoTraits::clear(struct _cef_window_info_t *)" (?clear@CefWindowInfoTraits@@SAXPAU_cef_window_info_t@@@Z)
2>simple_handler.obj : error LNK2001: unresolved external symbol _cef_string_utf16_clear
2>cefsimple_win.obj : error LNK2001: unresolved external symbol _cef_string_utf16_clear
2>simple_app.obj : error LNK2019: unresolved external symbol _cef_string_utf8_clear referenced in function "public: static class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl CefStringTraitsUTF16::to_string(struct _cef_string_utf16_t const *)" (?to_string@CefStringTraitsUTF16@@SA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PBU_cef_string_utf16_t@@@Z)
2>simple_handler.obj : error LNK2001: unresolved external symbol _cef_string_utf8_clear
2>simple_app.obj : error LNK2019: unresolved external symbol _cef_string_utf16_to_utf8 referenced in function "public: static class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl CefStringTraitsUTF16::to_string(struct _cef_string_utf16_t const *)" (?to_string@CefStringTraitsUTF16@@SA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PBU_cef_string_utf16_t@@@Z)



A lot of LNK2019 and LNK2001 errors ...
which are a lot of unresolved symbols any idea what is that? I tried disabling Use of Sandbox but no success.

Thanks again magreenblatt you have been a great help :)
saykou
Techie
 
Posts: 23
Joined: Wed May 06, 2015 6:22 am

Re: Build 2171 and newer version using cmake.

Postby saykou » Thu May 14, 2015 9:50 am

I wonder if the problem is this error that appears when compiling libcef_dll_wrapper, although it build successfully....

Code: Select all
cef_string16.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library


saykou wrote:
magreenblatt wrote:
saykou wrote:i just don't understand how can i build libcef_dll_wrapper first.

The other targets (cefclient, cefsimple) depend on the libcef_dll_wrapper target, so libcef_dll_wrapper will be built automatically when you build the other targets.

saykou wrote:Also i don't know which flag should i add to my CEF_COMPILER_FLAGS

Add the C4481 flag, then re-run cmake.


Hi magreenblatt, thanks now libcef_dll_wrapper compiles with success, any ideia why the flag wasn't on the CMakeList.txt ? And what it does?

But still the cefclient and cefsmiple won't compile successfully ... i got this erros

Code: Select all
 error LNK2019: unresolved external symbol _cef_string_utf16_set referenced in function "public: void __thiscall CefWindowInfo::SetAsPopup(struct HWND__ *,class CefStringBase<struct CefStringTraitsUTF16> const &)" (?SetAsPopup@CefWindowInfo@@QAEXPAUHWND__@@ABV?$CefStringBase@UCefStringTraitsUTF16@@@@@Z)
2>simple_app.obj : error LNK2019: unresolved external symbol _cef_get_min_log_level referenced in function "int __cdecl cef::logging::GetMinLogLevel(void)" (?GetMinLogLevel@logging@cef@@YAHXZ)
2>simple_handler.obj : error LNK2001: unresolved external symbol _cef_get_min_log_level
2>simple_handler_win.obj : error LNK2001: unresolved external symbol _cef_get_min_log_level
2>simple_app.obj : error LNK2019: unresolved external symbol _cef_string_utf16_clear referenced in function "public: static void __cdecl CefWindowInfoTraits::clear(struct _cef_window_info_t *)" (?clear@CefWindowInfoTraits@@SAXPAU_cef_window_info_t@@@Z)
2>simple_handler.obj : error LNK2001: unresolved external symbol _cef_string_utf16_clear
2>cefsimple_win.obj : error LNK2001: unresolved external symbol _cef_string_utf16_clear
2>simple_app.obj : error LNK2019: unresolved external symbol _cef_string_utf8_clear referenced in function "public: static class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl CefStringTraitsUTF16::to_string(struct _cef_string_utf16_t const *)" (?to_string@CefStringTraitsUTF16@@SA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PBU_cef_string_utf16_t@@@Z)
2>simple_handler.obj : error LNK2001: unresolved external symbol _cef_string_utf8_clear
2>simple_app.obj : error LNK2019: unresolved external symbol _cef_string_utf16_to_utf8 referenced in function "public: static class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl CefStringTraitsUTF16::to_string(struct _cef_string_utf16_t const *)" (?to_string@CefStringTraitsUTF16@@SA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PBU_cef_string_utf16_t@@@Z)



A lot of LNK2019 and LNK2001 errors ...
which are a lot of unresolved symbols any idea what is that? I tried disabling Use of Sandbox but no success.

Thanks again magreenblatt you have been a great help :)
saykou
Techie
 
Posts: 23
Joined: Wed May 06, 2015 6:22 am

Re: Build 2171 and newer version using cmake.

Postby saykou » Fri May 15, 2015 5:28 am

Now i tried to compile with the same branch with the 32 bit version, and it works. Any idea why?
saykou
Techie
 
Posts: 23
Joined: Wed May 06, 2015 6:22 am

Re: Build 2171 and newer version using cmake.

Postby magreenblatt » Fri May 15, 2015 7:24 am

saykou wrote:Now i tried to compile with the same branch with the 32 bit version, and it works. Any idea why?

Did you select x64 as the active solution platform in Configuration Manager for the 64-bit build?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Build 2171 and newer version using cmake.

Postby saykou » Fri May 15, 2015 7:40 am

magreenblatt wrote:
saykou wrote:Now i tried to compile with the same branch with the 32 bit version, and it works. Any idea why?

Did you select x64 as the active solution platform in Configuration Manager for the 64-bit build?


No, maybe that's the problem. But the kind of errors that prompt did not appear of that nature ... it appeared as link problem.
saykou
Techie
 
Posts: 23
Joined: Wed May 06, 2015 6:22 am

Next

Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 63 guests