Message boards : Questions and problems : Compile Client Problem 'undefined reference to' (Webview Problem)
Message board moderation
Author | Message |
---|---|
Send message Joined: 7 Sep 17 Posts: 21 ![]() |
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 |
![]() Send message Joined: 29 Aug 05 Posts: 15632 ![]() |
I'm trying to compile the Boinc clientUnder what? Windows, Linux, other? Did you start at https://boinc.berkeley.edu/trac/wiki/CompileClient? |
Send message Joined: 20 Nov 12 Posts: 801 ![]() |
Are you sure you don't have WebView-less wxWidgets lurking somewhere? |
Send message Joined: 7 Sep 17 Posts: 21 ![]() |
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. |
Send message Joined: 7 Sep 17 Posts: 21 ![]() |
I'm trying to compile the Boinc clientUnder what? Windows, Linux, other? 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. |
Send message Joined: 7 Sep 17 Posts: 21 ![]() |
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. |
Send message Joined: 20 Nov 12 Posts: 801 ![]() |
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. |
Copyright © 2025 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.