> 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

Attachment: ElmerGUI-fix-ftbfs.patch
Description: Binary data

Reply via email to