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

Content and general development discussion, including quest scripts and server code. TMW Classic is a project comprising the Legacy tmwAthena server & the designated improved engine server based on evolHercules.


Forum rules

This forum houses many years of development, tracing back to some of the earliest posts that exist on the board.

Its current use is for the continued development of the server and game it has always served: TMW Classic.

Post Reply
fargris
Peon
Peon
Posts: 15
Joined: 13 Nov 2008, 06:27

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

Post 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?
Post Reply