Linker error

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.

Linker error

Postby ntthuan » Sun Nov 16, 2014 8:13 am

Dear all,
I add simple file index.h and index.c into cefclient (extract from cef_binary_3.1750.1738_macosx64.7z); when I try to use a simple variable from index.h, index.c. I got error "(null): Linker command failed with exit code 1 (use -v to see invocation)". I use xcode 5.1.
Please see attached image.



Thank you,
Best regards,
Dennis Ritchie
Attachments
Screen Shot 2014-11-16 at 8.12.19 PM.png
Screen Shot 2014-11-16 at 8.12.19 PM.png (285.74 KiB) Viewed 3125 times
ntthuan
Newbie
 
Posts: 5
Joined: Sun Nov 16, 2014 7:11 am

Re: Linker error

Postby magreenblatt » Mon Nov 17, 2014 11:53 am

CEF on Mac builds multiple targets ("cefclient", "cefclient Helper", etc). Make sure you add the files to the correct target.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Linker error

Postby ntthuan » Tue Nov 18, 2014 3:39 am

I checked the target I want. It is still be error.
ntthuan
Newbie
 
Posts: 5
Joined: Sun Nov 16, 2014 7:11 am


Return to Support Forum

Who is online

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