ElmerGUI "make" on CentOS error

Discussion about building and installing Elmer
Post Reply
re.toyama
Posts: 3
Joined: 09 Apr 2014, 02:52
Antispam: Yes

ElmerGUI "make" on CentOS error

Post by re.toyama »

Hello,

I am getting the following error while running the "make" file on:
CentOS 64 - Kernel 2.6.32-431.el6.x86_64
elmerfem-trunk-svn4542-2010-08-12
Qt-4.8.5

g++ -Wl,-O1 -Wl,-rpath,/usr/local/Trolltech/Qt-4.8.5/lib -o ElmerGUI tmp/bodypropertyeditor.o tmp/boundarydivision.o tmp/boundarypropertyeditor.o tmp/checkmpi.o tmp/dynamiceditor.o tmp/edfeditor.o tmp/egini.o tmp/generalsetup.o tmp/glcontrol.o tmp/glwidget.o tmp/helpers.o tmp/main.o tmp/mainwindow.o tmp/materiallibrary.o tmp/maxlimits.o tmp/meshcontrol.o tmp/meshingthread.o tmp/meshtype.o tmp/meshutils.o tmp/operation.o tmp/parallel.o tmp/projectio.o tmp/sifgenerator.o tmp/sifwindow.o tmp/solverparameters.o tmp/summaryeditor.o tmp/egconvert.o tmp/egmain.o tmp/egmesh.o tmp/egnative.o tmp/egutils.o tmp/elmergrid_api.o tmp/nglib_api.o tmp/tetlib_api.o tmp/renderarea.o tmp/twodview.o tmp/curveeditor.o tmp/moc_bodypropertyeditor.o tmp/moc_boundarydivision.o tmp/moc_boundarypropertyeditor.o tmp/moc_dynamiceditor.o tmp/moc_edfeditor.o tmp/moc_egini.o tmp/moc_generalsetup.o tmp/moc_glcontrol.o tmp/moc_glwidget.o tmp/moc_mainwindow.o tmp/moc_materiallibrary.o tmp/moc_meshcontrol.o tmp/moc_meshingthread.o tmp/moc_parallel.o tmp/moc_projectio.o tmp/moc_sifwindow.o tmp/moc_solverparameters.o tmp/moc_summaryeditor.o tmp/moc_renderarea.o tmp/moc_twodview.o tmp/moc_curveeditor.o tmp/qrc_ElmerGUI.o -L../netgen/ngcore -L/usr/local/Trolltech/Qt-4.8.5/lib -L/usr/X11R6/lib -lng -lQtScript -L/usr/local/Trolltech/Qt-4.8.5/lib -lQtOpenGL -L/usr/X11R6/lib -lQtUiTools -L/home/elmer/qt-everywhere-opensource-src-4.8.5/lib -lQtXml -lQtGui -lQtCore -lGL -lpthread
tmp/glwidget.o: In function `GLWidget::resizeGL(int, int)':
glwidget.cpp:(.text+0x2367): undefined reference to `gluPerspective'
tmp/glwidget.o: In function `GLWidget::changeProjection()':
glwidget.cpp:(.text+0x248c): undefined reference to `gluPerspective'
tmp/glwidget.o: In function `GLWidget::drawCoordinates()':
glwidget.cpp:(.text+0x278d): undefined reference to `gluCylinder'
glwidget.cpp:(.text+0x284d): undefined reference to `gluCylinder'
glwidget.cpp:(.text+0x2934): undefined reference to `gluCylinder'
tmp/glwidget.o: In function `GLWidget::mouseDoubleClickEvent(QMouseEvent*)':
glwidget.cpp:(.text+0x61fa): undefined reference to `gluPickMatrix'
tmp/glwidget.o: In function `GLWidget::GLWidget(QWidget*)':
glwidget.cpp:(.text+0x7161): undefined reference to `gluNewQuadric'
collect2: ld returned 1 exit status
make[1]: *** [ElmerGUI] Error 1
make[1]: Leaving directory `/home/elmer/trunk/ElmerGUI/Application'
make: *** [sub-Application-make_default] Error 2

Any help will be appriciated,
Thanks,
Russ
raback
Site Admin
Posts: 4812
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: ElmerGUI "make" on CentOS error

Post by raback »

Hi Russ,

The problem might not be relevant. There have been over 2000 code commits since. Please rather use the trunk version at
http://sourceforge.net/p/elmerfem/code/HEAD/tree/

Of course you might end up with same problems but then we know that it is an actual problem.

-Peter
re.toyama
Posts: 3
Joined: 09 Apr 2014, 02:52
Antispam: Yes

Re: ElmerGUI "make" on CentOS error

Post by re.toyama »

That worked. Thank you very much.
Post Reply