Bug#671907: elmerfem: FTBFS, outdated GL usage?
Tormod Volden
debian.tormod at gmail.com
Fri May 25 15:07:04 UTC 2012
> In file included from src/mainwindow.h:52:0,
> from src/bodypropertyeditor.cpp:43:
> src/glwidget.h:198:3: error: 'GLUquadricObj' does not name a type
This identifier is defined in glu.h, and adding #include <GL/glu.h> to
ElmerGUI/Application/src/glwidget.h made it compile. Then it failed on
unknown symbols during linking, and it turned out libGLU was not
linked. Adding LIBS += -lGLU to ElmerGUI/Application/Application.pro
made everything work.
I wonder if these were included in some other build component before,
i.e. QT headers. Not sure what the proper fix is, I am new to qmake.
Anyway, I'll attach my debian/patches/ElmerGUI-fix-ftbfs.patch in hope
it can be of help to anyone trying to build it.
Regards,
Tormod
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ElmerGUI-fix-ftbfs.patch
Type: application/octet-stream
Size: 1035 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20120525/5003437c/attachment.obj>
More information about the debian-science-maintainers
mailing list