windows x64 cmake configuration requires manual fixes?

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.

windows x64 cmake configuration requires manual fixes?

Postby theGoat » Mon May 23, 2016 8:31 am

Experimenting with Widnows 64bit CEF 3.2623.1401.gb90a3be - Chromium 49.0.2623.110 from cefbuild.com

The visual studio projects cmake generates for me don't work without many manual fixes. Such as:
  • set machine type to X86 => x64 for all projects
  • correct libcef_dll_wrapper.lib include paths for cefclient & cefsimple
  • fix cefclient & cefsimple output directories to agree with apply manifest custom build step
  • remove references to wow_helper.exe

Are these known issues or am I using cmake wrong?
theGoat
Techie
 
Posts: 20
Joined: Tue Dec 10, 2013 8:54 am

Re: windows x64 cmake configuration requires manual fixes?

Postby theGoat » Mon May 23, 2016 9:47 am

Okay, rookie mistake. I needed to explicitly select a "generator" with Win64 suffix when configuring cmake.

My build gets a lot farther. The libcef_dll_wrapper project builds successfully now.

But cefclient & cefsimple fail with cef_sandbox.lib errors. . .

Code: Select all
1>cef_sandbox.lib(base.file_version_info_win.obj) : error LNK2001: unresolved external symbol GetFileVersionInfoW
1>cef_sandbox.lib(base.file_version_info_win.obj) : error LNK2001: unresolved external symbol VerQueryValueW
1>cef_sandbox.lib(base.file_version_info_win.obj) : error LNK2001: unresolved external symbol GetFileVersionInfoSizeW
theGoat
Techie
 
Posts: 20
Joined: Tue Dec 10, 2013 8:54 am

Re: windows x64 cmake configuration requires manual fixes?

Postby theGoat » Mon May 23, 2016 10:44 am

FYI: The cef_sandbox.lib errors were resolved once I configured the cmake "generator" to target visual studio 2015 Win64 instead of 2013 Win64.
theGoat
Techie
 
Posts: 20
Joined: Tue Dec 10, 2013 8:54 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 86 guests