roadlabs / cefpython

Automatically exported from code.google.com/p/cefpython
0 stars 0 forks source link

Current HEAD doesn't compile for CEF3 #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Sync current head
2. Change the compile time constants to produce CEF3 bindings
3. Follow the build instructions

What is the expected output? What do you see instead?
Expected: Bindings for CEF3 are generated.
Actual: Some compilation errors related to things that are only available when 
CEF_VERSION==1

What version of the product are you using? On what operating system?
Git revision 82835379a6b2

Please provide any additional information below.
Note that I am not 100% certain that this is the correct fix, but it worked 
good enough for me to get the PySide and wxPython examples to run with latest 
head.

Original issue reported on code.google.com by t.daehl...@googlemail.com on 14 Mar 2013 at 1:06

Attachments:

GoogleCodeExporter commented 9 years ago
Ah, I just noticed that the attached patch also switches the compile time 
constant for CEF_VERSION from 1 to 3, so it might need a small manual 
modification.

Original comment by t.daehl...@googlemail.com on 14 Mar 2013 at 1:08

GoogleCodeExporter commented 9 years ago
Hi Thomas, you are using and outdated version of cefpython, yesterday I've 
merged my private repository I talked about on forum, in revision 34ebd4d0dffe
the CEF 3 compile errors were fixed, see all changes:

https://code.google.com/p/cefpython/source/list

Btw. when you run setup.bat which runs setup.py it generates automatically the
"compile_time_constants.pxi", it should not be edited manually.

I haven't looked at your patch, it is better for you to update to latest 
revision, I think.

Original comment by czarek.t...@gmail.com on 14 Mar 2013 at 1:44

GoogleCodeExporter commented 9 years ago
Btw. I'm going to make to update CEF 3 Chrome to 25.0.1364.68 in a few hours,
await for the commit, I will also prepare a package installer for it, the 
scripts are already done for CEF 3.

Original comment by czarek.t...@gmail.com on 14 Mar 2013 at 1:46

GoogleCodeExporter commented 9 years ago
Here is the RSS feed for cefpython git changes:
https://code.google.com/feeds/p/cefpython/gitchanges/basic

Original comment by czarek.t...@gmail.com on 14 Mar 2013 at 2:02

GoogleCodeExporter commented 9 years ago
I've also updated the Internal Development wiki page yesterday, CEF python won't
compile with Cython 0.18, we need to use 0.17.4, there is also a new section
explaining how to properly compile libcef_dll_wrapper.

Original comment by czarek.t...@gmail.com on 14 Mar 2013 at 2:06

GoogleCodeExporter commented 9 years ago
Right, my bad, I should have checked for more recent versions previously. 
Subscribing to that feed. :-)

Original comment by t.daehl...@googlemail.com on 14 Mar 2013 at 3:18

GoogleCodeExporter commented 9 years ago
I've updated CEF 3 to Chrome 25.0.1364.68, see revision e0f25367c593.
InternalDevelopment wiki page has been updated with instructions on how to 
update CEF. CEF 3 binaries comes now with both package installer & portable zip.

Original comment by czarek.t...@gmail.com on 15 Mar 2013 at 2:58