profile-image

braunm

Michael Braun
Zhu3D

Science 49 comments

Score 83%
83 Likes
17 Dislikes
Apr 18 2013
I installed Qt 4.3.3 and I am still getting errors (below).

Could it be related to OpenGL? I can I tell if I have the right version, etc?

Thanks,

Michael


[braunm@braunm2 zhu3d-3.3.4]$ make
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/Qt-4.3.3/mkspecs/linux-g++-64 -I. -I/usr/local/Trolltech/Qt-4.3.3/include/QtCore -I/usr/local/Trolltech/Qt-4.3.3/include/QtCore -I/usr/local/Trolltech/Qt-4.3.3/include/QtGui -I/usr/local/Trolltech/Qt-4.3.3/include/QtGui -I/usr/local/Trolltech/Qt-4.3.3/include/QtOpenGL -I/usr/local/Trolltech/Qt-4.3.3/include -I/usr/X11R6/include -I. -I. -o main.o src/main.cpp
In file included from src/mainwindow.h:31,
from src/main.cpp:28:
src/glwidget.h:20:51: error: QGLWidget: No such file or directory
In file included from src/mainwindow.h:45,
from src/main.cpp:28:
src/sysinfo.h:22:42: error: QtOpenGL: No such file or directory
./ui_mainwindow.h: In member function ‘void Ui_mainCtrl::setupUi(QWidget*)’:
./ui_mainwindow.h:84: error: ‘class QGridLayout’ has no member named ‘setLeftMargin’
./ui_mainwindow.h:85: error: ‘class QGridLayout’ has no member named ‘setTopMargin’
./ui_mainwindow.h:86: error: ‘class QGridLayout’ has no member named ‘setRightMargin’
./ui_mainwindow.h:87: error: ‘class QGridLayout’ has no member named ‘setBottomMargin’
./ui_mainwindow.h:101: error: ‘class QGridLayout’ has no member named ‘setLeftMargin’
./ui_mainwindow.h:102: error: ‘class QGridLayout’ has no member named ‘setTopMargin’
./ui_mainwindow.h:103: error: ‘class QGridLayout’ has no member named ‘setRightMargin’
./ui_mainwindow.h:104: error: ‘class QGridLayout’ has no member named ‘setBottomMargin’
./ui_mainwindow.h:165: error: ‘class QVBoxLayout’ has no member named ‘setLeftMargin’
./ui_mainwindow.h:166: error: ‘class QVBoxLayout’ has no member named ‘setTopMargin’
./ui_mainwindow.h:167: error: ‘class QVBoxLayout’ has no member named ‘setRightMargin’
./ui_mainwindow.h:168: error: ‘class QVBoxLayout’ has no member named ‘setBottomMargin’ - Dec 12 2007
Hi. I am looking forward to trying Zhu3d (version 3.3.4), but I am having trouble building it on RHEL5. I should note that I am a lowly end user, not a developer, so I could use a little bit of hand-holding here.

qmake ran with no problem, but when I ran make, I got a large number of errors, a small subset of which I listed below.

I am running RHEL5 on an x86_64 machine.

Can you help?

Thanks,

Michael





