Issues in building JCEF on Windows 8.

Having problems with building or using the JCEF Java binding? Ask your questions here.

Issues in building JCEF on Windows 8.

Postby roburtbuckjcef » Wed Dec 30, 2015 1:23 am

Hello Experts,

I am trying to build JCEF on windows-8 and facing some issues.
I downloaded the CEF binaries as per the version (3.2454.1344.g2782fb8) mentioned in "README.jcef" and extracted the zip into "C:\java-cef\third_party\cef\win64". The zip "cef_binary_3.2454.1344.g2782fb8_windows64_release_symbols.7z" contained only one file though (libcef.dll.pdb).
Installed VC 2013, JDK 1.7 and PY-2.7

At first it complained about no "README.txt" in the win64 folder, which I created manually. Cleaned jcef_build dir and did again the step 1 ( "cmake -G "Visual Studio 12 Win64" ..")
now it is complaining about some KeyError: 'CEF_MAJOR'

Here is the output of the command.
Code: Select all

C:\java-cef\jcef_build>C:\cmake-3.4.1\bin\cmake.exe -G "Visual Studio 12 Win64" ..
-- The C compiler identification is MSVC 18.0.40629.0
-- The CXX compiler identification is MSVC 18.0.40629.0
-- Check for working C compiler using: Visual Studio 12 2013 Win64
-- Check for working C compiler using: Visual Studio 12 2013 Win64 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Visual Studio 12 2013 Win64
-- Check for working CXX compiler using: Visual Studio 12 2013 Win64 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: C:/Python27/python.exe (found version "2.7")
-- Found JNI: C:/jdk1.7.0_80/lib/jawt.lib (Required is at least version "1.7")
-- Generating native/jcef_version.h file...
Traceback (most recent call last):
  File "tools/make_version_header.py", line 117, in <module>
    written = write_svn_header(options.header)
  File "tools/make_version_header.py", line 65, in write_svn_header
    version = '%s.%s.%s.g%s' % (args['CEF_MAJOR'], args['CEF_BUILD'], commit_number, commit_hash[:7])
KeyError: 'CEF_MAJOR'
CMake Error at CMakeLists.txt:571 (message):
  Execution failed with unexpected result: 1


-- Configuring incomplete, errors occurred!
See also "C:/java-cef/jcef_build/CMakeFiles/CMakeOutput.log".



Please suggest if I am missing something.

Thanks in advance.
Roburt
roburtbuckjcef
Newbie
 
Posts: 1
Joined: Wed Dec 30, 2015 1:08 am

Re: Issues in building JCEF on Windows 8.

Postby magreenblatt » Wed Dec 30, 2015 1:45 pm

roburtbuckjcef wrote:At first it complained about no "README.txt" in the win64 folder

This means you didn't set up the directory structure correctly. You should have C:\path\to\java-cef\src\third_party\cef\win64\cefclient folder, etc.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 24 guests