Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#2249 closed defect (fixed)

Problems with "--without-lobby"

Reported by: fabio Owned by: leper
Priority: Should Have Milestone: Alpha 15
Component: Core engine Keywords:
Cc: Patch:

Description

Building with "--without-lobby" is broken, it still requires gloox:

In file included from ../../../source/lobby/glooxwrapper/glooxwrapper.cpp:20:0:
../../../source/lobby/glooxwrapper/glooxwrapper.h:71:26: fatal error: gloox/client.h: File o directory non esistente
 #include <gloox/client.h>
                          ^

After installing gloox, it builds/tests fine, however it doesn't run properly:

ERROR: GUI page 'page_gamesetup_mp.xml': Failed to call init() function
ERROR: JavaScript error: gui/gamesetup/gamesetup_mp.js line 14
TypeError: Engine.HasXmppClient is not a function
  init([object Object],(void 0))@gui/gamesetup/gamesetup_mp.js:14
  __eventhandler9 (press)([object Object])@subMenuMultiplayerJoinButton press:2
ERROR: JavaScript error: gui/gamesetup/gamesetup_mp.js line 48
TypeError: Engine.LobbySetPlayerPresence is not a function
  cancelSetup()@gui/gamesetup/gamesetup_mp.js:48
...

Change History (3)

comment:1 by leper, 10 years ago

Owner: set to leper
Status: newassigned

comment:2 by leper, 10 years ago

Resolution: fixed
Status: assignedclosed

In 14113:

Fix building with --without-lobby. Fixes #2249.

comment:3 by ben, 10 years ago

In 14117:

Fixes --without-lobby for MSVC and clang, refs #2249.
Cleans up some whitespace.
Removes obsolete PCH files.

Note: See TracTickets for help on using tickets.