hm, chtěl jsem to zkusit zkompilovat a napsat návod, ale zasekl jsem se
aplikoval jsem tohle:
--- a/src/BodyBrowser.h 2009-06-23 17:43:50.000000000 +0200
+++ b/src/BodyBrowser.h 2009-06-23 17:44:45.000000000 +0200
@@ -30,9 +30,9 @@
public:
cBodyBrowser(int, int, int, int, const char * = 0);
void setCatalogueUI(cKatalogUI *catalogue);
- int cBodyBrowser::showedLines();
+ int showedLines();
void setCommand(cCommand *c);
- inline cCommand *cBodyBrowser::getCommand(){return CommandView;}
+ inline cCommand *getCommand(){return CommandView;}
};
#endif
to zkončilo takhle:
$ make
(cd src ; make)
make[1]: Entering directory `/home/naar/tmp/36902/xkarel-2.0.0b5/src'
g++ -O2 -Wall -I/usr/local/include -DINSTALL_PATH=\"/usr/local\" -DINSTALL_DOCS_PATH=\"/usr/local/share/doc/xkarel-2.0.0b5\" -DVERSION=\"2.0.0b5\" -DTARGET=\"xkarel\" -DOPENGL -c Katalog.cpp
Katalog.cpp:15:21: error: fstream.h: není souborem ani adresářem
In file included from Katalog.cpp:16:
Katalog.h: In function ‘bool compare(const char*, const char*)’:
Katalog.h:140: error: ‘strcoll’ was not declared in this scope
Katalog.cpp: At global scope:
Katalog.cpp:35: error: ‘strdup’ was not declared in this scope
Katalog.cpp:36: error: ‘strdup’ was not declared in this scope
Katalog.cpp:37: error: ‘strdup’ was not declared in this scope
Katalog.cpp:38: error: ‘strdup’ was not declared in this scope
Katalog.cpp:39: error: ‘strdup’ was not declared in this scope
Katalog.cpp:40: error: ‘strdup’ was not declared in this scope
Katalog.cpp:41: error: ‘strdup’ was not declared in this scope
Katalog.cpp:42: error: ‘strdup’ was not declared in this scope
Katalog.cpp:43: error: ‘strdup’ was not declared in this scope
Katalog.cpp:44: error: ‘strdup’ was not declared in this scope
Katalog.cpp:45: error: ‘strdup’ was not declared in this scope
Katalog.cpp: In constructor ‘cRunTime::cRunTime(cRobot*)’:
Katalog.cpp:52: error: ‘strdup’ was not declared in this scope
Katalog.cpp: In member function ‘void cRunTime::rename(const char*, const char*)’:
Katalog.cpp:100: error: ‘strcasecmp’ was not declared in this scope
Katalog.cpp: In member function ‘int cRunTime::del(const char*)’:
Katalog.cpp:237: error: ‘strcasecmp’ was not declared in this scope
Katalog.cpp: In member function ‘cAddres* cRunTime::getAddres(const char*)’:
Katalog.cpp:326: error: ‘strcasecmp’ was not declared in this scope
Katalog.cpp: In member function ‘int cRunTime::setLanguage(const char*, std::vector<const char*, std::allocator<const char*> >&)’:
Katalog.cpp:356: error: ‘strdup’ was not declared in this scope
Katalog.cpp: In member function ‘ReturnValues cRunTime::executeElement()’:
Katalog.cpp:450: warning: enumeration value ‘NONE_BREAKPOINT’ not handled in switch
Katalog.cpp: In member function ‘ReturnValues cRunTime::step()’:
Katalog.cpp:540: warning: enumeration value ‘NONE_BREAKPOINT’ not handled in switch
make[1]: *** [Katalog.o] Error 1
make[1]: Leaving directory `/home/naar/tmp/36902/xkarel-2.0.0b5/src'
make: *** [x] Error 2