Cannot build 1750 with GYP

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.

Cannot build 1750 with GYP

Postby JeffryBooher » Mon Apr 14, 2014 7:20 pm

Hi,
I'm having a problem using GYP to build our XCodeProject file.

I migrated brackets-shell.gyp to use the CEF framework instead of the DyLib and I get two errors by diffing the two versions of the gyp that ships with cef
: https://github.com/JeffryBooher/Stuff/c ... 0?expand=1 and migrating the changes over to our gyp file https://github.com/adobe/brackets-shell ... f/cef_1750

The first problem is that xode thinks that the cef.framework is a text file. This causes several link errors as many symbols cannot be resolved.
building cefclient and cefsimple built ok (except that the 32 bit version of the library contains a 64 bit project that had to be converted to 32 bit)

The second error I get is a linker errror (treat warnings as errors):

ld warning directory not found for option -LDefault/Chromium
ld warning directory not found for option -LEmbedded
ld warning directory not found for option -LFramework

So I tried GYPing the cefclient.gyp that I downloaded from cefbuilds.com

bash -c 'gyp cefclient.gyp --dept=.'

I opened the generated cefclient.xcodeproj and building after that and got:

ld warning directory not found for option -LDefault/Chromium
ld warning directory not found for option -LEmbedded
ld warning directory not found for option -LFramework

Any ideas? Is there a specific GYP that is needed? We're standing around scratching our heads and can't quite figure this one out.

Thanks,

Jeff Booher
Adobe Systems
JeffryBooher
Techie
 
Posts: 10
Joined: Wed Jun 19, 2013 4:17 pm

Re: Cannot build 1750 with GYP

Postby magreenblatt » Tue Apr 15, 2014 10:40 am

When creating a binary distribution CEF post-processes the Xcode files generated by GYP. See https://code.google.com/p/chromiumembed ... rib.py#217.
magreenblatt
Site Admin
 
Posts: 12402
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

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