andy5995 Posted August 18, 2018 Report Share Posted August 18, 2018 (edited) I was curious to see some output from different compilers and version so I set up a code integration test on my 0ad GitHub fork. Can anyone see why the build is failing at glooxwrapper.cpp? As far as I can tell, I've installed all the required dependencies. The first 3 jobs shown here are running on trusty, using gcc-4.8, 7.0, and clang 5.0. Each one fails at the gloox build: https://travis-ci.org/andy5995/0ad/builds/417847354 script used to install dependencies .travis.yml Edited August 19, 2018 by andy5995 Quote Link to comment Share on other sites More sharing options...
asterix Posted August 18, 2018 Report Share Posted August 18, 2018 Cannot test sorry but others might know @vladislavbelov @elexis @s0600204 Quote Link to comment Share on other sites More sharing options...
vladislavbelov Posted August 18, 2018 Report Share Posted August 18, 2018 I think because of a different version of the gloox library, probably @fcxSanya might know. Quote Link to comment Share on other sites More sharing options...
fcxSanya Posted August 18, 2018 Report Share Posted August 18, 2018 7 hours ago, vladislavbelov said: I think because of a different version of the gloox library, probably @fcxSanya might know. I concur, we need 1.0.10+, see BuildInstructions: Quote libgloox (needed for the lobby; at least 1.0.10, previous versions are know to have connection problems; pass --without-lobby to update-workspaces.sh to exclude the lobby) (actually it seems findPlugin method was introduced in 1.0.10, see gloox changelog, so previous versions not only have connection problems, but aren't compatible at all) And Ubuntu Trusty has only 1.0.9: https://packages.ubuntu.com/trusty/libgloox-dev I believe I used Trusty when working on #2305 , but I probably compiled a newer version of gloox from sources. So either find (in ppa or somewhere) or compile gloox 1.0.10+ or build 0ad without lobby. 2 1 Quote Link to comment Share on other sites More sharing options...
andy5995 Posted August 19, 2018 Author Report Share Posted August 19, 2018 Thanks. I updated the links in my first post to show what I'm using currently. What I did was install libgloox-dev from the 0ad PPA and the builds are working now (except for the osx build, which is a different problem). As for the versions mentioned in the build instructions, I'd like to refer you to ticket #5290 Quote Link to comment Share on other sites More sharing options...
elexis Posted August 28, 2018 Report Share Posted August 28, 2018 On 8/18/2018 at 7:58 PM, fcxSanya said: or build 0ad without lobby I see premake4/5.lua translating '`without-lobby` to `CONFIG2_LOBBY` and this is used only in JSInterface_Lobby.cpp but not XmppClient.cpp or glooxwrapper. I see that premake excludes gloox if without-lobby is passed. But many files still refer to g_XmppClient and it's members, so it seems the setting doesn't exclude all of the lobby code, and thus may still result in unwanted binary code and compile errors? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.