[braunm@braunm2 zhu3d-3.3.4]$ make
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++-64 -I. -I/usr/lib64/qt4/include/QtCore -I/usr/lib64/qt4/include/QtCore -I/usr/lib64/qt4/include/QtGui -I/usr/lib64/qt4/include/QtGui -I/usr/lib64/qt4/include/QtOpenGL -I/usr/lib64/qt4/include/QtOpenGL -I/usr/lib64/qt4/include -I. -I. -o main.o src/main.cpp
\\\\\\\\./ui_mainwindow.h: In member function ‘void Ui_mainCtrl::setupUi(QWidget*)’:
./ui_mainwindow.h:84: error: ‘class QGridLayout’ has no member named ‘setLeftMargin’
./ui_mainwindow.h:85: error: ‘class QGridLayout’ has no member named ‘setTopMargin’
./ui_mainwindow.h:86: error: ‘class QGridLayout’ has no member named ‘setRightMargin’
./ui_mainwindow.h:87: error: ‘class QGridLayout’ has no member named ‘setBottomMargin’
./ui_mainwindow.h:88: error: ‘class QGridLayout’ has no member named ‘setHorizontalSpacing’
./ui_mainwindow.h:89: error: ‘class QGridLayout’ has no member named ‘setVerticalSpacing’
./ui_mainwindow.h:101: error: ‘class QGridLayout’ has no member named ‘setLeftMargin’
./ui_mainwindow.h:102: error: ‘class QGridLayout’ has no member named ‘setTopMargin’
./ui_mainwindow.h:103: error: ‘class QGridLayout’ has no member named ‘setRightMargin’
./ui_mainwindow.h:104: error: ‘class QGridLayout’ has no member named ‘setBottomMargin’
./ui_mainwindow.h:105: error: ‘class QGridLayout’ has no member named ‘setHorizontalSpacing’
./ui_mainwindow.h:106: error: ‘class QGridLayout’ has no member named ‘setVerticalSpacing’
./ui_mainwindow.h:165: error: ‘class QVBoxLayout’ has no member named ‘setLeftMargin’
./ui_mainwindow.h:166: error: ‘class QVBoxLayout’ has no member named ‘setTopMargin’
./ui_mainwindow.h:167: error: ‘class QVBoxLayout’ has no member named ‘setRightMargin’
./ui_mainwindow.h:168: error: ‘class QVBoxLayout’ has no member named ‘setBottomMargin’
./ui_mainwindow.h:224: error: ‘class QVBoxLayout’ has no member named ‘setLeftMargin’
./ui_mainwindow.h:225: error: ‘class QVBoxLayout’ has no member named ‘setTopMargin’
./ui_mainwindow.h:226: error: ‘class QVBoxLayout’ has no member named ‘setRightMargin’
./ui_mainwindow.h:227: error: ‘class QVBoxLayout’ has no member named ‘setBottomMargin’
./ui_mainwindow.h:235: error: ‘class QHBoxLayout’ has no member named ‘setLeftMargin’
./ui_mainwindow.h:236: error: ‘class QHBoxLayout’ has no member named ‘setTopMargin’
./ui_mainwindow.h:237: error: ‘class QHBoxLayout’ has no member named ‘setRightMargin’
./ui_mainwindow.h:238: error: ‘class QHBoxLayout’ has no member named ‘setBottomMargin’
./ui_mainwindow.h:288: error: ‘class QGridLayout’ has no member named ‘setLeftMargin’
./ui_mainwindow.h:289: error: ‘class QGridLayout’ has no member named ‘setTopMargin’
./ui_mainwindow.h:290: error: ‘class QGridLayout’ has no member named ‘setRightMargin’
./ui_mainwindow.h:291: error: ‘class QGridLayout’ has no member named ‘setBottomMargin’
./ui_mainwindow.h:292: error: ‘class QGridLayout’ has no member named ‘setHorizontalSpacing’
./ui_mainwindow.h:293: error: ‘class QGridLayout’ has no member named ‘setVerticalSpacing’
./ui_mainwindow.h:410: error: ‘class QHBoxLayout’ has no member named ‘setLeftMargin’
./ui_mainwindow.h:411: error: ‘class QHBoxLayout’ has no member named ‘setTopMargin’
./ui_mainwindow.h:412: error: ‘class QHBoxLayout’ has no member named ‘setRightMargin’
./ui_mainwindow.h:413: error: ‘class QHBoxLayout’ has no member named ‘setBottomMargin’
./ui_aniedit.h: In member function ‘void Ui_aniUI::setupUi(QWidget*)’:
./ui_aniedit.h:53: error: ‘class QGridLayout’ has no member named ‘setLeftMargin’
./ui_aniedit.h:54: error: ‘class QGridLayout’ has no member named ‘setTopMargin’
./ui_aniedit.h:55: error: ‘class QGridLayout’ has no member named ‘setRightMargin’
./ui_aniedit.h:56: error: ‘class QGridLayout’ has no member named ‘setBottomMargin’
./ui_aniedit.h:57: error: ‘class QGridLayout’ has no member named ‘setHorizontalSpacing’
./ui_aniedit.h:58: error: ‘class QGridLayout’ has no member named ‘setVerticalSpacing’
./ui_aniedit.h:64: error: ‘class QHBoxLayout’ has no member named ‘setLeftMargin’ - Dec 12 2007
KBib

