Page 1 of 1

‘MouseEvent’ is not a member of ‘gcn’?

Posted: 03 Jan 2009, 17:25
by fargris
I am experiencing problems after I upgraded my Debian (AMD64) to "testing"; if I use the client provided by Debian (version 0.0.27-1), the entire desktop very soon freezes and I have to log in from another machine and kill tmw to free it up. But when I try to build from source, I run into this:

Code: Select all

g++ -DHAVE_CONFIG_H -I. -I..  -DTMW_DATADIR=\""/usr/local/share/tmw/"\"   -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT `pkg-config --cflags libxml-2.0`  -g -O2 -MT tmw-browserbox.o -MD -MP -MF .deps/tmw-browserbox.Tpo -c -o tmw-browserbox.o `test -f 'gui/browserbox.cpp' || echo './'`gui/browserbox.cpp
gui/browserbox.h:97: error: ‘gcn::MouseEvent’ has not been declared
gui/browserbox.h:98: error: ‘gcn::MouseEvent’ has not been declared
gui/browserbox.cpp:248: error: variable or field ‘mousePressed’ declared void
gui/browserbox.cpp:248: error: ‘int BrowserBox::mousePressed’ is not a static member of ‘class BrowserBox’
gui/browserbox.cpp:248: error: ‘MouseEvent’ is not a member of ‘gcn’
gui/browserbox.cpp:248: error: ‘event’ was not declared in this scope
gui/browserbox.cpp:249: error: expected ‘,’ or ‘;’ before ‘{’ token
gui/browserbox.cpp:259: error: variable or field ‘mouseMoved’ declared void
gui/browserbox.cpp:259: error: ‘int BrowserBox::mouseMoved’ is not a static member of ‘class BrowserBox’
gui/browserbox.cpp:259: error: ‘MouseEvent’ is not a member of ‘gcn’
gui/browserbox.cpp:259: error: ‘event’ was not declared in this scope
gui/browserbox.cpp:260: error: expected ‘,’ or ‘;’ before ‘{’ token
So what is that all about? And is there a solution?

Re: ‘MouseEvent’ is not a member of ‘gcn’?

Posted: 03 Jan 2009, 18:33
by Jaxad0127
Is you Guichan version 0.8.x?

Re: ‘MouseEvent’ is not a member of ‘gcn’?

Posted: 04 Jan 2009, 06:57
by fargris
It is 0.8.1-3.