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!

Re: Build 2171 and newer version using cmake.

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

saykou wrote:
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.

Selecting the wrong architecture is a link problem -- the symbols won't match.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Build 2171 and newer version using cmake.

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

magreenblatt wrote:
saykou wrote:
magreenblatt wrote: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.

Selecting the wrong architecture is a link problem -- the symbols won't match.

Actually, you need to specify a different cmake target when creating a 64-bit build on Windows. See the CMakeLists.txt file:
> cmake -G "Visual Studio 12 Win64" ..
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Build 2171 and newer version using cmake.

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

> cmake -G "Visual Studio 12 Win64" ..


THanks Magreen, that was really helpful.
saykou
Techie
 
Posts: 23
Joined: Wed May 06, 2015 6:22 am

Previous

Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 2 guests