Xcode Link Errors with libcef_dll_wrapper

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.

Xcode Link Errors with libcef_dll_wrapper

Postby JosephOfNazareth » Mon Jan 14, 2013 3:45 pm

I updated my cefclient originally built from the cef_binary_3.1180.719 code base to use cef_binary_3.1339.949. I'm receiving the following link errors in files that I did not touch that I'm unclear about. Any ideas where the problem might lie?

Thanks.

Undefined symbols for architecture i386:
"_cef_add_web_plugin_directory", referenced from:
CefAddWebPluginDirectory(CefStringBase<CefStringTraitsUTF16> const&) in libcef_dll_wrapper.a(libcef_dll_wrapper.o)
"_cef_add_web_plugin_path", referenced from:
CefAddWebPluginPath(CefStringBase<CefStringTraitsUTF16> const&) in libcef_dll_wrapper.a(libcef_dll_wrapper.o)
"_cef_begin_tracing", referenced from:
CefBeginTracing(CefRefPtr<CefTraceClient>, CefStringBase<CefStringTraitsUTF16> const&) in libcef_dll_wrapper.a(libcef_dll_wrapper.o)
"_cef_end_tracing_async", referenced from:
CefEndTracingAsync() in libcef_dll_wrapper.a(libcef_dll_wrapper.o)
"_cef_force_web_plugin_shutdown", referenced from:
CefForceWebPluginShutdown(CefStringBase<CefStringTraitsUTF16> const&) in libcef_dll_wrapper.a(libcef_dll_wrapper.o)
"_cef_get_geolocation", referenced from:
CefGetGeolocation(CefRefPtr<CefGetGeolocationCallback>) in libcef_dll_wrapper.a(libcef_dll_wrapper.o)
"_cef_get_trace_buffer_percent_full_async", referenced from:
CefGetTraceBufferPercentFullAsync() in libcef_dll_wrapper.a(libcef_dll_wrapper.o)
"_cef_is_web_plugin_unstable", referenced from:
CefIsWebPluginUnstable(CefStringBase<CefStringTraitsUTF16> const&, CefRefPtr<CefWebPluginUnstableCallback>) in libcef_dll_wrapper.a(libcef_dll_wrapper.o)
"_cef_refresh_web_plugins", referenced from:
CefRefreshWebPlugins() in libcef_dll_wrapper.a(libcef_dll_wrapper.o)
"_cef_register_web_plugin_crash", referenced from:
CefRegisterWebPluginCrash(CefStringBase<CefStringTraitsUTF16> const&) in libcef_dll_wrapper.a(libcef_dll_wrapper.o)
"_cef_remove_web_plugin_path", referenced from:
CefRemoveWebPluginPath(CefStringBase<CefStringTraitsUTF16> const&) in libcef_dll_wrapper.a(libcef_dll_wrapper.o)
"_cef_unregister_internal_web_plugin", referenced from:
CefUnregisterInternalWebPlugin(CefStringBase<CefStringTraitsUTF16> const&) in libcef_dll_wrapper.a(libcef_dll_wrapper.o)
"_cef_v8stack_trace_get_current", referenced from:
CefV8StackTrace::GetCurrent(int) in libcef_dll_wrapper.a(v8stack_trace_ctocpp.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
JosephOfNazareth
Techie
 
Posts: 10
Joined: Wed Oct 17, 2012 8:17 pm

Re: Xcode Link Errors with libcef_dll_wrapper

Postby magreenblatt » Mon Jan 14, 2013 3:52 pm

Did you rebuild libcef_dll_wrapper at the new revision? Are you linking the correct version of the library? You might also need to do a clean build.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Xcode Link Errors with libcef_dll_wrapper

Postby JosephOfNazareth » Mon Jan 14, 2013 4:46 pm

I'm using the xcode project file contained in cef_binary_3.1339.949 with my merged cefclient source code. I've cleaned multiple times to no avail. I'm manually going through the xcode project file looking for any invalid path to a library but I haven't found any yet.
JosephOfNazareth
Techie
 
Posts: 10
Joined: Wed Oct 17, 2012 8:17 pm

Re: Xcode Link Errors with libcef_dll_wrapper

Postby magreenblatt » Mon Jan 14, 2013 4:50 pm

What version of Xcode and what version of OS-X are you using? Does cef_binary_3.1339.949 build if you don't make any local changes (other than specifying the correct compiler if necessary)?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Xcode Link Errors with libcef_dll_wrapper

Postby JosephOfNazareth » Mon Jan 14, 2013 4:54 pm

Xcode 4.5.2

MacOS 10.8.2

Clean cef_binary_3.1339.949 out-of-the-box build.
JosephOfNazareth
Techie
 
Posts: 10
Joined: Wed Oct 17, 2012 8:17 pm

Re: Xcode Link Errors with libcef_dll_wrapper

Postby JosephOfNazareth » Mon Jan 14, 2013 5:02 pm

Found my bad file, probably stemmed from a recent botched Git action. Thanks.
JosephOfNazareth
Techie
 
Posts: 10
Joined: Wed Oct 17, 2012 8:17 pm


Return to Support Forum

Who is online

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