Can I making an solution file with CMake from CEF src

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.

Can I making an solution file with CMake from CEF src

Postby mung » Fri Dec 22, 2017 12:52 am

Hi ~ :)

I want to make solution file from old version CEF Source.

I tried 'Automated Method' https://bitbucket.org/chromiumembedded/cef/wiki/BranchesAndBuilding.md#markdown-header-automated-method and 'Manual Building' https://bitbucket.org/chromiumembedded/cef/wiki/BranchesAndBuilding.md#markdown-header-manual-Building

Do I have to install Visual Studio VS2017 15.3.2+, Win10.0.15063.468 SDK and Ninja, for make solution file from old version CEF Source?
https://bitbucket.org/chromiumembedded/cef/wiki/MasterBuildQuickStart

I'm using visual studio VS2013 u5 with CEF 3071.

If I download CEF source old version in "http://opensource.spotify.com/cefbuilds/index.html", can I make solution file with CMake program?

thank you :)
mung
Mentor
 
Posts: 58
Joined: Wed Jan 04, 2017 12:20 am

Re: Can I making an solution file with CMake from CEF src

Postby magreenblatt » Fri Dec 22, 2017 12:51 pm

You can create a solution file from the CMake configuration included with the binary distribution. See the included README.txt file for instructions.
magreenblatt
Site Admin
 
Posts: 12384
Joined: Fri May 29, 2009 6:57 pm

Re: Can I making an solution file with CMake from CEF src

Postby mung » Tue Dec 26, 2017 7:56 pm

magreenblatt wrote:You can create a solution file from the CMake configuration included with the binary distribution. See the included README.txt file for instructions.


I tried CMake generate. However, I got this error.
I want to build cef_dll. I don't want to build "cef sample" build.
Attachments
error_cmake.jpg
error_cmake
error_cmake.jpg (120.05 KiB) Viewed 7503 times
mung
Mentor
 
Posts: 58
Joined: Wed Jan 04, 2017 12:20 am

Re: Can I making an solution file with CMake from CEF src

Postby mung » Tue Dec 26, 2017 11:18 pm

magreenblatt wrote:You can create a solution file from the CMake configuration included with the binary distribution. See the included README.txt file for instructions.


another error
Attachments
cmake_error_1.jpg
error_1
cmake_error_1.jpg (179.1 KiB) Viewed 7497 times
mung
Mentor
 
Posts: 58
Joined: Wed Jan 04, 2017 12:20 am

Re: Can I making an solution file with CMake from CEF src

Postby magreenblatt » Wed Dec 27, 2017 3:02 pm

If you want to build CEF/Chromium from source code you should follow the instructions from https://bitbucket.org/chromiumembedded/ ... uilding.md and install the required developer tool versions.
magreenblatt
Site Admin
 
Posts: 12384
Joined: Fri May 29, 2009 6:57 pm

Re: Can I making an solution file with CMake from CEF src

Postby mung » Tue Jan 02, 2018 7:50 pm

magreenblatt wrote:If you want to build CEF/Chromium from source code you should follow the instructions from https://bitbucket.org/chromiumembedded/ ... uilding.md and install the required developer tool versions.


Yes, I installed win10.sdk, vs2015u5.
And I executed ("python C:\code\automate\automate-git.py --download-dir=C:\code/download --x64-build --branch=3071") this command.

However, I got this error.
error.jpg
error1
error.jpg (428.04 KiB) Viewed 7423 times


I was set environment value and path.
path.jpg
env path
path.jpg (20.05 KiB) Viewed 7423 times
envvalue.jpg
env value
envvalue.jpg (23.68 KiB) Viewed 7423 times


Also, I tried executing create.bat.

Code: Select all
set CEF_USE_GN=1
set GYP_DEFINES=target_arch=x64
set GN_DEFINES=is_win_fastlink=true
set GN_ARGUMENTS=--ide=vs2015 --sln=cef --filters=//cef/*
call cef_create_projects.bat


What should I check?
Please, give me advice.

Thank you :)
mung
Mentor
 
Posts: 58
Joined: Wed Jan 04, 2017 12:20 am

Re: Can I making an solution file with CMake from CEF src

Postby mung » Wed Jan 03, 2018 1:02 am

magreenblatt wrote:If you want to build CEF/Chromium from source code you should follow the instructions from https://bitbucket.org/chromiumembedded/ ... uilding.md and install the required developer tool versions.



I solved the problem.

I set "Windows Configuration" part in this url.
https://bitbucket.org/chromiumembedded/cef/wiki/AutomatedBuildSetup.md

And, It needs files (vccorlib140d.dll ... ) for making cef.sln file.
So, I installed visual studio 2017.

Finally, I got the cef solution file.

I don't understand, why do I have to install vs2017.
cef3071 version needs vs2015.

And, I will try to ninja build.

I hope ninja build process well.

Thank you. :)
mung
Mentor
 
Posts: 58
Joined: Wed Jan 04, 2017 12:20 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 46 guests