can't compile jcef on windows

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

can't compile jcef on windows

Postby stefanonafets » Fri Aug 12, 2016 12:18 pm

Hello,
I'm new to CEF world, we are trying to test it on a java project.
Following the guideline, i've checked out the project from repository, created a build directory and into it runned
Code: Select all
cmake -G "Visual Studio 14 Win64" ..

the cmake procedure exit with the following error message:
-- Generating native/jcef_version.h file...
CMake Error at CMakeLists.txt:233 (message):
Execution failed with unexpected result: Impossibile trovare il file
specificato (<--- translation is "can not find specified file or directory")


-- Configuring incomplete, errors occurred!
See also "C:/Users/Giovanna/test/src/jcef_build/CMakeFiles/CMakeOutput.log".


I didn't find any clue on what is missing in CMakeOutput.log ....
Can you help me?

Thanks,
Stefano
stefanonafets
Newbie
 
Posts: 8
Joined: Fri Aug 12, 2016 12:07 pm

Re: can't compile jcef on windows

Postby magreenblatt » Fri Aug 12, 2016 12:30 pm

magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: can't compile jcef on windows

Postby stefanonafets » Fri Aug 12, 2016 6:26 pm

Thank you,

after setting PYTHON_EXECUTABLE variable i have the following error in Python script:

Code: Select all
C:\Users\Giovanna\test\src\jcef_build>cmake -G "Visual Studio 14 Win64" ..
-- Generating native/jcef_version.h file...
Traceback (most recent call last):
  File "tools/make_version_header.py", line 6, in <module>
    from file_util import *
  File "C:\Users\Giovanna\test\src\tools\file_util.py", line 21
    except IOError, (errno, strerror):
                  ^
SyntaxError: invalid syntax
CMake Error at CMakeLists.txt:233 (message):
  Execution failed with unexpected result: 1


-- Configuring incomplete, errors occurred!
See also "C:/Users/Giovanna/test/src/jcef_build/CMakeFiles/CMakeOutput.log".

C:\Users\Giovanna\test\src\jcef_build>


I didn't undrestand the meaning of this comment in the linked post:

You need to download the JCEF source code using Git. See https://bitbucket.org/chromiumembedded/ ... uilding.md for instructions.


that's the guide i'm following, i have uset git to download the source...

thanks!
stefanonafets
Newbie
 
Posts: 8
Joined: Fri Aug 12, 2016 12:07 pm

Re: can't compile jcef on windows

Postby magreenblatt » Sat Aug 13, 2016 4:22 am

What version of Python did you install? 2.6 or newer in the 2.x series is required.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: can't compile jcef on windows

Postby stefanonafets » Sat Aug 13, 2016 7:45 am

compiled! many thanks, downgraded python and worked like a charm...
Now i'm stuck on webgl support, investigating how to make it work, but it's another story

thanks again,
Stefano
stefanonafets
Newbie
 
Posts: 8
Joined: Fri Aug 12, 2016 12:07 pm

Re: can't compile jcef on windows

Postby minteliu » Mon Aug 29, 2016 9:05 pm

stefanonafets wrote:compiled! many thanks, downgraded python and worked like a charm...
Now i'm stuck on webgl support, investigating how to make it work, but it's another story

thanks again,
Stefano


Can you tell me how to solve it? I have the same problem now..
minteliu
Newbie
 
Posts: 9
Joined: Tue Jul 26, 2016 8:34 pm

Re: can't compile jcef on windows

Postby magreenblatt » Tue Aug 30, 2016 3:29 am

minteliu wrote:
stefanonafets wrote:compiled! many thanks, downgraded python and worked like a charm...
Now i'm stuck on webgl support, investigating how to make it work, but it's another story

thanks again,
Stefano


Can you tell me how to solve it? I have the same problem now..

Please don't ask the same question in multiple places. You already asked in viewtopic.php?f=6&t=14465.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm


Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 21 guests