I try to compile again.

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

I try to compile again.

Postby david505 » Thu Jan 29, 2015 10:55 pm

first, when I compile again I met complie error "not found winapifamily.h"

I try to solve this problem by myself, I install win sdk 8.1 and include project path "C:\Program Files (x86)\Windows Kits\8.1\Include\shared"

and then, I success to solve the problem. but, I crash error again.

I think this problem is link error.

following error output :

.
.
.
CefDownloadItem_N.cpp
message_router_handler.cpp
client_handler.cpp
keyboard_handler.cpp
geolocation_handler.cpp
CefGeolocationCallback_N.cpp
CefPostDataElement_N.cpp
jsdialog_handler.cpp
scheme_handler_factory.cpp
jni_util.cpp
web_plugin_unstable_callback.cpp
download_handler.cpp
write_handler.cpp
drag_handler.cpp
url_request_client.cpp
Link:
Creating library .\build\..\out\win64\Release\lib\jcef.lib and object .\build\..\out\win64\Release\lib\jcef.exp
url_request_client.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl URLRequestClient::GetAuthCredentials(bool,class CefStringBase<struct CefStringTraitsUTF16> const &,int,class CefStringBase<struct CefStringTraitsUTF16> const &,class CefStringBase<struct CefStringTraitsUTF16> const &,class CefRefPtr<class CefAuthCallback>)" (?GetAuthCredentials@URLRequestClient@@UEAA_N_NAEBV?$CefStringBase@UCefStringTraitsUTF16@@@@H11V?$CefRefPtr@VCefAuthCallback@@@@@Z)

.\build\..\out\win64\Release\jcef.dll : fatal error LNK1120: 1 unresolved externals

Build FAILED.

Time Elapsed 00:00:10.15
========== Build: 1 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========


this problem over in my solving ability.

why happen this problem. help me.. :(
david505
Newbie
 
Posts: 9
Joined: Fri Jan 16, 2015 1:28 pm

Re: I try to compile again.

Postby david505 » Sat Jan 31, 2015 7:51 pm

this problem was cause by header file.

header file was defined function, nevertheless function implementation was not in .cpp file.

why was not there?? I don't know reason..

anyway I found function implementation( GetAuthCredentials function ).

here. https://code.google.com/p/javachromiumembedded/source/browse/trunk/src/native/url_request_client.cpp?r=66

I add source code

and then I sucess to compile!!!
david505
Newbie
 
Posts: 9
Joined: Fri Jan 16, 2015 1:28 pm


Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 26 guests