ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Maria Shakhova <inlvenok@mail.ru>
To: ALTLinux <community@altlinux.ru>
Subject: [Comm] QT3 and make: can't load libraries
Date: Fri, 11 Apr 2003 00:47:16 +0400
Message-ID: <200304110045.39920.inlvenok@mail.ru> (raw)

Уважаемое комьюнити!

Решила научиться работать в QT3 Designer, и для этого -- посмотреть примеры, 
приведенные в доке к нему. Дабы их собрать, было необходимо прописать в 
.bash_profile export QTDIR="/usr/lib/qt3"и после этого - make. 
Make пишет:

[lvenochek@localhost examples]$ make
cd aclock && make -f Makefile
make[1]: Вход в каталог `/home/lvenochek/examples/aclock'
g++ -c -pipe -fno-exceptions -I/usr/include/pgsql/ -I/usr/include/mysql/ 
-I/usr/
include/Xft2 -I/usr/include/fontconfig -Wall -W -pipe -Wall -O2 
-fexpensive-opti
mizations -march=i586 -mcpu=i686 -DGLX_GLXEXT_LEGACY -fno-use-cxa-atexit 
-fno-ex
ceptions -D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT 
-I/usr/lib/qt3//mkspecs
/linux-g++ -I. -I/usr/include/freetype2 
-I/home/zerg/RPM/BUILD/qt-x11-free-3.1.1
/include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ 
-o 
.obj/release-shared-mt/aclock.o aclock.cpp
In file included from aclock.cpp:11:
aclock.h:14:21: qwidget.h: No such file or directory
aclock.h:15:23: qdatetime.h: No such file or directory
In file included from aclock.cpp:11:
aclock.h:19: parse error before `{' token
aclock.h:25: parse error before `public'
aclock.h:30: `QPaintEvent' was not declared in this scope
aclock.h:30: parse error before `)' token
aclock.h:31: `QMouseEvent' was not declared in this scope
aclock.h:31: parse error before `)' token
aclock.h:32: `QMouseEvent' was not declared in this scope
aclock.h:32: parse error before `)' token
aclock.h:38: parse error before `private'
aclock.h:40: 'QTime' is used as a type, but is not defined as a type.
aclock.h:41: parse error before `}' token
aclock.cpp:12:20: qtimer.h: No such file or directory
aclock.cpp:13:22: qpainter.h: No such file or directory
aclock.cpp:14:21: qbitmap.h: No such file or directory
aclock.cpp:20: `QWidget' was not declared in this scope
aclock.cpp:20: `parent' was not declared in this scope
aclock.cpp:20: parse error before `char'
aclock.cpp:21: invalid use of undefined type `class AnalogClock'
aclock.h:18: forward declaration of `class AnalogClock'
aclock.cpp: In constructor `AnalogClock::AnalogClock(...)':
aclock.cpp:21: `parent' undeclared (first use this function)
aclock.cpp:21: (Each undeclared identifier is reported only once for each 
functi
on it appears in.)
aclock.cpp:21: `name' undeclared (first use this function)
aclock.cpp:21: class `AnalogClock' does not have any field named `QWidget'
aclock.cpp:23: `time' undeclared (first use this function)
aclock.cpp:23: `QTime' undeclared (first use this function)
aclock.cpp:23: parse error before `::' token
aclock.cpp:24: `QTimer' undeclared (first use this function)
aclock.cpp:24: `internalTimer' undeclared (first use this function)
aclock.cpp:24: parse error before `(' token
aclock.cpp:25: `SIGNAL' undeclared (first use this function)
aclock.cpp:25: `SLOT' undeclared (first use this function)
aclock.cpp:25: `connect' undeclared (first use this function)
aclock.cpp: At global scope:
aclock.cpp:29: `QMouseEvent' was not declared in this scope
aclock.cpp:29: `e' was not declared in this scope
aclock.cpp:30: invalid use of undefined type `class AnalogClock'
aclock.h:18: forward declaration of `class AnalogClock'
aclock.cpp:30: invalid declarator
aclock.cpp:30: syntax error before `{' token
aclock.cpp:35: `QMouseEvent' was not declared in this scope
aclock.cpp:35: `e' was not declared in this scope
aclock.cpp:36: invalid use of undefined type `class AnalogClock'
aclock.h:18: forward declaration of `class AnalogClock'
aclock.cpp:36: invalid declarator
aclock.cpp:36: syntax error before `{' token
aclock.cpp:41: parse error before `&' token
aclock.cpp:42: invalid use of undefined type `class AnalogClock'
aclock.h:18: forward declaration of `class AnalogClock'
aclock.cpp: In member function `void AnalogClock::setTime(...)':
aclock.cpp:43: `t' undeclared (first use this function)
aclock.cpp: At global scope:
aclock.cpp:52: invalid use of undefined type `class AnalogClock'
aclock.h:18: forward declaration of `class AnalogClock'
aclock.cpp: In member function `void AnalogClock::timeout()':
aclock.cpp:53: `QTime' undeclared (first use this function)
aclock.cpp:53: parse error before `=' token
aclock.cpp:55: `new_time' undeclared (first use this function)
aclock.cpp:56: `autoMask' undeclared (first use this function)
aclock.cpp:57: `updateMask' undeclared (first use this function)
aclock.cpp:59: `update' undeclared (first use this function)
aclock.cpp: At global scope:
aclock.cpp:64: `QPaintEvent' was not declared in this scope
aclock.cpp:64: parse error before `)' token
aclock.cpp:65: invalid use of undefined type `class AnalogClock'
aclock.h:18: forward declaration of `class AnalogClock'
aclock.cpp: In member function `void AnalogClock::paintEvent(...)':
aclock.cpp:68: `QPainter' undeclared (first use this function)
aclock.cpp:68: parse error before `(' token
aclock.cpp:69: `paint' undeclared (first use this function)
cpp:70: `drawClock' undeclared (first use this function)
aclock.aclock.cpp: At global scope:
aclock.cpp:77: invalid use of undefined type `class AnalogClock'
aclock.h:18: forward declaration of `class AnalogClock'
aclock.cpp: In member function `void AnalogClock::updateMask()':
aclock.cpp:78: `QBitmap' undeclared (first use this function)
aclock.cpp:78: parse error before `(' token
aclock.cpp:79: `bm' undeclared (first use this function)
aclock.cpp:79: `color0' undeclared (first use this function)
aclock.cpp:81: parse error before `;' token
aclock.cpp:83: `color1' undeclared (first use this function)
aclock.cpp:89: `setMask' undeclared (first use this function)
aclock.cpp: At global scope:
aclock.cpp:98: invalid use of undefined type `class AnalogClock'
aclock.h:18: forward declaration of `class AnalogClock'
aclock.cpp:98: invalid declarator
aclock.cpp:98: syntax error before `{' token
aclock.cpp:101: syntax error before `->' token
aclock.cpp:103: parse error before `=' token
aclock.cpp:104: `v' was not declared in this scope
aclock.cpp:104: `v' was not declared in this scope
aclock.cpp:104: `QMIN' was not declared in this scope
aclock.cpp:105: syntax error before `->' token
aclock.cpp:109: 'QPointArray' is used as a type, but is not defined as a type.
aclock.cpp:111: syntax error before `->' token
aclock.cpp:112: syntax error before `->' token
aclock.cpp:113: syntax error before `.' token
aclock.cpp:114: syntax error before `->' token
aclock.cpp:115: syntax error before `->' token
aclock.cpp:117: syntax error before `->' token
aclock.cpp:118: syntax error before `->' token
aclock.cpp:119: syntax error before `.' token
aclock.cpp:120: syntax error before `->' token
aclock.cpp:121: syntax error before `->' token
aclock.cpp:123: parse error before `;' token
aclock.cpp:123: syntax error before `++' token
aclock.cpp:125: syntax error before `->' token
aclock.cpp:128: syntax error before `->' token
aclock.cpp:133: invalid use of undefined type `class AnalogClock'
aclock.h:18: forward declaration of `class AnalogClock'
aclock.cpp: In member function `void AnalogClock::setAutoMask(bool)':
aclock.cpp:135: `PaletteForeground' undeclared (first use this function)
aclock.cpp:135: `setBackgroundMode' undeclared (first use this function)
aclock.cpp:137: `PaletteBackground' undeclared (first use this function)
aclock.cpp:138: `QWidget' undeclared (first use this function)
aclock.cpp:138: parse error before `::' token
make[1]: *** [.obj/release-shared-mt/aclock.o] Ошибка 1
make[1]: Выход из каталог `/home/lvenochek/examples/aclock'
make: *** [sub-aclock] Ошибка 2

Вроде все пакеты воэможные к QT3 поставлены... Почему не собирается?

Заранее спасибо,

--

Maria Shakhova



             reply	other threads:[~2003-04-10 20:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-10 20:47 Maria Shakhova [this message]
2003-04-11 15:21 ` Sergey V Turchin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200304110045.39920.inlvenok@mail.ru \
    --to=inlvenok@mail.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git