Problem with build jcef in Ubuntu 14.04 64b

Having problems with building or using the JCEF Java binding? Ask your questions here.

Problem with build jcef in Ubuntu 14.04 64b

Postby raker » Thu Oct 30, 2014 4:28 am

Hi,
I have problem with building jcef.
I tried with different binaries from cefbuilds.com

Generally receive two errors (depend on binaries version).

LINK(target) out/Release/jcef_helper
/usr/bin/ld: unrecognized option '--threads'
/usr/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status

OR

In file included from third_party/cef/linux64/include/cef_app.h:42:0,
from native/jcef_helper.cpp:7:
third_party/cef/linux64/include/cef_base.h:178:5: error: ‘Lock’ in namespace ‘base’ does not name a type
base::Lock lock_;
^
native/jcef_helper.cpp:151:3: note: in expansion of macro ‘IMPLEMENT_LOCKING’
IMPLEMENT_LOCKING(CefHelperApp);
^
native/jcef_helper.cpp: In member function ‘void {anonymous}::CefHelperApp::Lock()’:
third_party/cef/linux64/include/cef_base.h:175:19: error: ‘lock_’ was not declared in this scope
void Lock() { lock_.Acquire(); } \
^
native/jcef_helper.cpp:151:3: note: in expansion of macro ‘IMPLEMENT_LOCKING’
IMPLEMENT_LOCKING(CefHelperApp);
^
native/jcef_helper.cpp: In member function ‘void {anonymous}::CefHelperApp::Unlock()’:
third_party/cef/linux64/include/cef_base.h:176:21: error: ‘lock_’ was not declared in this scope
void Unlock() { lock_.Release(); } \
^
native/jcef_helper.cpp:151:3: note: in expansion of macro ‘IMPLEMENT_LOCKING’
IMPLEMENT_LOCKING(CefHelperApp);
^


Thanks for advice how to solve that.
raker
Techie
 
Posts: 14
Joined: Fri Jul 12, 2013 6:18 am

Re: Problem with build jcef in Ubuntu 14.04 64b

Postby magreenblatt » Thu Oct 30, 2014 1:07 pm

magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm


Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 26 guests