All pastes #1044377 Raw Edit

KchmViewer errors

public text v1 · immutable
#1044377 ·published 2008-06-10 23:47 UTC
rendered paste body
mark@kellerboys:~/Downloads/Freshmeat/kchmviewer-4.0beta3$ qmake-qt4
mark@kellerboys:~/Downloads/Freshmeat/kchmviewer-4.0beta3$ make
cd lib/ && make -f Makefile 
make[1]: Entering directory `/home/mark/Downloads/Freshmeat/kchmviewer-4.0beta3/lib'
cd libchmfile && make -f Makefile
make[2]: Entering directory `/home/mark/Downloads/Freshmeat/kchmviewer-4.0beta3/lib/libchmfile'
g++ -c -pipe -Wall -W -O2 -D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I../../src -I/usr/include/qt3 -o libchmfile.o libchmfile.cpp
In file included from libchmfile.cpp:22:
libchmfile.h:25:19: error: QString: No such file or directory
libchmfile.h:26:16: error: QMap: No such file or directory
libchmfile.h:27:19: error: QVector: No such file or directory
libchmfile.h:28:23: error: QTextCodec: No such file or directory
libchmfile.h:29:19: error: QPixmap: No such file or directory
libchmfile.h:49: error: ‘QString’ does not name a type
libchmfile.h:52: error: ‘QStringList’ does not name a type
libchmfile.h:84: error: expected ‘,’ or ‘...’ before ‘&’ token
libchmfile.h:84: error: ISO C++ forbids declaration of ‘QString’ with no type
libchmfile.h:97: error: ‘QString’ does not name a type
libchmfile.h:106: error: ‘QString’ does not name a type
libchmfile.h:140: error: ‘QVector’ has not been declared
libchmfile.h:140: error: expected ‘,’ or ‘...’ before ‘<’ token
libchmfile.h:151: error: ‘QVector’ has not been declared
libchmfile.h:151: error: expected ‘,’ or ‘...’ before ‘<’ token
libchmfile.h:166: error: ‘QString’ has not been declared
libchmfile.h:166: error: expected ‘,’ or ‘...’ before ‘&’ token
libchmfile.h:166: error: ISO C++ forbids declaration of ‘QString’ with no type
libchmfile.h:180: error: ‘QByteArray’ has not been declared
libchmfile.h:180: error: expected ‘,’ or ‘...’ before ‘&’ token
libchmfile.h:180: error: ISO C++ forbids declaration of ‘QString’ with no type
libchmfile.h:190: error: expected ‘,’ or ‘...’ before ‘&’ token
libchmfile.h:190: error: ISO C++ forbids declaration of ‘QString’ with no type
libchmfile.h:199: error: ‘QStringList’ has not been declared
libchmfile.h:208: error: ‘QString’ does not name a type
libchmfile.h:217: error: ISO C++ forbids declaration of ‘QPixmap’ with no type
libchmfile.h:217: error: expected ‘;’ before ‘*’ token
libchmfile.h:226: error: ‘QString’ does not name a type
libchmfile.h:263: error: expected ‘,’ or ‘...’ before ‘&’ token
libchmfile.h:263: error: ISO C++ forbids declaration of ‘QString’ with no type
libchmtocimage.h:31: error: ISO C++ forbids declaration of ‘QPixmap’ with no type
libchmtocimage.h:31: error: expected ‘;’ before ‘*’ token
libchmtocimage.h:34: error: ‘QPixmap’ does not name a type
libchmfileimpl.h:39: error: ISO C++ forbids declaration of ‘QVector’ with no type
libchmfileimpl.h:39: error: expected ‘;’ before ‘<’ token
libchmfileimpl.h:45: error: expected initializer before ‘<’ token
libchmfileimpl.h:56: error: expected ‘,’ or ‘...’ before ‘&’ token
libchmfileimpl.h:56: error: ISO C++ forbids declaration of ‘QString’ with no type
libchmfileimpl.h:59: error: ‘QString’ does not name a type
libchmfileimpl.h:60: error: ‘QString’ does not name a type
libchmfileimpl.h:62: error: ‘QString’ has not been declared
libchmfileimpl.h:62: error: expected ‘,’ or ‘...’ before ‘&’ token
libchmfileimpl.h:62: error: ISO C++ forbids declaration of ‘QString’ with no type
libchmfileimpl.h:63: error: ‘QByteArray’ has not been declared
libchmfileimpl.h:63: error: expected ‘,’ or ‘...’ before ‘&’ token
libchmfileimpl.h:63: error: ISO C++ forbids declaration of ‘QString’ with no type
libchmfileimpl.h:64: error: expected ‘,’ or ‘...’ before ‘&’ token
libchmfileimpl.h:64: error: ISO C++ forbids declaration of ‘QString’ with no type
libchmfileimpl.h:66: error: ‘QStringList’ has not been declared
libchmfileimpl.h:67: error: ‘QString’ does not name a type
libchmfileimpl.h:69: error: ISO C++ forbids declaration of ‘QPixmap’ with no type
libchmfileimpl.h:69: error: expected ‘;’ before ‘*’ token
libchmfileimpl.h:74: error: expected ‘,’ or ‘...’ before ‘&’ token
libchmfileimpl.h:74: error: ISO C++ forbids declaration of ‘QString’ with no type
libchmfileimpl.h:87: error: expected ‘,’ or ‘...’ before ‘&’ token
libchmfileimpl.h:91: error: ISO C++ forbids declaration of ‘QString’ with no type
libchmfileimpl.h:99: error: expected ‘,’ or ‘...’ before ‘&’ token
libchmfileimpl.h:101: error: ISO C++ forbids declaration of ‘LCHMSearchProgressResults’ with no type
libchmfileimpl.h:104: error: expected ‘,’ or ‘...’ before ‘&’ token
libchmfileimpl.h:104: error: ISO C++ forbids declaration of ‘QString’ with no type
libchmfileimpl.h:110: error: ‘QString’ does not name a type
libchmfileimpl.h:116: error: ‘QString’ does not name a type
libchmfileimpl.h:123: error: ‘QString’ does not name a type
libchmfileimpl.h:130: error: ‘QString’ does not name a type
libchmfileimpl.h:136: error: expected ‘,’ or ‘...’ before ‘&’ token
libchmfileimpl.h:136: error: ISO C++ forbids declaration of ‘QString’ with no type
libchmfileimpl.h:139: error: expected ‘,’ or ‘...’ before ‘&’ token
libchmfileimpl.h:142: error: ISO C++ forbids declaration of ‘QString’ with no type
libchmfileimpl.h:154: error: ‘LCHMSearchProgressResults’ has not been declared
libchmfileimpl.h:178: error: ‘QByteArray’ does not name a type
libchmfileimpl.h:184: error: expected ‘,’ or ‘...’ before ‘&’ token
libchmfileimpl.h:184: error: ISO C++ forbids declaration of ‘QString’ with no type
libchmfileimpl.h:189: error: ‘QString’ does not name a type
libchmfileimpl.h:216: error: expected ‘,’ or ‘...’ before ‘&’ token
libchmfileimpl.h:216: error: ISO C++ forbids declaration of ‘QString’ with no type
libchmfileimpl.h:230: error: ‘QString’ does not name a type
libchmfileimpl.h:239: error: ‘QString’ does not name a type
libchmfileimpl.h:242: error: ‘QByteArray’ does not name a type
libchmfileimpl.h:245: error: ‘QByteArray’ does not name a type
libchmfileimpl.h:248: error: ‘QByteArray’ does not name a type
libchmfileimpl.h:251: error: ‘QByteArray’ does not name a type
libchmfileimpl.h:258: error: ‘QString’ does not name a type
libchmfileimpl.h:261: error: ISO C++ forbids declaration of ‘QTextCodec’ with no type
libchmfileimpl.h:261: error: expected ‘;’ before ‘*’ token
libchmfileimpl.h:262: error: ISO C++ forbids declaration of ‘QTextCodec’ with no type
libchmfileimpl.h:262: error: expected ‘;’ before ‘*’ token
libchmfileimpl.h:268: error: ISO C++ forbids declaration of ‘QMap’ with no type
libchmfileimpl.h:268: error: expected ‘;’ before ‘<’ token
libchmfileimpl.h:296: error: ISO C++ forbids declaration of ‘QMap’ with no type
libchmfileimpl.h:296: error: expected ‘;’ before ‘<’ token
libchmfile.cpp:38: error: expected ‘,’ or ‘...’ before ‘&’ token
libchmfile.cpp:38: error: ISO C++ forbids declaration of ‘QString’ with no type
libchmfile.cpp: In member function ‘bool LCHMFile::loadFile(int)’:
libchmfile.cpp:40: error: ‘archiveName’ was not declared in this scope
libchmfile.cpp: At global scope:
libchmfile.cpp:38: warning: unused parameter ‘QString’
libchmfile.cpp:48: error: ‘QString’ does not name a type
libchmfile.cpp:53: error: ‘QString’ does not name a type
libchmfile.cpp: In member function ‘bool LCHMFile::hasTableOfContents() const’:
libchmfile.cpp:61: error: ‘class LCHMFileImpl’ has no member named ‘m_topicsFile’
libchmfile.cpp: In member function ‘bool LCHMFile::hasIndexTable() const’:
libchmfile.cpp:66: error: ‘class LCHMFileImpl’ has no member named ‘m_indexFile’
libchmfile.cpp: At global scope:
libchmfile.cpp:74: error: ‘bool LCHMFile::parseTableOfContents’ is not a static member of ‘class LCHMFile’
libchmfile.cpp:74: error: ‘QVector’ was not declared in this scope
libchmfile.cpp:74: error: expected primary-expression before ‘>’ token
libchmfile.cpp:74: error: ‘topics’ was not declared in this scope
libchmfile.cpp:74: error: expected ‘,’ or ‘;’ before ‘const’
libchmfile.cpp:79: error: ‘bool LCHMFile::parseIndex’ is not a static member of ‘class LCHMFile’
libchmfile.cpp:79: error: ‘QVector’ was not declared in this scope
libchmfile.cpp:79: error: expected primary-expression before ‘>’ token
libchmfile.cpp:79: error: ‘indexes’ was not declared in this scope
libchmfile.cpp:79: error: expected ‘,’ or ‘;’ before ‘const’
libchmfile.cpp:84: error: ‘bool LCHMFile::getFileContentAsString’ is not a static member of ‘class LCHMFile’
libchmfile.cpp:84: error: ‘QString’ was not declared in this scope
libchmfile.cpp:84: error: ‘str’ was not declared in this scope
libchmfile.cpp:84: error: expected primary-expression before ‘const’
libchmfile.cpp:84: error: initializer expression list treated as compound expression
libchmfile.cpp:85: error: expected ‘,’ or ‘;’ before ‘{’ token
libchmfile.cpp:89: error: ‘bool LCHMFile::getFileContentAsBinary’ is not a static member of ‘class LCHMFile’
libchmfile.cpp:89: error: ‘QByteArray’ was not declared in this scope
libchmfile.cpp:89: error: ‘data’ was not declared in this scope
libchmfile.cpp:89: error: expected primary-expression before ‘const’
libchmfile.cpp:89: error: initializer expression list treated as compound expression
libchmfile.cpp:90: error: expected ‘,’ or ‘;’ before ‘{’ token
libchmfile.cpp:94: error: ‘bool LCHMFile::enumerateFiles’ is not a static member of ‘class LCHMFile’
libchmfile.cpp:94: error: ‘QStringList’ was not declared in this scope
libchmfile.cpp:94: error: ‘files’ was not declared in this scope
libchmfile.cpp:95: error: expected ‘,’ or ‘;’ before ‘{’ token
libchmfile.cpp:99: error: ‘QString’ does not name a type
libchmfile.cpp:104: error: expected initializer before ‘*’ token
libchmfile.cpp:119: error: ‘QString’ does not name a type
libchmfile.cpp:124: error: expected ‘,’ or ‘...’ before ‘&’ token
libchmfile.cpp:124: error: ISO C++ forbids declaration of ‘QString’ with no type
libchmfile.cpp: In member function ‘bool LCHMFile::getFileSize(unsigned int*, int)’:
libchmfile.cpp:126: error: ‘url’ was not declared in this scope
libchmfile.cpp: At global scope:
libchmfile.cpp:124: warning: unused parameter ‘QString’
make[2]: *** [libchmfile.o] Error 1
make[2]: Leaving directory `/home/mark/Downloads/Freshmeat/kchmviewer-4.0beta3/lib/libchmfile'
make[1]: *** [sub-libchmfile] Error 2
make[1]: Leaving directory `/home/mark/Downloads/Freshmeat/kchmviewer-4.0beta3/lib'
make: *** [sub-lib-make_default] Error 2
mark@kellerboys:~/Downloads/Freshmeat/kchmviewer-4.0beta3$