25-04-2012, Wednesday-23:38:44
Erstmal danke für die Hilfe, aber nachdem ich nun alles installiert und es ausprobiert habe, bekomme ich eine Fehlermeldung am Ende von make:
In file included from data_objects/gameinfo.h:7,
from data_objects/gameinfo.cc:9:
data_objects/../tpl/array2d_tpl.h: In member function ‘T& array2d_tpl<T>::at(unsigned int, unsigned int)’:
data_objects/../tpl/array2d_tpl.h:92: error: must #include <typeinfo> before using typeid
In file included from data_objects/gameinfo.h:7,
from data_objects/gameinfo.cc:9:
data_objects/../tpl/array2d_tpl.h: In member function ‘array2d_tpl<T>& array2d_tpl<T>::operator=(const array2d_tpl<T>&)’:
data_objects/../tpl/array2d_tpl.h:113: error: must #include <typeinfo> before using typeid
make: *** [build/default/data_objects/gameinfo.o] Fehler 1
EDIT:
Nachem ich in array2d_tpl.h '#include <typeinfo>' eingefügt habe, ging's erstmal weiter, habe jetzt aber den nächsten Fehler:
gui/pakselector.cc: In member function ‘virtual void pakselector_t::action(const char*)’:
gui/pakselector.cc:22: error: invalid conversion from ‘const char*’ to ‘char*’
gui/pakselector.cc: In member function ‘virtual bool pakselector_t::del_action(const char*)’:
gui/pakselector.cc:32: error: invalid conversion from ‘const char*’ to ‘char*’
gui/pakselector.cc: In member function ‘void pakselector_t::fill_list()’:
gui/pakselector.cc:118: warning: ignoring return value of ‘int chdir(const char*)’, declared with attribute warn_unused_result
make: *** [build/default/gui/pakselector.o] Fehler 1
Jetzt bin ich zu müde, um herauszufinden, wie ich dieses Problem löse, vielleicht versuche ich's nochmal am Wochenende.
In file included from data_objects/gameinfo.h:7,
from data_objects/gameinfo.cc:9:
data_objects/../tpl/array2d_tpl.h: In member function ‘T& array2d_tpl<T>::at(unsigned int, unsigned int)’:
data_objects/../tpl/array2d_tpl.h:92: error: must #include <typeinfo> before using typeid
In file included from data_objects/gameinfo.h:7,
from data_objects/gameinfo.cc:9:
data_objects/../tpl/array2d_tpl.h: In member function ‘array2d_tpl<T>& array2d_tpl<T>::operator=(const array2d_tpl<T>&)’:
data_objects/../tpl/array2d_tpl.h:113: error: must #include <typeinfo> before using typeid
make: *** [build/default/data_objects/gameinfo.o] Fehler 1
EDIT:
Nachem ich in array2d_tpl.h '#include <typeinfo>' eingefügt habe, ging's erstmal weiter, habe jetzt aber den nächsten Fehler:
gui/pakselector.cc: In member function ‘virtual void pakselector_t::action(const char*)’:
gui/pakselector.cc:22: error: invalid conversion from ‘const char*’ to ‘char*’
gui/pakselector.cc: In member function ‘virtual bool pakselector_t::del_action(const char*)’:
gui/pakselector.cc:32: error: invalid conversion from ‘const char*’ to ‘char*’
gui/pakselector.cc: In member function ‘void pakselector_t::fill_list()’:
gui/pakselector.cc:118: warning: ignoring return value of ‘int chdir(const char*)’, declared with attribute warn_unused_result
make: *** [build/default/gui/pakselector.o] Fehler 1
Jetzt bin ich zu müde, um herauszufinden, wie ich dieses Problem löse, vielleicht versuche ich's nochmal am Wochenende.