Science 71 comments

by beam
Score 82%
82 Likes
18 Dislikes
Nov 03 2009
Hi. I'm looking forward to trying kbib, but I can't seem to get it to install on RHEL5, x86_64. So I'm hoping that someone on here can help.

When I try to install the kbib-0.6.2-1.i386 rpm, I am told

error: Failed dependencies:
libpoppler-qt.so.1 is needed by kbib-0.6.2-1.i386
libyaz.so.2 is needed by kbib-0.6.2-1.i386

However,

]$ /sbin/ldconfig -p |grep libpoppler-qt
libpoppler-qt.so.1 (libc6,x86-64) => /usr/local/lib/libpoppler-qt.so.1
libpoppler-qt.so.1 (libc6,x86-64) => /usr/lib/libpoppler-qt.so.1
libpoppler-qt.so.1 (libc6,x86-64) => /usr/lib64/libpoppler-qt.so.1
libpoppler-qt.so (libc6,x86-64) => /usr/local/lib/libpoppler-qt.so
libpoppler-qt.so (libc6,x86-64) => /usr/lib64/libpoppler-qt.so


so it looks like I have libpoppler-qt.so.1 installed.

When I try to install using the source, configure runs fine, but in make, I get the error

/usr/lib64/libpoppler-qt.so: undefined reference to `SplashOutputDev::SplashOutputDev(SplashColorMode, int, int, unsigned char*, int, int)'
/usr/lib64/libpoppler-qt.so: undefined reference to `SplashOutputDev::startDoc(XRef*)'
collect2: ld returned 1 exit status
make[2]: *** [kbib] Error 1

I'm somewhat new to linux (im an end-user, not a developer), so I don't quite know what to try next.

Thanks in advance for any suggestions.

Michael

- Aug 19 2007
Hi. I'm looking forward to trying kbib, but I can't seem to get it to install on RHEL5, x86_64. So I'm hoping that someone on here can help.

When I try to install the kbib-0.6.2-1.i386 rpm, I am told

error: Failed dependencies:
libpoppler-qt.so.1 is needed by kbib-0.6.2-1.i386
libyaz.so.2 is needed by kbib-0.6.2-1.i386

However,

]$ /sbin/ldconfig -p |grep libpoppler-qt
libpoppler-qt.so.1 (libc6,x86-64) => /usr/local/lib/libpoppler-qt.so.1
libpoppler-qt.so.1 (libc6,x86-64) => /usr/lib/libpoppler-qt.so.1
libpoppler-qt.so.1 (libc6,x86-64) => /usr/lib64/libpoppler-qt.so.1
libpoppler-qt.so (libc6,x86-64) => /usr/local/lib/libpoppler-qt.so
libpoppler-qt.so (libc6,x86-64) => /usr/lib64/libpoppler-qt.so


so it looks like I have libpoppler-qt.so.1 installed.

When I try to install using the source, configure runs fine, but in make, I get the error

/usr/lib64/libpoppler-qt.so: undefined reference to `SplashOutputDev::SplashOutputDev(SplashColorMode, int, int, unsigned char*, int, int)'
/usr/lib64/libpoppler-qt.so: undefined reference to `SplashOutputDev::startDoc(XRef*)'
collect2: ld returned 1 exit status
make[2]: *** [kbib] Error 1

I'm somewhat new to linux (im an end-user, not a developer), so I don't quite know what to try next.

Thanks in advance for any suggestions.

Michael

- Aug 19 2007