profile-image

braunm

Michael Braun
Zhu3D Science
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
Zhu3D Science
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
Aug 19 2007
KBib Science
Aug 19 2007