[Kiki-help] Kodilib build error
Brought to you by:
monsterkodi
From: Lukasz S. H. <sz...@tk...> - 2003-07-23 10:17:33
|
Hi I've downloaded kiki yesterday and the game seems nice.. at the screenshots... I can't build it :\ (the kodilib) My system is: Duron 800mhz 512 Mb Ram GeForce 4 MX 420 with currently about 1Gb free space on the hard drive and GNU/Linux Debian 3.0 , XFree 4.3 and the newest NVidia drivers installed To be sure that everything is as written in the INSTALL file I downloaded and installed: SDL 1.2.5 SDL_mixer 1.2.5 SDL_image 1.2.3 Python-2.3a1 gcc-3.2 glibc-2.2 (build correctly, but while installing it had some problem:=20 make[2]: Entering directory `/home/szift/Instalki/glibc-2.2/manual' LANGUAGE=3DC LC_ALL=3DC makeinfo libc.texinfo ./stdio.texi:2515: First argument to cross-reference may not be empty. ./stdio.texi:2516: First argument to cross-reference may not be empty. makeinfo: Removing output file `/home/szift/Instalki/glibc-2.2/manual/libc.info' due to errors; use --force to preserve. but I tried make install -k and it finished (bypassed that error) and finally set the path variable CXX to /usr/bin/g++-3.2 (yes it's a valid path) and all it echoes me when I type make is: szift@samuraj:~/Instalki/kiki_src/kodilib/linux$ make /usr/bin/g++-3.2 -c -I ../src/handler -I ../src/tools -I ../src/types -I ../src/widgets -I ../src/windows -I /usr/X11/include -I /usr/include/SDL -D_REENTRANT -o ../src/handler/KEventHandler.o ../src/handler/KEventHandler.cpp In file included from ../src/handler/KEventHandler.h:27, from ../src/handler/KEventHandler.cpp:6: ../src/tools/KIntrospection.h:19: `string' undeclared in namespace `std' ../src/tools/KIntrospection.h:19: parse error before `)' token In file included from ../src/tools/KNotificationObject.h:10, from ../src/handler/KEventHandler.h:28, from ../src/handler/KEventHandler.cpp:6: ../src/types/KVector.h:10:20: vector.h: Nie ma takiego pliku ani katalogu In file included from ../src/handler/KEventHandler.h:28, from ../src/handler/KEventHandler.cpp:6: ../src/tools/KNotificationObject.h:28: parse error before `&' token ../src/tools/KNotificationObject.h:34: parse error before `*' token ../src/tools/KNotificationObject.h:34: ISO C++ forbids declaration of `string'=20 with no type ../src/tools/KNotificationObject.h:34: `string' declared as function returning=20 a function ../src/tools/KNotificationObject.h:60: 'KGetStringPtr' is used as a type, but=20 is not defined as a type. ../src/tools/KNotificationObject.h:79: syntax error before `;' token ../src/tools/KNotificationObject.h:91: syntax error before `;' token ../src/tools/KNotificationObject.h:115: type specifier omitted for parameter ` KGetStringPtr' ../src/tools/KNotificationObject.h:132: parse error before `&' token ../src/tools/KNotificationObject.h:138: `string' undeclared in namespace `std' ../src/tools/KNotificationObject.h:138: parse error before `,' token In file included from ../src/handler/KKeyActionHandler.h:9, from ../src/handler/KEventHandler.h:29, from ../src/handler/KEventHandler.cpp:6: ../src/handler/KKeyHandler.h:10:18: vector: Nie ma takiego pliku ani katalogu In file included from ../src/handler/KKeyActionHandler.h:9, from ../src/handler/KEventHandler.h:29, from ../src/handler/KEventHandler.cpp:6: ../src/handler/KKeyHandler.h:28: syntax error before `;' token ../src/handler/KKeyHandler.h:38: syntax error before `;' token ../src/handler/KKeyHandler.h:39: syntax error before `::' token In file included from ../src/handler/KKeyActionHandler.h:10, from ../src/handler/KEventHandler.h:29, from ../src/handler/KEventHandler.cpp:6: ../src/tools/KStringTools.h:10:18: vector: Nie ma takiego pliku ani katalogu In file included from ../src/handler/KKeyActionHandler.h:10, from ../src/handler/KEventHandler.h:29, from ../src/handler/KEventHandler.cpp:6: ../src/tools/KStringTools.h:15: `string' undeclared in namespace `std' ../src/tools/KStringTools.h:15: `str' was not declared in this scope ../src/tools/KStringTools.h:15: parse error before `::' token ../src/tools/KStringTools.h:17: `string' undeclared in namespace `std' ../src/tools/KStringTools.h:17: `str' was not declared in this scope ../src/tools/KStringTools.h:17: parse error before `::' token ../src/tools/KStringTools.h:19: `string' undeclared in namespace `std' ../src/tools/KStringTools.h:19: syntax error before `(' token ../src/tools/KStringTools.h:20: `string' undeclared in namespace `std' ../src/tools/KStringTools.h:20: parse error before `,' token ../src/tools/KStringTools.h:22: `string' undeclared in namespace `std' ../src/tools/KStringTools.h:22: parse error before `,' token ../src/tools/KStringTools.h:23: syntax error before `(' token ../src/tools/KStringTools.h:24: `string' undeclared in namespace `std' ../src/tools/KStringTools.h:24: parse error before `,' token ../src/tools/KStringTools.h:25: `string' undeclared in namespace `std' ../src/tools/KStringTools.h:25: parse error before `,' token ../src/tools/KStringTools.h:26: parse error before `&' token ../src/tools/KStringTools.h:27: parse error before `&' token ../src/tools/KStringTools.h:28: parse error before `&' token ../src/tools/KStringTools.h:29: parse error before `&' token ../src/tools/KStringTools.h:30: parse error before `&' token ../src/tools/KStringTools.h:31: parse error before `&' token ../src/tools/KStringTools.h:32: syntax error before `(' token ../src/tools/KStringTools.h:33: syntax error before `(' token ../src/tools/KStringTools.h:34: parse error before `&' token In file included from ../src/handler/KEventHandler.h:29, from ../src/handler/KEventHandler.cpp:6: ../src/handler/KKeyActionHandler.h:12:15: map: Nie ma takiego pliku ani katalogu In file included from ../src/handler/KEventHandler.h:29, from ../src/handler/KEventHandler.cpp:6: ../src/handler/KKeyActionHandler.h:19: syntax error before `;' token ../src/handler/KKeyActionHandler.h:23: parse error before `&' token ../src/handler/KKeyActionHandler.h:26: ISO C++ forbids defining types within=20 return type ../src/handler/KKeyActionHandler.h:26: destructors must be member functions ../src/handler/KKeyActionHandler.h:26: return type specification for destructor=20 invalid ../src/handler/KKeyActionHandler.h:26: virtual outside class declaration ../src/handler/KKeyActionHandler.h:28: syntax error before `&' token ../src/handler/KKeyActionHandler.h:31: parse error before `,' token ../src/handler/KKeyActionHandler.h:40: 'KeyActionHash' is used as a type, but=20 is not defined as a type. ../src/handler/KKeyActionHandler.h:41: syntax error before `;' token ../src/handler/KKeyActionHandler.h:48: syntax error before `*' token ../src/handler/KKeyActionHandler.h:49: parse error before `,' token ../src/handler/KKeyActionHandler.h:50: parse error before `,' token ../src/handler/KKeyActionHandler.h:51: parse error before `,' token ../src/handler/KKeyActionHandler.h:53: parse error before `&' token In file included from ../src/handler/KPickHandler.h:9, from ../src/handler/KEventHandler.h:30, from ../src/handler/KEventHandler.cpp:6: ../src/handler/KPickable.h:10:18: vector: Nie ma takiego pliku ani katalogu In file included from ../src/handler/KPickHandler.h:9, from ../src/handler/KEventHandler.h:30, from ../src/handler/KEventHandler.cpp:6: ../src/handler/KPickable.h:16: syntax error before `;' token ../src/handler/KPickable.h:17: syntax error before `::' token ../src/handler/KPickable.h:43: ISO C++ forbids declaration of `PickableVector'=20 with no type ../src/handler/KPickable.h:43: `PickableVector' declared as a `virtual' field ../src/handler/KPickable.h:43: parse error before `*' token ../src/handler/KPickable.h:44: ISO C++ forbids defining types within return=20 type ../src/handler/KPickable.h:44: two or more data types in declaration of ` setMinId' ../src/handler/KPickable.h:44: virtual outside class declaration ../src/handler/KPickable.h:44: semicolon missing after declaration of `class=20 KPickable' ../src/handler/KPickable.h:45: virtual outside class declaration ../src/handler/KPickable.h:46: virtual outside class declaration ../src/handler/KPickable.h: In function `int getMinId()': ../src/handler/KPickable.h:46: `INT_MAX' undeclared (first use this function) ../src/handler/KPickable.h:46: (Each undeclared identifier is reported only=20 once for each function it appears in.) ../src/handler/KPickable.h: At global scope: ../src/handler/KPickable.h:47: virtual outside class declaration ../src/handler/KPickable.h:48: parse error before `}' token In file included from ../src/handler/KEventHandler.h:30, from ../src/handler/KEventHandler.cpp:6: ../src/handler/KPickHandler.h:36: 'PickableVector' is used as a type, but is=20 not defined as a type. ../src/handler/KPickHandler.h:41: parse error before `*' token ../src/handler/KPickHandler.h:42: parse error before `*' token ../src/handler/KPickHandler.h:43: parse error before `*' token ../src/handler/KPickHandler.h:47: syntax error before `;' token ../src/handler/KPickHandler.h:67: parse error before `*' token ../src/handler/KPickHandler.h: In member function `virtual bool=20 KPickHandler::isProjectionEnabled() const': ../src/handler/KPickHandler.h:77: `flags' undeclared (first use this function) ../src/handler/KPickHandler.h: At global scope: ../src/handler/KPickHandler.h:108: syntax error before `;' token ../src/handler/KPickHandler.h:109: syntax error before `::' token In file included from ../src/handler/KEventHandler.cpp:6: ../src/handler/KEventHandler.h:33:18: vector: Nie ma takiego pliku ani katalogu ../src/handler/KEventHandler.h:34:17: deque: Nie ma takiego pliku ani katalogu In file included from ../src/handler/KEventHandler.cpp:6: ../src/handler/KEventHandler.h:72: ISO C++ forbids declaration of ` KPickHandlerList' with no type ../src/handler/KEventHandler.h:72: parse error before `;' token ../src/handler/KEventHandler.h:73: ISO C++ forbids declaration of ` KKeyHandlerList' with no type ../src/handler/KEventHandler.h:73: parse error before `;' token ../src/handler/KEventHandler.h:83: ISO C++ forbids declaration of `deque' with=20 no type ../src/handler/KEventHandler.h:83: template-id `deque<float>' used as a=20 declarator ../src/handler/KEventHandler.h:83: invalid use of `::' ../src/handler/KEventHandler.h:83: parse error before `;' token ../src/handler/KEventHandler.h:86: ISO C++ forbids declaration of `string' with=20 no type ../src/handler/KEventHandler.h:86: invalid use of `::' ../src/handler/KEventHandler.h:86: parse error before `;' token In file included from ../src/widgets/KWidgetArray.h:9, from ../src/windows/KWindow.h:10, from ../src/windows/KConsole.h:9, from ../src/handler/KEventHandler.cpp:7: ../src/widgets/KWidget.h:36: 'PickableVector' is used as a type, but is not=20 defined as a type. ../src/widgets/KWidget.h:43: syntax error before `;' token ../src/widgets/KWidget.h:52: `vector' undeclared in namespace `std' ../src/widgets/KWidget.h:52: parse error before `*' token ../src/widgets/KWidget.h:60: syntax error before `(' token ../src/widgets/KWidget.h:61: syntax error before `(' token ../src/widgets/KWidget.h:74: ISO C++ forbids declaration of `PickableVector'=20 with no type ../src/widgets/KWidget.h:74: `PickableVector' declared as a `virtual' field ../src/widgets/KWidget.h:74: parse error before `*' token ../src/widgets/KWidget.h:75: ISO C++ forbids defining types within return type ../src/widgets/KWidget.h:75: two or more data types in declaration of ` mouseMoved' ../src/widgets/KWidget.h:75: virtual outside class declaration ../src/widgets/KWidget.h:75: semicolon missing after declaration of `class=20 KWidget' ../src/widgets/KWidget.h:76: virtual outside class declaration ../src/widgets/KWidget.h:77: virtual outside class declaration ../src/widgets/KWidget.h:78: virtual outside class declaration ../src/widgets/KWidget.h:79: virtual outside class declaration ../src/widgets/KWidget.h: In function `KSize layout()': ../src/widgets/KWidget.h:79: `getSize' undeclared (first use this function) ../src/widgets/KWidget.h: At global scope: ../src/widgets/KWidget.h:80: virtual outside class declaration ../src/widgets/KWidget.h:81: parse error before `}' token In file included from ../src/windows/KConsole.h:9, from ../src/handler/KEventHandler.cpp:7: ../src/windows/KWindow.h: In member function `void=20 KWindow::toggleVisibility()': ../src/windows/KWindow.h:52: `class KWidgetArray' has no member named `flags' ../src/windows/KWindow.h:53: no matching function for call to `KWidgetArray:: hide()' ../src/windows/KWindow.h:53: no matching function for call to `KWidgetArray:: show()' ../src/windows/KWindow.h: In member function `bool KWindow::getVisibility()=20 const': ../src/windows/KWindow.h:54: `class KWidgetArray' has no member named `flags' ../src/windows/KWindow.h: In member function `bool KWindow::isVisible() const': ../src/windows/KWindow.h:55: `class KWidgetArray' has no member named `flags' ../src/windows/KWindow.h: In member function `virtual void KWindow::show()': ../src/windows/KWindow.h:71: no matching function for call to `KWidgetArray:: show()' ../src/windows/KWindow.h: In member function `virtual void KWindow::hide()': ../src/windows/KWindow.h:72: no matching function for call to `KWidgetArray:: hide()' In file included from ../src/handler/KEventHandler.cpp:7: ../src/windows/KConsole.h: At global scope: ../src/windows/KConsole.h:28: parse error before `&' token ../src/windows/KConsole.h:37: parse error before `&' token ../src/windows/KConsole.h:38: parse error before `&' token ../src/windows/KConsole.h:39: parse error before `&' token ../src/windows/KConsole.h:40: parse error before `&' token ../src/windows/KConsole.h: In static member function `static void=20 KConsole::print(...)': ../src/windows/KConsole.h:37: `s' undeclared (first use this function) In file included from ../src/types/KOrthographicProjection.h:9, from ../src/handler/KEventHandler.cpp:9: ../src/types/KProjection.h:10:18: vector: Nie ma takiego pliku ani katalogu In file included from ../src/types/KOrthographicProjection.h:9, from ../src/handler/KEventHandler.cpp:9: ../src/types/KProjection.h: At global scope: ../src/types/KProjection.h:90: ISO C++ forbids declaration of `string' with no=20 type ../src/types/KProjection.h:90: invalid use of `::' ../src/types/KProjection.h:90: `string' declared as a `virtual' field ../src/types/KProjection.h:90: parse error before `(' token ../src/types/KProjection.h:91: `string' undeclared in namespace `std' ../src/types/KProjection.h:91: parse error before `)' token ../src/types/KProjection.h:91: ISO C++ forbids defining types within return=20 type ../src/types/KProjection.h:91: two or more data types in declaration of `setXML ' ../src/types/KProjection.h:91: virtual outside class declaration ../src/types/KProjection.h:91: semicolon missing after declaration of `class=20 KProjection' ../src/types/KProjection.h:92: parse error before `}' token In file included from ../src/handler/KEventHandler.cpp:10: ../src/types/KPerspectiveProjection.h:32: ISO C++ forbids declaration of ` string' with no type ../src/types/KPerspectiveProjection.h:32: invalid use of `::' ../src/types/KPerspectiveProjection.h:32: `string' declared as a `virtual'=20 field ../src/types/KPerspectiveProjection.h:32: parse error before `(' token ../src/types/KPerspectiveProjection.h:33: `string' undeclared in namespace `std ' ../src/types/KPerspectiveProjection.h:33: parse error before `)' token In file included from ../src/handler/KEventHandler.cpp:12: ../src/types/KKey.h:16: parse error before `)' token ../src/types/KKey.h:18: syntax error before `;' token ../src/types/KKey.h:23: syntax error before `(' token ../src/types/KKey.h:24: syntax error before `(' token In file included from ../src/tools/KTools.h:9, from ../src/handler/KEventHandler.cpp:13: ../src/tools/KDisplayTools.h:10:18: vector: Nie ma takiego pliku ani katalogu In file included from ../src/tools/KTools.h:9, from ../src/handler/KEventHandler.cpp:13: ../src/tools/KDisplayTools.h:16: parse error before `&' token ../src/tools/KDisplayTools.h:17: parse error before `&' token In file included from ../src/tools/KTools.h:11, from ../src/handler/KEventHandler.cpp:13: ../src/tools/KFileTools.h:10:19: vector: Nie ma takiego pliku ani katalogu In file included from ../src/tools/KTools.h:11, from ../src/handler/KEventHandler.cpp:13: ../src/tools/KFileTools.h:13: syntax error before `(' token ../src/tools/KFileTools.h:14: parse error before `&' token ../src/tools/KFileTools.h:15: parse error before `&' token ../src/tools/KFileTools.h:16: parse error before `&' token ../src/tools/KFileTools.h:17: parse error before `&' token ../src/tools/KFileTools.h:18: syntax error before `(' token ../src/tools/KFileTools.h:19: syntax error before `(' token ../src/tools/KFileTools.h:20: syntax error before `(' token ../src/tools/KFileTools.h:21: syntax error before `(' token ../src/tools/KFileTools.h:22: parse error before `&' token ../src/tools/KFileTools.h:23: syntax error before `(' token ../src/tools/KFileTools.h:24: parse error before `&' token In file included from ../src/tools/KTools.h:12, from ../src/handler/KEventHandler.cpp:13: ../src/tools/KXMLTools.h:18: syntax error before `(' token ../src/tools/KXMLTools.h:19: parse error before `&' token ../src/tools/KXMLTools.h:20: syntax error before `(' token ../src/tools/KXMLTools.h:21: syntax error before `(' token ../src/tools/KXMLTools.h:22: `string' undeclared in namespace `std' ../src/tools/KXMLTools.h:22: parse error before `,' token ../src/tools/KXMLTools.h:23: `string' undeclared in namespace `std' ../src/tools/KXMLTools.h:23: parse error before `,' token ../src/tools/KXMLTools.h:24: `string' undeclared in namespace `std' ../src/tools/KXMLTools.h:24: parse error before `,' token ../src/tools/KXMLTools.h:26: syntax error before `(' token ../src/tools/KXMLTools.h:27: syntax error before `(' token ../src/tools/KXMLTools.h:28: syntax error before `(' token ../src/tools/KXMLTools.h:29: syntax error before `(' token ../src/tools/KXMLTools.h:30: syntax error before `(' token In file included from ../src/handler/KEventHandler.cpp:14: ../src/tools/KKeyTools.h:18: parse error before `&' token ../src/tools/KKeyTools.h:19: parse error before `&' token ../src/tools/KKeyTools.h:20: parse error before `&' token ../src/tools/KKeyTools.h:21: syntax error before `(' token ../src/tools/KKeyTools.h:22: syntax error before `(' token ../src/tools/KKeyTools.h:23: syntax error before `(' token ../src/tools/KKeyTools.h:25: parse error before `&' token ../src/tools/KKeyTools.h:26: parse error before `&' token ../src/tools/KKeyTools.h:27: parse error before `&' token ../src/tools/KKeyTools.h:28: parse error before `&' token ../src/handler/KEventHandler.cpp:23: syntax error before `::' token ../src/handler/KEventHandler.cpp:28: syntax error before `::' token ../src/handler/KEventHandler.cpp:33: syntax error before `::' token ../src/handler/KEventHandler.cpp:34: syntax error before `::' token ../src/handler/KEventHandler.cpp: In member function `virtual void=20 KEventHandler::displayPickHandlers()': ../src/handler/KEventHandler.cpp:71: `KPickHandlerIter' undeclared (first use=20 this function) ../src/handler/KEventHandler.cpp:71: parse error before `=3D' token ../src/handler/KEventHandler.cpp:71: `iter' undeclared (first use this=20 function) ../src/handler/KEventHandler.cpp:71: `pick_handlers' undeclared (first use this=20 function) ../src/handler/KEventHandler.cpp: In member function `virtual void=20 KEventHandler::display()': ../src/handler/KEventHandler.cpp:93: `fps' undeclared (first use this function) ../src/handler/KEventHandler.cpp:97: `string' undeclared in namespace `std' ../src/handler/KEventHandler.cpp:97: parse error before `=3D' token ../src/handler/KEventHandler.cpp:99: `timeString' undeclared (first use this=20 function) ../src/handler/KEventHandler.cpp: In member function `KPickHandler*=20 KEventHandler::getPickHandlerForProjection(const KProjection*) const': ../src/handler/KEventHandler.cpp:113: `vector' undeclared in namespace `std' ../src/handler/KEventHandler.cpp:113: parse error before `*' token ../src/handler/KEventHandler.cpp: In static member function `static bool KEventHandler::setScreenSize(const KSize&, bool)': ../src/handler/KEventHandler.cpp:252: `kStringPrintf' undeclared (first use=20 this function) ../src/handler/KEventHandler.cpp: In static member function `static void KEventHandler::addPickHandler(KPickHandler*)': ../src/handler/KEventHandler.cpp:408: `vector' undeclared in namespace `std' ../src/handler/KEventHandler.cpp:408: parse error before `*' token ../src/handler/KEventHandler.cpp:409: `result' undeclared (first use this=20 function) ../src/handler/KEventHandler.cpp:412: `sort' undeclared (first use this=20 function) ../src/handler/KEventHandler.cpp: In static member function `static void KEventHandler::removePickHandler(KPickHandler*)': ../src/handler/KEventHandler.cpp:420: `vector' undeclared in namespace `std' ../src/handler/KEventHandler.cpp:420: parse error before `*' token ../src/handler/KEventHandler.cpp: In static member function `static void KEventHandler::addKeyHandler(KKeyHandler*)': ../src/handler/KEventHandler.cpp:433: parse error before `=3D' token ../src/handler/KEventHandler.cpp:434: `key_handlers' undeclared (first use this=20 function) ../src/handler/KEventHandler.cpp: In static member function `static void KEventHandler::removeKeyHandler(KKeyHandler*)': ../src/handler/KEventHandler.cpp:444: parse error before `=3D' token ../src/handler/KEventHandler.cpp: In member function `virtual void=20 KEventHandler::handleKeyboardEvent(SDL_KeyboardEvent&)': ../src/handler/KEventHandler.cpp:496: `class KKeyHandler' has no member named ` flags' ../src/handler/KEventHandler.cpp:506: parse error before `=3D' token ../src/handler/KEventHandler.cpp: In member function `virtual void=20 KEventHandler::handleMouseMotionEvent(SDL_MouseMotionEvent&)': ../src/handler/KEventHandler.cpp:531: `vector' undeclared in namespace `std' ../src/handler/KEventHandler.cpp:531: parse error before `*' token ../src/handler/KEventHandler.cpp:553: `vector' undeclared in namespace `std' ../src/handler/KEventHandler.cpp:553: parse error before `*' token ../src/handler/KEventHandler.cpp: In member function `virtual void=20 KEventHandler::handleMouseButtonEvent(SDL_MouseButtonEvent&)': ../src/handler/KEventHandler.cpp:575: `KPickHandlerList' undeclared (first use=20 this function) ../src/handler/KEventHandler.cpp:575: parse error before `::' token make: *** [../src/handler/KEventHandler.o] B=B3=B1d 1 did anyone have a similar problem and solved it? or can solve mine? -- Best regards =A3ukasz Hejnak sz...@tk... |