crossplatform.ru

Çäðàâñòâóéòå, ãîñòü ( Âõîä | Ðåãèñòðàöèÿ )

 
Îòâåòèòü â äàííóþ òåìóÍà÷àòü íîâóþ òåìó
> ïîïûòêè ñîáðàòü qextserialport
Chapai
  îïöèè ïðîôèëÿ:
ñîîáùåíèå 12.9.2011, 15:33
Ñîîáùåíèå #1


Íîâè÷îê


Ãðóïïà: Íîâè÷îê
Ñîîáùåíèé: 4
Ðåãèñòðàöèÿ: 12.9.2011
Ïîëüçîâàòåëü ¹: 2867

Ñïàñèáî ñêàçàëè: 0 ðàç(à)




Ðåïóòàöèÿ:   0  


Äîáðîãî âðåìåíè ñóòîê.
Ïûòàþñü ñîáðàòü qextserialport îòñþäà
ÎÑ-Ubutu linux

ïðè ïîïûòêå ñáîðêè èç êîíñîëè (qmake, make)
íå ñîáèðàåòñÿ:


Ðàñêðûâàþùèéñÿ òåêñò

chapai@chapai-laptop:~/QextSerialPort/qextserialport1$ qmake
chapai@chapai-laptop:~/QextSerialPort/qextserialport1$ make
make -f Makefile.Release
make[1]: Âõîä â êàòàëîã `/home/chapai/QextSerialPort/qextserialport1'
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -fPIC -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -Ibuild/moc -o build/obj/qextserialbase.o qextserialbase.cpp
In file included from qextserialbase.cpp:1:
qextserialbase.h:4:21: error: QIODevice: Íåò òàêîãî ôàéëà èëè êàòàëîãà
qextserialbase.h:5:17: error: QFile: Íåò òàêîãî ôàéëà èëè êàòàëîãà
qextserialbase.h:6:19: error: QThread: Íåò òàêîãî ôàéëà èëè êàòàëîãà
qextserialbase.h:7:18: error: QMutex: Íåò òàêîãî ôàéëà èëè êàòàëîãà
In file included from qextserialbase.cpp:1:
qextserialbase.h:149: error: expected class-name before ‘{’ token
qextserialbase.h:150: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type
qextserialbase.h:152: error: expected ‘;’ before ‘public’
qextserialbase.h:159: error: ISO C++ forbids declaration of ‘QMutex’ with no type
qextserialbase.h:159: error: expected ‘;’ before ‘*’ token
qextserialbase.h:160: error: ‘QString’ does not name a type
qextserialbase.h:162: error: ‘ulong’ does not name a type
qextserialbase.h:163: error: ‘QueryMode’ in class ‘QextSerialBase’ does not name a type
qextserialbase.h:165: error: ‘qint64’ does not name a type
qextserialbase.h:166: error: ‘qint64’ does not name a type
qextserialbase.h:170: error: ISO C++ forbids declaration of ‘QString’ with no type
qextserialbase.h:170: error: expected ‘,’ or ‘...’ before ‘&’ token
qextserialbase.h:173: error: ISO C++ forbids declaration of ‘QString’ with no type
qextserialbase.h:173: error: expected ‘,’ or ‘...’ before ‘&’ token
qextserialbase.h:174: error: ‘QString’ does not name a type
qextserialbase.h:180: error: ‘QueryMode’ in class ‘QextSerialBase’ does not name a type
qextserialbase.h:204: error: ‘QueryMode’ has not been declared
qextserialbase.h:220: error: ‘OpenMode’ has not been declared
qextserialbase.h:225: error: ‘qint64’ does not name a type
qextserialbase.h:226: error: ‘qint64’ does not name a type
qextserialbase.h:230: error: ‘qint64’ does not name a type
qextserialbase.h:232: error: ‘ulong’ does not name a type
qextserialbase.h:233: error: ‘ulong’ has not been declared
qextserialbase.h:237: error: ‘ulong’ does not name a type
qextserialbase.h:255: error: expected primary-expression before ‘void’
qextserialbase.h:255: error: ISO C++ forbids declaration of ‘signals’ with no type
qextserialbase.h:255: error: expected ‘;’ before ‘void’
qextserialbase.cpp: In constructor ‘QextSerialBase::QextSerialBase()’:
qextserialbase.cpp:8: error: class ‘QextSerialBase’ does not have any field named ‘QIODevice’
qextserialbase.cpp:30: error: invalid conversion from ‘const char*’ to ‘int’
qextserialbase.cpp:30: error: initializing argument 1 of ‘virtual void QextSerialBase::setPortName(int)’
qextserialbase.cpp: At global scope:
qextserialbase.cpp:40: error: ISO C++ forbids declaration of ‘QString’ with no type
qextserialbase.cpp:40: error: expected ‘,’ or ‘...’ before ‘&’ token
qextserialbase.cpp: In constructor ‘QextSerialBase::QextSerialBase(int)’:
qextserialbase.cpp:41: error: class ‘QextSerialBase’ does not have any field named ‘QIODevice’
qextserialbase.cpp:43: error: ‘name’ was not declared in this scope
qextserialbase.cpp: At global scope:
qextserialbase.cpp:40: warning: unused parameter ‘QString’
qextserialbase.cpp: In destructor ‘virtual QextSerialBase::~QextSerialBase()’:
qextserialbase.cpp:53: error: ‘mutex’ was not declared in this scope
qextserialbase.cpp: In member function ‘virtual void QextSerialBase::construct()’:
qextserialbase.cpp:69: error: ‘mutex’ was not declared in this scope
qextserialbase.cpp:69: error: expected type-specifier before ‘QMutex’
qextserialbase.cpp:69: error: expected ‘;’ before ‘QMutex’
qextserialbase.cpp:70: error: ‘QIODevice’ has not been declared
qextserialbase.cpp:70: error: ‘setOpenMode’ was not declared in this scope
qextserialbase.cpp: At global scope:
qextserialbase.cpp:73: error: variable or field ‘setQueryMode’ declared void
qextserialbase.cpp:73: error: ‘QueryMode’ was not declared in this scope
qextserialbase.cpp:82: error: ISO C++ forbids declaration of ‘QString’ with no type
qextserialbase.cpp:82: error: expected ‘,’ or ‘...’ before ‘&’ token
qextserialbase.cpp: In member function ‘virtual void QextSerialBase::setPortName(int)’:
qextserialbase.cpp:84: error: ‘port’ was not declared in this scope
qextserialbase.cpp:84: error: ‘name’ was not declared in this scope
qextserialbase.cpp: At global scope:
qextserialbase.cpp:82: warning: unused parameter ‘QString’
qextserialbase.cpp:91: error: ‘QString’ does not name a type
qextserialbase.cpp: In member function ‘virtual bool QextSerialBase::atEnd() const’:
qextserialbase.cpp:164: error: ‘size’ was not declared in this scope
qextserialbase.cpp: At global scope:
qextserialbase.cpp:176: error: ‘qint64’ does not name a type
qextserialbase.cpp:223: error: ‘ulong’ does not name a type
make[1]: *** [build/obj/qextserialbase.o] Îøèáêà 1
make[1]: Âûõîä èç êàòàëîãà `/home/chapai/QextSerialPort/qextserialport1'
make: *** [release] Îøèáêà 2
chapai@chapai-laptop:~/QextSerialPort/qextserialport1$ qmake
chapai@chapai-laptop:~/QextSerialPort/qextserialport1$ make install
make -f Makefile.Release install
make[1]: Âõîä â êàòàëîã `/home/chapai/QextSerialPort/qextserialport1'
make[1]: Öåëü `install' íå òðåáóåò âûïîëíåíèÿ êîìàíä.
make[1]: Âûõîä èç êàòàëîãà `/home/chapai/QextSerialPort/qextserialport1'
chapai@chapai-laptop:~/QextSerialPort/qextserialport1$ make
make -f Makefile.Release
make[1]: Âõîä â êàòàëîã `/home/chapai/QextSerialPort/qextserialport1'
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -fPIC -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -Ibuild/moc -o build/obj/qextserialbase.o qextserialbase.cpp
In file included from qextserialbase.cpp:1:
qextserialbase.h:4:21: error: QIODevice: Íåò òàêîãî ôàéëà èëè êàòàëîãà
qextserialbase.h:5:17: error: QFile: Íåò òàêîãî ôàéëà èëè êàòàëîãà
qextserialbase.h:6:19: error: QThread: Íåò òàêîãî ôàéëà èëè êàòàëîãà
qextserialbase.h:7:18: error: QMutex: Íåò òàêîãî ôàéëà èëè êàòàëîãà
In file included from qextserialbase.cpp:1:
qextserialbase.h:149: error: expected class-name before ‘{’ token
qextserialbase.h:150: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type
qextserialbase.h:152: error: expected ‘;’ before ‘public’
qextserialbase.h:159: error: ISO C++ forbids declaration of ‘QMutex’ with no type
qextserialbase.h:159: error: expected ‘;’ before ‘*’ token
qextserialbase.h:160: error: ‘QString’ does not name a type
qextserialbase.h:162: error: ‘ulong’ does not name a type
qextserialbase.h:163: error: ‘QueryMode’ in class ‘QextSerialBase’ does not name a type
qextserialbase.h:165: error: ‘qint64’ does not name a type
qextserialbase.h:166: error: ‘qint64’ does not name a type
qextserialbase.h:170: error: ISO C++ forbids declaration of ‘QString’ with no type
qextserialbase.h:170: error: expected ‘,’ or ‘...’ before ‘&’ token
qextserialbase.h:173: error: ISO C++ forbids declaration of ‘QString’ with no type
qextserialbase.h:173: error: expected ‘,’ or ‘...’ before ‘&’ token
qextserialbase.h:174: error: ‘QString’ does not name a type
qextserialbase.h:180: error: ‘QueryMode’ in class ‘QextSerialBase’ does not name a type
qextserialbase.h:204: error: ‘QueryMode’ has not been declared
qextserialbase.h:220: error: ‘OpenMode’ has not been declared
qextserialbase.h:225: error: ‘qint64’ does not name a type
qextserialbase.h:226: error: ‘qint64’ does not name a type
qextserialbase.h:230: error: ‘qint64’ does not name a type
qextserialbase.h:232: error: ‘ulong’ does not name a type
qextserialbase.h:233: error: ‘ulong’ has not been declared
qextserialbase.h:237: error: ‘ulong’ does not name a type
qextserialbase.h:255: error: expected primary-expression before ‘void’
qextserialbase.h:255: error: ISO C++ forbids declaration of ‘signals’ with no type
qextserialbase.h:255: error: expected ‘;’ before ‘void’
qextserialbase.cpp: In constructor ‘QextSerialBase::QextSerialBase()’:
qextserialbase.cpp:8: error: class ‘QextSerialBase’ does not have any field named ‘QIODevice’
qextserialbase.cpp:30: error: invalid conversion from ‘const char*’ to ‘int’
qextserialbase.cpp:30: error: initializing argument 1 of ‘virtual void QextSerialBase::setPortName(int)’
qextserialbase.cpp: At global scope:
qextserialbase.cpp:40: error: ISO C++ forbids declaration of ‘QString’ with no type
qextserialbase.cpp:40: error: expected ‘,’ or ‘...’ before ‘&’ token
qextserialbase.cpp: In constructor ‘QextSerialBase::QextSerialBase(int)’:
qextserialbase.cpp:41: error: class ‘QextSerialBase’ does not have any field named ‘QIODevice’
qextserialbase.cpp:43: error: ‘name’ was not declared in this scope
qextserialbase.cpp: At global scope:
qextserialbase.cpp:40: warning: unused parameter ‘QString’
qextserialbase.cpp: In destructor ‘virtual QextSerialBase::~QextSerialBase()’:
qextserialbase.cpp:53: error: ‘mutex’ was not declared in this scope
qextserialbase.cpp: In member function ‘virtual void QextSerialBase::construct()’:
qextserialbase.cpp:69: error: ‘mutex’ was not declared in this scope
qextserialbase.cpp:69: error: expected type-specifier before ‘QMutex’
qextserialbase.cpp:69: error: expected ‘;’ before ‘QMutex’
qextserialbase.cpp:70: error: ‘QIODevice’ has not been declared
qextserialbase.cpp:70: error: ‘setOpenMode’ was not declared in this scope
qextserialbase.cpp: At global scope:
qextserialbase.cpp:73: error: variable or field ‘setQueryMode’ declared void
qextserialbase.cpp:73: error: ‘QueryMode’ was not declared in this scope
qextserialbase.cpp:82: error: ISO C++ forbids declaration of ‘QString’ with no type
qextserialbase.cpp:82: error: expected ‘,’ or ‘...’ before ‘&’ token
qextserialbase.cpp: In member function ‘virtual void QextSerialBase::setPortName(int)’:
qextserialbase.cpp:84: error: ‘port’ was not declared in this scope
qextserialbase.cpp:84: error: ‘name’ was not declared in this scope
qextserialbase.cpp: At global scope:
qextserialbase.cpp:82: warning: unused parameter ‘QString’
qextserialbase.cpp:91: error: ‘QString’ does not name a type
qextserialbase.cpp: In member function ‘virtual bool QextSerialBase::atEnd() const’:
qextserialbase.cpp:164: error: ‘size’ was not declared in this scope
qextserialbase.cpp: At global scope:
qextserialbase.cpp:176: error: ‘qint64’ does not name a type
qextserialbase.cpp:223: error: ‘ulong’ does not name a type
make[1]: *** [build/obj/qextserialbase.o] Îøèáêà 1
make[1]: Âûõîä èç êàòàëîãà `/home/chapai/QextSerialPort/qextserialport1'
make: *** [release] Îøèáêà 2
chapai@chapai-laptop:~/QextSerialPort/qextserialport1$ qmake
chapai@chapai-laptop:~/QextSerialPort/qextserialport1$ make
make -f Makefile.Release
make[1]: Âõîä â êàòàëîã `/home/chapai/QextSerialPort/qextserialport1'
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -fPIC -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -Ibuild/moc -o build/obj/qextserialbase.o qextserialbase.cpp
In file included from qextserialbase.cpp:1:
qextserialbase.h:4:21: error: QIODevice: Íåò òàêîãî ôàéëà èëè êàòàëîãà
qextserialbase.h:5:17: error: QFile: Íåò òàêîãî ôàéëà èëè êàòàëîãà
qextserialbase.h:6:19: error: QThread: Íåò òàêîãî ôàéëà èëè êàòàëîãà
qextserialbase.h:7:18: error: QMutex: Íåò òàêîãî ôàéëà èëè êàòàëîãà
In file included from qextserialbase.cpp:1:
qextserialbase.h:149: error: expected class-name before ‘{’ token
qextserialbase.h:150: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type
qextserialbase.h:152: error: expected ‘;’ before ‘public’
qextserialbase.h:159: error: ISO C++ forbids declaration of ‘QMutex’ with no type
qextserialbase.h:159: error: expected ‘;’ before ‘*’ token
qextserialbase.h:160: error: ‘QString’ does not name a type
qextserialbase.h:162: error: ‘ulong’ does not name a type
qextserialbase.h:163: error: ‘QueryMode’ in class ‘QextSerialBase’ does not name a type
qextserialbase.h:165: error: ‘qint64’ does not name a type
qextserialbase.h:166: error: ‘qint64’ does not name a type
qextserialbase.h:170: error: ISO C++ forbids declaration of ‘QString’ with no type
qextserialbase.h:170: error: expected ‘,’ or ‘...’ before ‘&’ token
qextserialbase.h:173: error: ISO C++ forbids declaration of ‘QString’ with no type
qextserialbase.h:173: error: expected ‘,’ or ‘...’ before ‘&’ token
qextserialbase.h:174: error: ‘QString’ does not name a type
qextserialbase.h:180: error: ‘QueryMode’ in class ‘QextSerialBase’ does not name a type
qextserialbase.h:204: error: ‘QueryMode’ has not been declared
qextserialbase.h:220: error: ‘OpenMode’ has not been declared
qextserialbase.h:225: error: ‘qint64’ does not name a type
qextserialbase.h:226: error: ‘qint64’ does not name a type
qextserialbase.h:230: error: ‘qint64’ does not name a type
qextserialbase.h:232: error: ‘ulong’ does not name a type
qextserialbase.h:233: error: ‘ulong’ has not been declared
qextserialbase.h:237: error: ‘ulong’ does not name a type
qextserialbase.h:255: error: expected primary-expression before ‘void’
qextserialbase.h:255: error: ISO C++ forbids declaration of ‘signals’ with no type
qextserialbase.h:255: error: expected ‘;’ before ‘void’
qextserialbase.cpp: In constructor ‘QextSerialBase::QextSerialBase()’:
qextserialbase.cpp:8: error: class ‘QextSerialBase’ does not have any field named ‘QIODevice’
qextserialbase.cpp:30: error: invalid conversion from ‘const char*’ to ‘int’
qextserialbase.cpp:30: error: initializing argument 1 of ‘virtual void QextSerialBase::setPortName(int)’
qextserialbase.cpp: At global scope:
qextserialbase.cpp:40: error: ISO C++ forbids declaration of ‘QString’ with no type
qextserialbase.cpp:40: error: expected ‘,’ or ‘...’ before ‘&’ token
qextserialbase.cpp: In constructor ‘QextSerialBase::QextSerialBase(int)’:
qextserialbase.cpp:41: error: class ‘QextSerialBase’ does not have any field named ‘QIODevice’
qextserialbase.cpp:43: error: ‘name’ was not declared in this scope
qextserialbase.cpp: At global scope:
qextserialbase.cpp:40: warning: unused parameter ‘QString’
qextserialbase.cpp: In destructor ‘virtual QextSerialBase::~QextSerialBase()’:
qextserialbase.cpp:53: error: ‘mutex’ was not declared in this scope
qextserialbase.cpp: In member function ‘virtual void QextSerialBase::construct()’:
qextserialbase.cpp:69: error: ‘mutex’ was not declared in this scope
qextserialbase.cpp:69: error: expected type-specifier before ‘QMutex’
qextserialbase.cpp:69: error: expected ‘;’ before ‘QMutex’
qextserialbase.cpp:70: error: ‘QIODevice’ has not been declared
qextserialbase.cpp:70: error: ‘setOpenMode’ was not declared in this scope
qextserialbase.cpp: At global scope:
qextserialbase.cpp:73: error: variable or field ‘setQueryMode’ declared void
qextserialbase.cpp:73: error: ‘QueryMode’ was not declared in this scope
qextserialbase.cpp:82: error: ISO C++ forbids declaration of ‘QString’ with no type
qextserialbase.cpp:82: error: expected ‘,’ or ‘...’ before ‘&’ token
qextserialbase.cpp: In member function ‘virtual void QextSerialBase::setPortName(int)’:
qextserialbase.cpp:84: error: ‘port’ was not declared in this scope
qextserialbase.cpp:84: error: ‘name’ was not declared in this scope
qextserialbase.cpp: At global scope:
qextserialbase.cpp:82: warning: unused parameter ‘QString’
qextserialbase.cpp:91: error: ‘QString’ does not name a type
qextserialbase.cpp: In member function ‘virtual bool QextSerialBase::atEnd() const’:
qextserialbase.cpp:164: error: ‘size’ was not declared in this scope
qextserialbase.cpp: At global scope:
qextserialbase.cpp:176: error: ‘qint64’ does not name a type
qextserialbase.cpp:223: error: ‘ulong’ does not name a type
make[1]: *** [build/obj/qextserialbase.o] Îøèáêà 1
make[1]: Âûõîä èç êàòàëîãà `/home/chapai/QextSerialPort/qextserialport1'
make: *** [release] Îøèáêà 2


Ïðè ïîïûòêå ñáîðêè ÷åðåç Qt4(Îòêðûòü ôàéë èëè ïðîåêò->qextserial.pro->Cáîðêà)

Ðàñêðûâàþùèéñÿ òåêñò
Âûïîëíÿåòñÿ ñáîðêà ïðîåêòà qextserialport...
Çàïóñêàåòñÿ: /usr/bin/qmake-qt4 /home/chapai/QextSerialPort/qextserialport-1.2win-alpha/qextserialport.pro -spec linux-g++ -r CONFIG+=debug
Çàâåðøåíî ñ êîäîì 0.
Çàïóñêàåòñÿ: /usr/bin/make -w
make: Âõîä â êàòàëîã `/home/chapai/QextSerialPort/qextserialport-1.2win-alpha'
/usr/bin/make -f Makefile.Debug
make[1]: Âõîä â êàòàëîã `/home/chapai/QextSerialPort/qextserialport-1.2win-alpha'
g++ -c -pipe -g -D_REENTRANT -Wall -W -fPIC -D_TTY_POSIX_ -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -Ibuild/moc -o build/obj/qextserialbase.o qextserialbase.cpp
g++ -c -pipe -g -D_REENTRANT -Wall -W -fPIC -D_TTY_POSIX_ -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -Ibuild/moc -o build/obj/qextserialport.o qextserialport.cpp
g++ -c -pipe -g -D_REENTRANT -Wall -W -fPIC -D_TTY_POSIX_ -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -Ibuild/moc -o build/obj/qextserialenumerator.o qextserialenumerator.cpp
qextserialenumerator.cpp:9:21: error: objbase.h: Íåò òàêîãî ôàéëà èëè êàòàëîãà
qextserialenumerator.cpp:10:22: error: initguid.h: Íåò òàêîãî ôàéëà èëè êàòàëîãà
make[1]: *** [build/obj/qextserialenumerator.o] Îøèáêà 1
make[1]: Âûõîä èç êàòàëîãà `/home/chapai/QextSerialPort/qextserialport-1.2win-alpha'
make: Âûõîä èç êàòàëîãà `/home/chapai/QextSerialPort/qextserialport-1.2win-alpha'
make: *** [debug] Îøèáêà 2
Çàâåðøåíî ñ êîäîì 2.
Îøèáêà âî âðåìÿ ñáîðêè ïðîåêòà qextserialport
Âî âðåìÿ âûïîëíåíèÿ ñáîðêè íà ýòàïå 'Make'




Ïðîáîâàë ñ qextserialport 1.1 îòñþäà

Ðàñêðûâàþùèéñÿ òåêñò

chapai@chapai-laptop:~/QextSerialPort/qextserialport$ qmake qextserialport.pro
chapai@chapai-laptop:~/QextSerialPort/qextserialport$ make
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -fPIC -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -Ibuild/moc -o build/obj/qextserialbase.o qextserialbase.cpp
In file included from qextserialbase.cpp:2:
qextserialbase.h:5:21: error: QIODevice: Íåò òàêîãî ôàéëà èëè êàòàëîãà
qextserialbase.h:6:17: error: QFile: Íåò òàêîãî ôàéëà èëè êàòàëîãà
In file included from qextserialbase.cpp:2:
qextserialbase.h:137: error: ‘ulong’ does not name a type
qextserialbase.h:138: error: ‘ulong’ does not name a type
qextserialbase.h:141: error: expected class-name before ‘{’ token
qextserialbase.h:144: error: ISO C++ forbids declaration of ‘QString’ with no type
qextserialbase.h:144: error: expected ‘,’ or ‘...’ before ‘&’ token
qextserialbase.h:147: error: ISO C++ forbids declaration of ‘QString’ with no type
qextserialbase.h:147: error: expected ‘,’ or ‘...’ before ‘&’ token
qextserialbase.h:148: error: ‘QString’ does not name a type
qextserialbase.h:160: error: ‘ulong’ has not been declared
qextserialbase.h:160: error: ‘ulong’ has not been declared
qextserialbase.h:162: error: ‘OpenMode’ has not been declared
qextserialbase.h:167: error: ‘qint64’ does not name a type
qextserialbase.h:168: error: ‘qint64’ does not name a type
qextserialbase.h:172: error: ‘qint64’ does not name a type
qextserialbase.h:174: error: ‘ulong’ does not name a type
qextserialbase.h:175: error: ‘ulong’ has not been declared
qextserialbase.h:179: error: ‘ulong’ does not name a type
qextserialbase.h:182: error: ‘QString’ does not name a type
qextserialbase.h:184: error: ‘ulong’ does not name a type
qextserialbase.h:191: error: ‘qint64’ does not name a type
qextserialbase.h:192: error: ‘qint64’ does not name a type
qextserialbase.cpp: In constructor ‘QextSerialBase::QextSerialBase()’:
qextserialbase.cpp:21: error: class ‘QextSerialBase’ does not have any field named ‘QIODevice’
qextserialbase.cpp:43: error: invalid conversion from ‘const char*’ to ‘int’
qextserialbase.cpp:43: error: initializing argument 1 of ‘virtual void QextSerialBase::setPortName(int)’
qextserialbase.cpp: At global scope:
qextserialbase.cpp:53: error: ISO C++ forbids declaration of ‘QString’ with no type
qextserialbase.cpp:53: error: expected ‘,’ or ‘...’ before ‘&’ token
qextserialbase.cpp: In constructor ‘QextSerialBase::QextSerialBase(int)’:
qextserialbase.cpp:54: error: class ‘QextSerialBase’ does not have any field named ‘QIODevice’
qextserialbase.cpp:56: error: ‘name’ was not declared in this scope
qextserialbase.cpp: At global scope:
qextserialbase.cpp:53: warning: unused parameter ‘QString’
qextserialbase.cpp: In member function ‘virtual void QextSerialBase::construct()’:
qextserialbase.cpp:89: error: ‘struct PortSettings’ has no member named ‘Timeout_Sec’
qextserialbase.cpp:90: error: ‘struct PortSettings’ has no member named ‘Timeout_Millisec’
qextserialbase.cpp:99: error: ‘QIODevice’ has not been declared
qextserialbase.cpp:99: error: ‘setOpenMode’ was not declared in this scope
qextserialbase.cpp: At global scope:
qextserialbase.cpp:106: error: ISO C++ forbids declaration of ‘QString’ with no type
qextserialbase.cpp:106: error: expected ‘,’ or ‘...’ before ‘&’ token
qextserialbase.cpp: In member function ‘virtual void QextSerialBase::setPortName(int)’:
qextserialbase.cpp:108: error: ‘port’ was not declared in this scope
qextserialbase.cpp:108: error: ‘name’ was not declared in this scope
qextserialbase.cpp: At global scope:
qextserialbase.cpp:106: warning: unused parameter ‘QString’
qextserialbase.cpp:115: error: ‘QString’ does not name a type
qextserialbase.cpp: In member function ‘virtual bool QextSerialBase::atEnd() const’:
qextserialbase.cpp:188: error: ‘size’ was not declared in this scope
qextserialbase.cpp: At global scope:
qextserialbase.cpp:200: error: ‘qint64’ does not name a type
qextserialbase.cpp:247: error: ‘ulong’ does not name a type
make: *** [build/obj/qextserialbase.o] Îøèáêà 1



èç qt4
http://xmages.net/i/3096460

c Qt çíàêîì äîâîëüíî ïîâåðõíîñòíî, ñâÿçüþ ÷åðåç ïîñëåäîâàòåëüíûå ïîðòû çíàêîì òîëüêî â òåîðèè
Ïîñîâåòóéòå, âîçìîæíî íåîáõîäèìî ïðàâèëüíî íàñòðîèòü Qt
Ïåðåéòè â íà÷àëî ñòðàíèöû
 
Áûñòðàÿ öèòàòà+Öèòèðîâàòü ñîîáùåíèå
RazrFalcon
  îïöèè ïðîôèëÿ:
ñîîáùåíèå 12.9.2011, 15:39
Ñîîáùåíèå #2


Zombie Mod
*****

Ãðóïïà: Ó÷àñòíèê
Ñîîáùåíèé: 1654
Ðåãèñòðàöèÿ: 24.5.2010
Èç: Õàðüêîâ
Ïîëüçîâàòåëü ¹: 1752

Ñïàñèáî ñêàçàëè: 64 ðàç(à)




Ðåïóòàöèÿ:   212  


qt4-dev, build-essential óñòàíîâëåíû?
Ïåðåéòè â íà÷àëî ñòðàíèöû
 
Áûñòðàÿ öèòàòà+Öèòèðîâàòü ñîîáùåíèå
Chapai
  îïöèè ïðîôèëÿ:
ñîîáùåíèå 12.9.2011, 15:43
Ñîîáùåíèå #3


Íîâè÷îê


Ãðóïïà: Íîâè÷îê
Ñîîáùåíèé: 4
Ðåãèñòðàöèÿ: 12.9.2011
Ïîëüçîâàòåëü ¹: 2867

Ñïàñèáî ñêàçàëè: 0 ðàç(à)




Ðåïóòàöèÿ:   0  


build-essential óñòàíîâëåí
qt4-dev íåò(íåò â synaptic)
óñòàíîâëåí qt4-dev-tools
Ïåðåéòè â íà÷àëî ñòðàíèöû
 
Áûñòðàÿ öèòàòà+Öèòèðîâàòü ñîîáùåíèå
RazrFalcon
  îïöèè ïðîôèëÿ:
ñîîáùåíèå 12.9.2011, 16:45
Ñîîáùåíèå #4


Zombie Mod
*****

Ãðóïïà: Ó÷àñòíèê
Ñîîáùåíèé: 1654
Ðåãèñòðàöèÿ: 24.5.2010
Èç: Õàðüêîâ
Ïîëüçîâàòåëü ¹: 1752

Ñïàñèáî ñêàçàëè: 64 ðàç(à)




Ðåïóòàöèÿ:   212  


Îøèáî÷êà, libqt4-dev
Ïåðåéòè â íà÷àëî ñòðàíèöû
 
Áûñòðàÿ öèòàòà+Öèòèðîâàòü ñîîáùåíèå
silver47
  îïöèè ïðîôèëÿ:
ñîîáùåíèå 12.9.2011, 18:19
Ñîîáùåíèå #5


Àêòèâíûé ó÷àñòíèê
***

Ãðóïïà: Ó÷àñòíèê
Ñîîáùåíèé: 356
Ðåãèñòðàöèÿ: 1.4.2010
Ïîëüçîâàòåëü ¹: 1584

Ñïàñèáî ñêàçàëè: 40 ðàç(à)




Ðåïóòàöèÿ:   6  


Äóìàþ, ÷òî qserialdevice ãîðàçäî ïðîùå â îñâîåíèè. Ìíå äëÿ ïðîåêòà åãî çà ãëàçà õâàòàåò, ïðàâäà, ïðèøëîñü ñäåëàòü ñîáñòâåííîå îïðåäåëåíèå ñïèñêà ïîðòîâ, ò.ê. íå âèäèò íåêîòîðûå âèðòóàëüíûå, õîòÿ ïðåêðàñíî ñ íèìè ðàáîòàåò.
Ïåðåéòè â íà÷àëî ñòðàíèöû
 
Áûñòðàÿ öèòàòà+Öèòèðîâàòü ñîîáùåíèå
Chapai
  îïöèè ïðîôèëÿ:
ñîîáùåíèå 12.9.2011, 20:32
Ñîîáùåíèå #6


Íîâè÷îê


Ãðóïïà: Íîâè÷îê
Ñîîáùåíèé: 4
Ðåãèñòðàöèÿ: 12.9.2011
Ïîëüçîâàòåëü ¹: 2867

Ñïàñèáî ñêàçàëè: 0 ðàç(à)




Ðåïóòàöèÿ:   0  


qserialdevice ïðîáîâàë Îòñþäà:

Ðàñêðûâàþùèéñÿ òåêñò
chapai@chapai-laptop:~/qserialdevice/qserialdevice-qserialdevice$ qmake BuildLibrary.pro
chapai@chapai-laptop:~/qserialdevice/qserialdevice-qserialdevice$ make
cd src/ && /usr/bin/qmake /home/chapai/qserialdevice/qserialdevice-qserialdevice/src/src.pro -unix -o Makefile
cd src/ && make -f Makefile
make[1]: Âõîä â êàòàëîã `/home/chapai/qserialdevice/qserialdevice-qserialdevice/src'
g++ -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -Iunix -Iqserialdevice -Iqserialdeviceenumerator -Ibuild/moc -o build/obj/ttylocker.o unix/ttylocker.cpp
/usr/bin/moc-qt4 -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -Iunix -Iqserialdevice -Iqserialdeviceenumerator -Ibuild/moc qserialdevice/abstractserial.h -o build/moc/moc_abstractserial.cpp
g++ -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -Iunix -Iqserialdevice -Iqserialdeviceenumerator -Ibuild/moc -o build/obj/abstractserial.o qserialdevice/abstractserial.cpp
/usr/bin/moc-qt4 -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -Iunix -Iqserialdevice -Iqserialdeviceenumerator -Ibuild/moc qserialdevice/abstractserialengine.h -o build/moc/moc_abstractserialengine.cpp
g++ -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -Iunix -Iqserialdevice -Iqserialdeviceenumerator -Ibuild/moc -o build/obj/abstractserialengine.o qserialdevice/abstractserialengine.cpp
/usr/bin/moc-qt4 -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -Iunix -Iqserialdevice -Iqserialdeviceenumerator -Ibuild/moc qserialdevice/nativeserialengine.h -o build/moc/moc_nativeserialengine.cpp
g++ -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -Iunix -Iqserialdevice -Iqserialdeviceenumerator -Ibuild/moc -o build/obj/nativeserialengine.o qserialdevice/nativeserialengine.cpp
g++ -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -Iunix -Iqserialdevice -Iqserialdeviceenumerator -Ibuild/moc -o build/obj/abstractserialnotifier.o qserialdevice/abstractserialnotifier.cpp
g++ -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -Iunix -Iqserialdevice -Iqserialdeviceenumerator -Ibuild/moc -o build/obj/nativeserialengine_unix.o qserialdevice/nativeserialengine_unix.cpp
g++ -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -Iunix -Iqserialdevice -Iqserialdeviceenumerator -Ibuild/moc -o build/obj/nativeserialnotifier_unix.o qserialdevice/nativeserialnotifier_unix.cpp
/usr/bin/moc-qt4 -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -Iunix -Iqserialdevice -Iqserialdeviceenumerator -Ibuild/moc qserialdeviceenumerator/serialdeviceenumerator.h -o build/moc/moc_serialdeviceenumerator.cpp
g++ -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -Iunix -Iqserialdevice -Iqserialdeviceenumerator -Ibuild/moc -o build/obj/serialdeviceenumerator.o qserialdeviceenumerator/serialdeviceenumerator.cpp
g++ -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -Iunix -Iqserialdevice -Iqserialdeviceenumerator -Ibuild/moc -o build/obj/serialdeviceenumerator_p_unix.o qserialdeviceenumerator/serialdeviceenumerator_p_unix.cpp
qserialdeviceenumerator/serialdeviceenumerator_p_unix.cpp:35:25: error: libudev.h: Íåò òàêîãî ôàéëà èëè êàòàëîãà
qserialdeviceenumerator/serialdeviceenumerator_p_unix.cpp: In constructor ‘SerialDeviceEnumeratorPrivate::SerialDeviceEnumeratorPrivate()’:
qserialdeviceenumerator/serialdeviceenumerator_p_unix.cpp:52: error: ‘::udev_new’ has not been declared
qserialdeviceenumerator/serialdeviceenumerator_p_unix.cpp:61: error: ‘::udev_monitor_new_from_netlink’ has not been declared
qserialdeviceenumerator/serialdeviceenumerator_p_unix.cpp:70: error: ‘::udev_monitor_filter_add_match_subsystem_devtype’ has not been declared
qserialdeviceenumerator/serialdeviceenumerator_p_unix.cpp:71: error: ‘::udev_monitor_enable_receiving’ has not been declared
qserialdeviceenumerator/serialdeviceenumerator_p_unix.cpp:72: error: ‘::udev_monitor_get_fd’ has not been declared
qserialdeviceenumerator/serialdeviceenumerator_p_unix.cpp: In destructor ‘virtual SerialDeviceEnumeratorPrivate::~SerialDeviceEnumeratorPrivate()’:
qserialdeviceenumerator/serialdeviceenumerator_p_unix.cpp:107: error: ‘::udev_monitor_unref’ has not been declared
qserialdeviceenumerator/serialdeviceenumerator_p_unix.cpp:110: error: ‘::udev_unref’ has not been declared
qserialdeviceenumerator/serialdeviceenumerator_p_unix.cpp: In member function ‘SerialInfoMap SerialDeviceEnumeratorPrivate::updateInfo() const’:
qserialdeviceenumerator/serialdeviceenumerator_p_unix.cpp:158: error: ‘::udev_enumerate_new’ has not been declared
qserialdeviceenumerator/serialdeviceenumerator_p_unix.cpp:169: error: ‘::udev_enumerate_add_match_subsystem’ has not been declared
qserialdeviceenumerator/serialdeviceenumerator_p_unix.cpp:170: error: ‘::udev_enumerate_scan_devices’ has not been declared
qserialdeviceenumerator/serialdeviceenumerator_p_unix.cpp:172: error: ‘::udev_enumerate_get_list_entry’ has not been declared
qserialdeviceenumerator/serialdeviceenumerator_p_unix.cpp:174: error: ‘udev_list_entry_foreach’ was not declared in this scope
qserialdeviceenumerator/serialdeviceenumerator_p_unix.cpp:174: error: expected ‘;’ before ‘{’ token
qserialdeviceenumerator/serialdeviceenumerator_p_unix.cpp:252: error: expected ‘}’ at end of input
make[1]: *** [build/obj/serialdeviceenumerator_p_unix.o] Îøèáêà 1
make[1]: Âûõîä èç êàòàëîãà `/home/chapai/qserialdevice/qserialdevice-qserialdevice/src'
make: *** [sub-src-make_default] Îøèáêà 2
chapai@chapai-laptop:~/qserialdevice/qserialdevice-qserialdevice$


â Readme íàïèñàíî:" Äëÿ ÎÑ GNU/Linux äëÿ ñáîðêè êëàññà SerialDeviceEnumerator äîëæåí áûòü óñòàíîâëåí UDEV (http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html)"
íî kernel.org ëåæèò...â synaptic ïàêåò udev óñòàíîâëåí..
Ïåðåéòè â íà÷àëî ñòðàíèöû
 
Áûñòðàÿ öèòàòà+Öèòèðîâàòü ñîîáùåíèå
Chapai
  îïöèè ïðîôèëÿ:
ñîîáùåíèå 12.9.2011, 23:32
Ñîîáùåíèå #7


Íîâè÷îê


Ãðóïïà: Íîâè÷îê
Ñîîáùåíèé: 4
Ðåãèñòðàöèÿ: 12.9.2011
Ïîëüçîâàòåëü ¹: 2867

Ñïàñèáî ñêàçàëè: 0 ðàç(à)




Ðåïóòàöèÿ:   0  


Ñîáðàë qserialdevice
Äåëî áûëî â ïàêåòå libudev-dev

Ãëóïî áûëî ñ ìîåé ñòîðîíû íå çàìåòèòü, ò.ê. â èñõîäíèêàõ qserialdevice ïðîïèñàíî #include <libudev.h>
Ïåðåéòè â íà÷àëî ñòðàíèöû
 
Áûñòðàÿ öèòàòà+Öèòèðîâàòü ñîîáùåíèå

Áûñòðûé îòâåòÎòâåòèòü â äàííóþ òåìóÍà÷àòü íîâóþ òåìó
Òåãè
Íåò òåãîâ äëÿ ïîêàçà


1 ÷åë. ÷èòàþò ýòó òåìó (ãîñòåé: 1, ñêðûòûõ ïîëüçîâàòåëåé: 0)
Ïîëüçîâàòåëåé: 0




RSS Òåêñòîâàÿ âåðñèÿ Ñåé÷àñ: 28.3.2024, 14:14