Hello!
I'm trying to build a cefclient example using a 'cef_binary_3.3440.1805.gbe070f9_windows32' and "MSVC++ 2010 Express"
I got an 'ALL_BUILD.vcxproj' using the 'cmake -G "Visual Studio 10 2010"', and then I'm trying to build an cefclient.
I got the following output:
1>------ Build started: Project: ZERO_CHECK, Configuration: Debug Win32 ------
1> Checking Build System
1> CMake does not need to re-run because D:/soft/VCpp10/VC/projects/test8/CMakeFiles/generate.stamp is up-to-date.
...
1> CMake does not need to re-run because D:/soft/VCpp10/VC/projects/test8/tests/ceftests/CMakeFiles/generate.stamp is up-to-date.
2>------ Build started: Project: libcef_dll_wrapper, Configuration: Debug Win32 ------
2> Building Custom Rule D:/soft/VCpp10/VC/projects/test8/libcef_dll/CMakeLists.txt
2> CMake does not need to re-run because D:/soft/VCpp10/VC/projects/test8/libcef_dll_wrapper/CMakeFiles/generate.stamp is up-to-date.
2> transfer_util.cc
....
2> libcef_dll_wrapper.cc
2> libcef_dll_wrapper2.cc
2>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
2> libcef_dll_wrapper.vcxproj -> D:\soft\VCpp10\VC\projects\test8\libcef_dll_wrapper\Debug\libcef_dll_wrapper.lib
3>------ Build started: Project: cefclient, Configuration: Debug Win32 ------
3> Building Custom Rule D:/soft/VCpp10/VC/projects/test8/tests/cefclient/CMakeLists.txt
3> CMake does not need to re-run because D:/soft/VCpp10/VC/projects/test8/tests/cefclient/CMakeFiles/generate.stamp is up-to-date.
3> binding_test.cc
...
3> window_test.cc
3>browser\server_test.cc(213): error C2220: warning treated as error - no 'object' file generated
3> window_test_runner.cc
3>browser\server_test.cc(213): warning C4355: 'this' : used in base member initializer list
3> client_app_browser.cc
...
3> views_window.cc
3>browser\osr_ime_handler_win.cc(100): error C2059: syntax error : '{'
3>browser\osr_ime_handler_win.cc(100): error C2143: syntax error : missing ';' before '{'
3>browser\osr_ime_handler_win.cc(100): error C2143: syntax error : missing ';' before '}'
3> window_test_runner_views.cc
3> window_test_runner_win.cc
3>browser\root_window_win.cc(7): fatal error C1083: Cannot open include file: 'shellscalingapi.h': No such file or directory
3> main_message_loop_external_pump_win.cc
3> resource_util_win.cc
3> util_win.cc
========== Build: 2 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
So, libcef_dll_wrapper.lib has been created, but cefclient - no.
What i'm doing wrong?
Why i have errors in the 'browser\osr_ime_handler_win.cc' ?
---
OsrImeHandlerWin::OsrImeHandlerWin(HWND hwnd)
: is_composing_(false),
input_language_id_(LANG_USER_DEFAULT),
system_caret_(false),
cursor_index_(-1),
hwnd_(hwnd) {
ime_rect_ = {-1, -1, 0, 0};
}
---
Why error in line ' ime_rect_ = {-1, -1, 0, 0};' ?
Where is a 'shellscalingapi.h' ?
Thanks.