Bug#671907: elmerfem: FTBFS, outdated GL usage?
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1035 bytes
Desc: not available
More information about the debian-science-maintainers