New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manager fails to link with wxWidgets 3.1 #2271
Comments
Is that on Linux or Windows? It builds fine on Mac OS X because that builds wxWidgets using the supplied Xcode project, which does include wxWebView. It's always helpful if people specify the OS / Platform in reports like this.
|
Autotools builds.
|
I think this is fixed via #2190 so I'm closing this ticket. |
It's actually a different issue. In 3.0 This issue is related to #2190 in that webview needs to be included optionally. |
Is this still an issue? |
This has never been an issue on Macintosh, because you cannot build the Manager or wxWidgets for BOINC on a Macintosh using autotools / autoconf. One builds wxWidgets 3.1.0 on Macintosh using the shell script buildwxMac.sh. The script does patch a few files in wxWidgets and builds it using the Xcode project included with wxWidgets. The script also defines |
Gentoo (see https://bugs.gentoo.org/587462 ) is using this patch to fix the issue, perhaps it would be acceptable? --- a/configure.ac 2016-07-06 11:16:41.000000000 +0200
+++ b/configure.ac 2016-07-06 11:45:51.088155620 +0200
@@ -1250,7 +1250,7 @@
CLIENTGUIFLAGS="${CLIENTGUIFLAGS} -DNDEBUG"
fi
-CLIENTGUILIBS="${WX_LIBS} ${SQLITE3_LIBS}"
+CLIENTGUILIBS="${WX_LIBS} $($WX_CONFIG_WITH_ARGS --libs webview) ${SQLITE3_LIBS}"
if test "${enable_client_release}" = "yes" ; then
if test "x${WX_LIBS_STATIC}" = "x" ; then |
This fixed the issue for me |
I'll take a look at this over the weekend. |
I haven't kept any hurry with this because 3.1 is still in development. Though confusingly the release announcement for 3.1.2 says it's both development version but also good for production. Go figure. The Gentoo patch doesn't work for us because it links to wxWebView unconditionally. |
Is wxWebView still a requirement? As far as I remember we had some PRs to exclude it because it is unsupportable on some linux distros. Upd: Here it is: #2190 |
Yep, preferred but conditional. |
#3010 has an initial draft of what needs to be done to fix this issue. |
@candrews and others: You may also want to take a look at the patches to wxWidgets 3.1.0 I found necessary for the Macintosh, though these have nothing to do with being able to link to it. They are in the script in the BOINC source tree at mac_build/buildWxMac.sh. I don't know if they are relevant to Gentoo. |
I found some more issues when building against wxwidgets 3.1.2. Mainly deprecated constants that were removed in 3.1. Now investigating the linking issue. |
On pc Debian x86-64 testing updated today with boinc sources from git master branch updated today, I still got this error: extract from config.log: I followed website: |
Looks similar to #4010 |
@CharlieFenton: indeed. I finally succeeded with the first "make" but after: Indeed, I don't have dir "boincmgr" in "boinc/stage/usr/local/bin", I got only: (BTW, @CharlieFenton: I tried to send you an email but it failed. It was concerning a warning during build: |
@serval2412 Sorry, I don't have a Linux system; I just remembered that this issue had been mentioned before and did a search for the previous references. But I did notice in your post that these paths have a double
|
@CharlieFenton: the double "//" isn't "clean" but has no effect. Concerning "stop", does it mean "stop" variable could also be completely removed and so comment be changed accordingly: // <operaton can be "run", "runfullscreen" or "stop" -> // <operation can be "run", "runfullscreen" |
When building Manager with wxWidgets 3.1 linking fails with the following error:
This is because BOINC configure doesn't request any particular set of wxWidgets components and wxWebView is no longer part of the standard set in 3.1.
3.0:
3.1
The text was updated successfully, but these errors were encountered: