Failed to create solution file .sln (windows)

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.

Failed to create solution file .sln (windows)

Postby gerard989797 » Mon Apr 10, 2017 10:26 am

Hello,
sorry for asking this here but i could not find any help for my problem on

https://bitbucket.org/chromiumembedded/cef/

I downloaded the binary dist for x64 systems, unpacked to a folder, create "build" directory,
opened a cmd window and typed:
cmake -G "Visual Studio 14 Win64"

It creates a folder "libcef_dll_wrapper" with a subfolder "CMakeFiles" both empty.
It also creates a "\CMakeFiles\3.7.2\CompilerIdC" which has a compilerIdC.exe and a .vcxproj
but no .sln file.

The cmake log shows no important errors.

My goal is to get an solution files which is intended to build a minial example demonstrating CEF.

Can anyone give some advice how to accomplish this ?

Thank you

PS: Have VS2013,VS2015 and VS2017 installed.
I would prefer to proceed with VS2017.
gerard989797
Techie
 
Posts: 11
Joined: Sun Apr 09, 2017 5:24 pm

Re: Failed to create solution file .sln (windows)

Postby magreenblatt » Mon Apr 10, 2017 10:49 am

The correct command is (note the dots at the end): cmake -G "Visual Studio 14 Win64" ..
magreenblatt
Site Admin
 
Posts: 12406
Joined: Fri May 29, 2009 6:57 pm

Re: Failed to create solution file .sln (windows)

Postby gerard989797 » Mon Apr 10, 2017 11:12 am

Hello,
thank you for answer.
This command .. fails at all, as it steps up and then execute and so can't find "CMakeLists.txt"

Meanwhile i downloaded the normal binary distribution, so not the minimal and this created the solution file.
Also building the debug 64 solution completed without any errors. (Visual Studio 2015).

As i just want to evaluate CEF for me, i can't further investigate why the minimal distribution failed.

Location for download:
http://opensource.spotify.com/cefbuilds/index.html
Standard distribution
cef_binary_3.2987.1601.gf035232_windows64.tar.bz2

Unzip to anyfolder. In the root of this folder open cmd window.
Type
cmake -G "Visual Studio 14 Win64"
for Visual Studio 2015 and
cmake -G "Visual Studio 15 Win64"
for Visual Studio 2017
open cef.sln in VS and build
In VS 2017 you get unresolved externals in ceftest, at leat DEBUG 64.
Last edited by gerard989797 on Mon Apr 10, 2017 11:27 am, edited 1 time in total.
gerard989797
Techie
 
Posts: 11
Joined: Sun Apr 09, 2017 5:24 pm

Re: Failed to create solution file .sln (windows)

Postby magreenblatt » Mon Apr 10, 2017 11:16 am

The minimal distribution is not intended to build as a standalone project.
magreenblatt
Site Admin
 
Posts: 12406
Joined: Fri May 29, 2009 6:57 pm

Re: Failed to create solution file .sln (windows)

Postby gerard989797 » Mon Apr 10, 2017 11:28 am

Ok, thank you. I misunderstood this.
gerard989797
Techie
 
Posts: 11
Joined: Sun Apr 09, 2017 5:24 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 35 guests