Compile Client Problem 'undefined reference to' (Webview Problem)

Message boards : Questions and problems : Compile Client Problem 'undefined reference to' (Webview Problem)
Message board moderation

To post messages, you must log in.

AuthorMessage
Kangning

Send message
Joined: 7 Sep 17
Posts: 20
Germany
Message 83644 - Posted: 6 Dec 2017, 17:58:17 UTC

Hello guys,
I'm trying to compile the Boinc client, but when I 'make' the source code, The compiler always complains about this.
I'm sure i have '--enable-webview' and '-enable-webviewwebkit' when i install wxWidgets.
Is there anyone has an idea about this?



boincmgr-DlgItemProperties.o: In function `CDlgItemProperties::CDlgItemProperties(wxWindow*)':
DlgItemProperties.cpp:(.text+0x2d66): undefined reference to `wxWebViewNameStr'
DlgItemProperties.cpp:(.text+0x2da9): undefined reference to `wxWebViewBackendDefault'
DlgItemProperties.cpp:(.text+0x2dba): undefined reference to `wxWebViewDefaultURLStr'
DlgItemProperties.cpp:(.text+0x2df2): undefined reference to `wxWebView::New(wxWindow*, int, wxString const&, wxPoint const&, wxSize const&, wxString const&, long, wxString const&)'


Thanks for your help
ID: 83644 · Report as offensive     Reply Quote
Profile Ageless
Volunteer moderator
Project administrator
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 12315
Netherlands
Message 83648 - Posted: 6 Dec 2017, 18:47:07 UTC - in response to Message 83644.  

I'm trying to compile the Boinc client
Under what? Windows, Linux, other?
Did you start at https://boinc.berkeley.edu/trac/wiki/CompileClient?
Jord
Please do not private message me for tech support. Use the forums for that. Tech PMs will be ignored.

I'm only partially available, until further notice.
ID: 83648 · Report as offensive     Reply Quote
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 713
Finland
Message 83649 - Posted: 6 Dec 2017, 19:43:37 UTC - in response to Message 83644.  

Are you sure you don't have WebView-less wxWidgets lurking somewhere?
ID: 83649 · Report as offensive     Reply Quote
Kangning

Send message
Joined: 7 Sep 17
Posts: 20
Germany
Message 83667 - Posted: 7 Dec 2017, 9:21:36 UTC - in response to Message 83648.  

Under Linux ubuntu 16.04, I have also tried with Debian stretch, the problems are same, always undefined refined reference to webView related widget.

under /usr/local/lib I could find the libwx_gtk2_webview-3.1.a
but when I use wx-config --libs to typ all the wx libraries, there is no libwx_gtk2_webview-3.1.a.
with wx-config --libs web, the libwx_gtk2_webview-3.1.a is printed.
ID: 83667 · Report as offensive     Reply Quote
Kangning

Send message
Joined: 7 Sep 17
Posts: 20
Germany
Message 83668 - Posted: 7 Dec 2017, 9:22:09 UTC - in response to Message 83648.  

I'm trying to compile the Boinc client
Under what? Windows, Linux, other?
Did you start at https://boinc.berkeley.edu/trac/wiki/CompileClient?




Under Linux ubuntu 16.04, I have also tried with Debian stretch, the problems are same, always undefined refined reference to webView related widget.

under /usr/local/lib I could find the libwx_gtk2_webview-3.1.a
but when I use wx-config --libs to typ all the wx libraries, there is no libwx_gtk2_webview-3.1.a.
with wx-config --libs web, the libwx_gtk2_webview-3.1.a is printed.
ID: 83668 · Report as offensive     Reply Quote
Kangning

Send message
Joined: 7 Sep 17
Posts: 20
Germany
Message 83669 - Posted: 7 Dec 2017, 9:23:45 UTC - in response to Message 83649.  

Are you sure you don't have WebView-less wxWidgets lurking somewhere?



can you give me some hint or tips about how i should link the WebView-less wxWidgets?

My process now is:

under /usr/local/lib I could find the libwx_gtk2_webview-3.1.a
but when I use wx-config --libs to typ all the wx libraries, there is no libwx_gtk2_webview-3.1.a.
with wx-config --libs web, the libwx_gtk2_webview-3.1.a is printed.
ID: 83669 · Report as offensive     Reply Quote
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 713
Finland
Message 83757 - Posted: 10 Dec 2017, 20:52:29 UTC - in response to Message 83669.  

can you give me some hint or tips about how i should link the WebView-less wxWidgets?


You can't. My thinking was that maybe you had WebView-less wxWidgets somewhere in path and BOINC used that.

But actually the problem is that BOINC configure isn't entirely compatible with wx 3.1. #2271
wxWidgets 3.1 is a development version so you are better off using 3.0 anyway.

If you don't mind me asking, why are you compiling wxWidgets and BOINC yourself? Both are already in Ubuntu repositories.
ID: 83757 · Report as offensive     Reply Quote

Message boards : Questions and problems : Compile Client Problem 'undefined reference to' (Webview Problem)

Copyright © 2018 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.