Having trouble compiling on windows 10

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.

Having trouble compiling on windows 10

Postby kareed » Fri Mar 03, 2017 2:24 am

Hi
I am trying to compile with windows 10 and I have visual studio 15 installed.

I try the following command and get this response.

Code: Select all
C:\temp\java-cef\jcef_build>cmake -G "Visual Studio 14 Win64" ..
CMake Error: Could not create named generator Visual Studio 14 Win64

Generators
  Unix Makefiles               = Generates standard UNIX makefiles.
  Ninja                        = Generates build.ninja files.
  CodeBlocks - Ninja           = Generates CodeBlocks project files.
  CodeBlocks - Unix Makefiles  = Generates CodeBlocks project files.
  CodeLite - Ninja             = Generates CodeLite project files.
  CodeLite - Unix Makefiles    = Generates CodeLite project files.
  Eclipse CDT4 - Ninja         = Generates Eclipse CDT 4.0 project files.
  Eclipse CDT4 - Unix Makefiles= Generates Eclipse CDT 4.0 project files.
  KDevelop3                    = Generates KDevelop 3 project files.
  KDevelop3 - Unix Makefiles   = Generates KDevelop 3 project files.
  Kate - Ninja                 = Generates Kate project files.
  Kate - Unix Makefiles        = Generates Kate project files.
  Sublime Text 2 - Ninja       = Generates Sublime Text 2 project files.
  Sublime Text 2 - Unix Makefiles
                               = Generates Sublime Text 2 project files.


C:\temp\java-cef\jcef_build>


Any help would be greatly appreciated.
Thanks
Last edited by kareed on Fri Mar 03, 2017 1:58 pm, edited 1 time in total.
kareed
Newbie
 
Posts: 6
Joined: Fri Mar 03, 2017 2:14 am

Re: Having troubel compiling on windows 10

Postby magreenblatt » Fri Mar 03, 2017 11:39 am

What version of CMake did you install? Where did you get it from? You should download/install the "Latest Release" Windows installer from https://cmake.org/download/
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Having trouble compiling on windows 10

Postby kareed » Fri Mar 03, 2017 2:07 pm

Thanks, that fixed the problem. I had cygwin on my machine and it was using it.
kareed
Newbie
 
Posts: 6
Joined: Fri Mar 03, 2017 2:14 am


Return to Support Forum

Who is online

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