Page 1 of 1

Mac 64 bit binaries not generated on branch : 2987

PostPosted: Mon Mar 20, 2017 12:47 am
by swatisrivastava
Cef Branch : 2987
Mac machine: 10.11.6

I tried to take a pull from above mentioned branch, Checkout is perfect but when i try to generate binary distribution files then only 32 bit files get generated and that too is not complete.

How I generate binary distribution files
$ export GYP_DEFINES=proprietary_codecs=1 ffmpeg_branding=Chrome
$ python /path/automate/automate-git.py --download-dir=/path/download --brach=2987 --x64-build --force-config --force-build
$ cd /path/chromium/src/cef/tools

Errors:

Traceback (most recent call last):
File "make_distrib.py", Line 468, in <module>
raise exception ('Missing generated header file: %s' %include)
Exception : Missing generated header file: cf_pack_resources.h


web_contets_impl.cc
Line: 2119, 5004

web_contets_impl.cc
Line: 91

Any help is appreciated

Re: Mac 64 bit binaries not generated on branch : 2987

PostPosted: Mon Mar 20, 2017 10:21 am
by magreenblatt
What Xcode version do you have installed? What is the compete error output?

Re: Mac 64 bit binaries not generated on branch : 2987

PostPosted: Tue Mar 28, 2017 3:55 am
by swatisrivastava
Finally after 5-6 attempts I tried
$ export GYP_DEFINES=proprietary_codecs=1 ffmpeg_branding=Chrome
$ python /Users/imfinity/Documents/CEF_20March/automate/automate-git.py --download-dir /Users/imfinity/Documents/CEF_20March/download --branch=2987 --x64-build --force-config

and it was a success. 64 bit binaries were generated.

Xcode : 8.2
OSX : 10.11.6

But now the compilation error pops up

Undefined symbols for architecture x86_64:
"client::ClientAppRenderer::CreateDelegates(std::__1::set<scoped_refptr<client::ClientAppRenderer::Delegate>, std::__1::less<scoped_refptr<client::ClientAppRenderer::Delegate> >, std::__1::allocator<scoped_refptr<client::ClientAppRenderer::Delegate> > >&)", referenced from:
client::ClientAppRenderer::ClientAppRenderer() in client_app_renderer.o
"client::ClientApp::RegisterCustomSchemes(CefSchemeRegistrar*, std::__1::vector<CefStringBase<CefStringTraitsUTF16>, std::__1::allocator<CefStringBase<CefStringTraitsUTF16> > >&)", referenced from:
client::ClientApp::OnRegisterCustomSchemes(CefSchemeRegistrar*) in client_app.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)


Any help is appreciated

Re: Mac 64 bit binaries not generated on branch : 2987

PostPosted: Tue Mar 28, 2017 11:35 am
by magreenblatt

Re: Mac 64 bit binaries not generated on branch : 2987

PostPosted: Wed Mar 29, 2017 5:12 am
by swatisrivastava
I tried with both Xcode 7.2 and 8.2

Re: Mac 64 bit binaries not generated on branch : 2987

PostPosted: Wed Mar 29, 2017 6:24 am
by amaitland
Did you try with 7.3.1 as listed in the requirements?

Re: Mac 64 bit binaries not generated on branch : 2987

PostPosted: Wed Mar 29, 2017 7:38 am
by swatisrivastava
Already tried with base sdk : 10.10
and xcode 7.3