Error in Compiling

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
AquaFox
Peon
Peon
Posts: 4
Joined: 21 Sep 2006, 09:58
Contact:

Error in Compiling

Post by AquaFox » 21 Sep 2006, 10:08

Code: Select all

qusai@ubuntu:~/Desktop/Compiled/C++/mana/tmw$ make -j 2
make  all-recursive
make[1]: Entering directory `/home/qusai/Desktop/Compiled/C++/mana/tmw'
Making all in data
make[2]: Entering directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/data'
Making all in graphics
make[3]: Entering directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/data/graphics'
Making all in gui
make[4]: Entering directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/data/graphics/gui'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/data/graphics/gui'
Making all in images
make[4]: Entering directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/data/graphics/images'
Making all in ambient
make[5]: Entering directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/data/graphics/images/ambient'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/data/graphics/images/ambient'
make[5]: Entering directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/data/graphics/images'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/data/graphics/images'
make[4]: Leaving directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/data/graphics/images'
Making all in items
make[4]: Entering directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/data/graphics/items'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/data/graphics/items'
Making all in sprites
make[4]: Entering directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/data/graphics/sprites'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/data/graphics/sprites'
Making all in tiles
make[4]: Entering directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/data/graphics/tiles'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/data/graphics/tiles'
make[4]: Entering directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/data/graphics'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/data/graphics'
make[3]: Leaving directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/data/graphics'
Making all in help
make[3]: Entering directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/data/help'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/data/help'
Making all in icons
make[3]: Entering directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/data/icons'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/data/icons'
Making all in maps
make[3]: Entering directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/data/maps'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/data/maps'
Making all in sfx
make[3]: Entering directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/data/sfx'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/data/sfx'
make[3]: Entering directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/data'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/data'
make[2]: Leaving directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/data'
Making all in docs
make[2]: Entering directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/docs'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/docs'
Making all in src
make[2]: Entering directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I..  -DTMW_DATADIR=\""/usr/local/share/tmw/"\"   -Wall -Werror  -I/usr/include/SDL -D_REENTRANT `pkg-config --cflags libxml-2.0`  -g -O2 -MT tmw-char_select.o -MD -MP -MF ".deps/tmw-char_select.Tpo" -c -o tmw-char_select.o `test -f 'gui/char_select.cpp' || echo './'`gui/char_select.cpp; \
        then mv -f ".deps/tmw-char_select.Tpo" ".deps/tmw-char_select.Po"; else rm -f ".deps/tmw-char_select.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I..  -DTMW_DATADIR=\""/usr/local/share/tmw/"\"   -Wall -Werror  -I/usr/include/SDL -D_REENTRANT `pkg-config --cflags libxml-2.0`  -g -O2 -MT tmw-chat.o -MD -MP -MF ".deps/tmw-chat.Tpo" -c -o tmw-chat.o `test -f 'gui/chat.cpp' || echo './'`gui/chat.cpp; \
        then mv -f ".deps/tmw-chat.Tpo" ".deps/tmw-chat.Po"; else rm -f ".deps/tmw-chat.Tpo"; exit 1; fi
gui/char_select.cpp: In member function ‘void CharSelectDialog::action(const std::string&, gcn::Widget*)’:
gui/char_select.cpp:152: error: cannot allocate an object of abstract type ‘CharCreateDialog’
gui/char_select.h:105: note:   because the following virtual functions are pure within ‘CharCreateDialog’:
/usr/include/guichan/actionlistener.hpp:87: note:  virtual void gcn::ActionListener::action(const std::string&)
gui/char_select.cpp:161: error: cannot allocate an object of abstract type ‘CharDeleteConfirm’
gui/char_select.cpp:48: note:   because the following virtual functions are pure within ‘CharDeleteConfirm’:
/usr/include/guichan/actionlistener.hpp:87: note:  virtual void gcn::ActionListener::action(const std::string&)
gui/char_select.cpp: In member function ‘void CharCreateDialog::action(const std::string&, gcn::Widget*)’:
gui/char_select.cpp:325: error: cannot allocate an object of abstract type ‘OkDialog’
gui/ok_dialog.h:36: note:   because the following virtual functions are pure within ‘OkDialog’:
/usr/include/guichan/actionlistener.hpp:87: note:  virtual void gcn::ActionListener::action(const std::string&)
gui/chat.cpp: In member function ‘virtual void ChatWindow::logic()’:
gui/chat.cpp:82: error: ‘getChildrenArea’ was not declared in this scope
gui/char_select.cpp: At global scope:
gui/char_select.cpp:368: fatal error: opening dependency file .deps/tmw-char_select.Tpo: Permission denied
compilation terminated.
gui/chat.cpp: In member function ‘bool ChatWindow::isFocused()’:
gui/chat.cpp:240: error: ‘class gcn::TextField’ has no member named ‘isFocused’
make[2]: *** [tmw-char_select.o] Error 1
make[2]: *** Waiting for unfinished jobs....
gui/chat.cpp: At global scope:
gui/chat.cpp:410: fatal error: opening dependency file .deps/tmw-chat.Tpo: Permission denied
compilation terminated.
make[2]: *** [tmw-chat.o] Error 1
make[2]: Leaving directory `/home/qusai/Desktop/Compiled/C++/mana/tmw/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/qusai/Desktop/Compiled/C++/mana/tmw'
make: *** [all] Error 2
Why am I getting these errors? I don't feel like looking in the code and changing stuff manually.
User avatar
ElvenProgrammer
TMW Adviser
TMW Adviser
Posts: 2526
Joined: 13 Apr 2004, 20:11
Location: Italy
Contact:

Post by ElvenProgrammer » 21 Sep 2006, 19:42

Are you using Guichan 0.5.0?
AquaFox
Peon
Peon
Posts: 4
Joined: 21 Sep 2006, 09:58
Contact:

Post by AquaFox » 22 Sep 2006, 07:12

I got 0.4 from my Ubuntu repo.. Should I get Guichan 5.0 or wait for Ubuntu people to actually make an update xD?
User avatar
ElvenProgrammer
TMW Adviser
TMW Adviser
Posts: 2526
Joined: 13 Apr 2004, 20:11
Location: Italy
Contact:

Post by ElvenProgrammer » 22 Sep 2006, 08:15

Whatever you want. I got 0.5.0 source and compiled it myself, I guess it's worth a try.
Post Reply