SaschaWillems / glCapsViewer

C++ port of the OpenGL hardware capability viewer
GNU Lesser General Public License v3.0
103 stars 28 forks source link

Build fails on Manjaro (Arch) (ui_glcapsviewer.h not found) #9

Closed Stebs closed 3 years ago

Stebs commented 8 years ago

[xxx@Stebs build]$ cmake .. -- The C compiler identification is GNU 5.3.0 -- The CXX compiler identification is GNU 5.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found OpenGL: /usr/lib64/libGL.so
-- Found GLEW: /usr/include
-- Found GLFW: /usr/include
-- Boost version: 1.60.0 -- Configuring done -- Generating done -- Build files have been written to: /home/xxx/Programme/glCapsViewer-master/build [xxx@Stebs build]$ make Scanning dependencies of target glcapsviewer_automoc [ 6%] Automatic moc for target glcapsviewer Generating moc_glCapsViewer.cpp Generating moc_glCapsViewerHttp.cpp Generating moc_settingsDialog.cpp Generating moc_submitDialog.cpp [ 6%] Built target glcapsviewer_automoc [ 12%] Generating qrc_glCapsViewer.cpp Scanning dependencies of target glcapsviewer [ 18%] Building CXX object CMakeFiles/glcapsviewer.dir/internalFormatTarget.cpp.o [ 25%] Building CXX object CMakeFiles/glcapsviewer.dir/settingsDialog.cpp.o [ 31%] Building CXX object CMakeFiles/glcapsviewer.dir/submitDialog.cpp.o [ 37%] Building CXX object CMakeFiles/glcapsviewer.dir/glCapsViewerCore.cpp.o [ 43%] Building CXX object CMakeFiles/glcapsviewer.dir/treeproxyfilter.cpp.o [ 50%] Building CXX object CMakeFiles/glcapsviewer.dir/settings.cpp.o [ 56%] Building CXX object CMakeFiles/glcapsviewer.dir/internalFormatInfo.cpp.o [ 62%] Building CXX object CMakeFiles/glcapsviewer.dir/capsGroup.cpp.o [ 68%] Building CXX object CMakeFiles/glcapsviewer.dir/glCapsViewerHttp.cpp.o [ 75%] Building CXX object CMakeFiles/glcapsviewer.dir/glCapsViewer.cpp.o In file included from /home/xxx/Programme/glCapsViewer-master/glCapsViewer.cpp:23:0: /home/xxx/Programme/glCapsViewer-master/glCapsViewer.h:28:29: schwerwiegender Fehler: ui_glcapsviewer.h: Datei oder Verzeichnis nicht gefunden

include "ui_glcapsviewer.h"

                         ^

Kompilierung beendet. CMakeFiles/glcapsviewer.dir/build.make:296: die Regel für Ziel „CMakeFiles/glcapsviewer.dir/glCapsViewer.cpp.o“ scheiterte make[2]: * [CMakeFiles/glcapsviewer.dir/glCapsViewer.cpp.o] Fehler 1 CMakeFiles/Makefile2:67: die Regel für Ziel „CMakeFiles/glcapsviewer.dir/all“ scheiterte make[1]: * [CMakeFiles/glcapsviewer.dir/all] Fehler 2 Makefile:83: die Regel für Ziel „all“ scheiterte make: *\ [all] Fehler 2

justinclift commented 6 years ago

Possibly interestingly, the same thing shows up when testing just now with CentOS 7:

$ cmake .
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Found OpenGL: /usr/lib64/libGL.so  
-- Found GLEW: /usr/include  
-- Found GLFW: /usr/include  
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jc/git_repos/glCapsViewer
$ make
Scanning dependencies of target glcapsviewer_automoc
[  6%] Automoc for target glcapsviewer
Generating moc_glCapsViewer.cpp
Generating moc_glCapsViewerHttp.cpp
Generating moc_settingsDialog.cpp
Generating moc_submitDialog.cpp
[  6%] Built target glcapsviewer_automoc
[ 13%] Generating qrc_glCapsViewer.cpp
Scanning dependencies of target glcapsviewer
[ 20%] Building CXX object CMakeFiles/glcapsviewer.dir/capsGroup.cpp.o
[ 26%] Building CXX object CMakeFiles/glcapsviewer.dir/glCapsViewer.cpp.o
In file included from /home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:23:0:
/home/jc/git_repos/glCapsViewer/glCapsViewer.h:28:29: fatal error: ui_glCapsViewer.h: No such file or directory
 #include "ui_glCapsViewer.h"
                             ^
compilation terminated.
make[2]: *** [CMakeFiles/glcapsviewer.dir/glCapsViewer.cpp.o] Error 1
make[1]: *** [CMakeFiles/glcapsviewer.dir/all] Error 2
make: *** [all] Error 2
$
justinclift commented 6 years ago

Although manually running moc to generate the missing ui_*.h files does generate them, the compile process is still broken:

$ moc glCapsViewer.h > ui_glCapsViewer.h
$ ls -la ui_glCapsViewer.h
-rw-rw-r--. 1 jc jc 6498 Aug 17 00:52 ui_glCapsViewer.h
$ make
[  6%] Automoc for target glcapsviewer
[  6%] Built target glcapsviewer_automoc
[ 13%] Building CXX object CMakeFiles/glcapsviewer.dir/glCapsViewer.cpp.o
In file included from /home/jc/git_repos/glCapsViewer/glCapsViewer.h:28:0,
                 from /home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:23:
/home/jc/git_repos/glCapsViewer/ui_glCapsViewer.h:117:6: error: ‘glCapsViewer’ has not been declared
 void glCapsViewer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
      ^
/home/jc/git_repos/glCapsViewer/ui_glCapsViewer.h: In function ‘void qt_static_metacall(QObject*, QMetaObject::Call, int, void**)’:
/home/jc/git_repos/glCapsViewer/ui_glCapsViewer.h:120:9: error: ‘glCapsViewer’ was not declared in this scope
         glCapsViewer *_t = static_cast<glCapsViewer *>(_o);
         ^
/home/jc/git_repos/glCapsViewer/ui_glCapsViewer.h:120:23: error: ‘_t’ was not declared in this scope
         glCapsViewer *_t = static_cast<glCapsViewer *>(_o);
                       ^
/home/jc/git_repos/glCapsViewer/ui_glCapsViewer.h:120:40: error: expected type-specifier before ‘glCapsViewer’
         glCapsViewer *_t = static_cast<glCapsViewer *>(_o);
                                        ^
/home/jc/git_repos/glCapsViewer/ui_glCapsViewer.h:120:40: error: expected ‘>’ before ‘glCapsViewer’
/home/jc/git_repos/glCapsViewer/ui_glCapsViewer.h:120:40: error: expected ‘(’ before ‘glCapsViewer’
/home/jc/git_repos/glCapsViewer/ui_glCapsViewer.h:120:54: error: expected primary-expression before ‘>’ token
         glCapsViewer *_t = static_cast<glCapsViewer *>(_o);
                                                      ^
/home/jc/git_repos/glCapsViewer/ui_glCapsViewer.h:120:59: error: expected ‘)’ before ‘;’ token
         glCapsViewer *_t = static_cast<glCapsViewer *>(_o);
                                                           ^
/home/jc/git_repos/glCapsViewer/ui_glCapsViewer.h: At global scope:
/home/jc/git_repos/glCapsViewer/ui_glCapsViewer.h:143:19: error: ‘glCapsViewer’ has not been declared
 const QMetaObject glCapsViewer::staticMetaObject = {
                   ^
/home/jc/git_repos/glCapsViewer/ui_glCapsViewer.h:149:20: error: ‘glCapsViewer’ has not been declared
 const QMetaObject *glCapsViewer::metaObject() const
                    ^
/home/jc/git_repos/glCapsViewer/ui_glCapsViewer.h:149:47: error: non-member function ‘const QMetaObject* metaObject()’ cannot have cv-qualifier
 const QMetaObject *glCapsViewer::metaObject() const
                                               ^
In file included from /usr/include/qt5/QtWidgets/qwidget.h:45:0,
                 from /usr/include/qt5/QtWidgets/qmainwindow.h:44,
                 from /usr/include/qt5/QtWidgets/QMainWindow:1,
                 from /home/jc/git_repos/glCapsViewer/glCapsViewer.h:26,
                 from /home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:23:
/usr/include/qt5/QtCore/qobject.h: In function ‘const QMetaObject* metaObject()’:
/usr/include/qt5/QtCore/qobject.h:438:33: error: ‘QScopedPointer<QObjectData> QObject::d_ptr’ is protected
     QScopedPointer<QObjectData> d_ptr;
                                 ^
In file included from /home/jc/git_repos/glCapsViewer/glCapsViewer.h:28:0,
                 from /home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:23:
/home/jc/git_repos/glCapsViewer/ui_glCapsViewer.h:151:21: error: within this context
     return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
                     ^
In file included from /usr/include/qt5/QtWidgets/qwidget.h:45:0,
                 from /usr/include/qt5/QtWidgets/qmainwindow.h:44,
                 from /usr/include/qt5/QtWidgets/QMainWindow:1,
                 from /home/jc/git_repos/glCapsViewer/glCapsViewer.h:26,
                 from /home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:23:
/usr/include/qt5/QtCore/qobject.h:438:33: error: invalid use of non-static data member ‘QObject::d_ptr’
     QScopedPointer<QObjectData> d_ptr;
                                 ^
In file included from /home/jc/git_repos/glCapsViewer/glCapsViewer.h:28:0,
                 from /home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:23:
/home/jc/git_repos/glCapsViewer/ui_glCapsViewer.h:151:21: error: from this location
     return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
                     ^
In file included from /usr/include/qt5/QtWidgets/qwidget.h:45:0,
                 from /usr/include/qt5/QtWidgets/qmainwindow.h:44,
                 from /usr/include/qt5/QtWidgets/QMainWindow:1,
                 from /home/jc/git_repos/glCapsViewer/glCapsViewer.h:26,
                 from /home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:23:
/usr/include/qt5/QtCore/qobject.h:438:33: error: ‘QScopedPointer<QObjectData> QObject::d_ptr’ is protected
     QScopedPointer<QObjectData> d_ptr;
                                 ^
In file included from /home/jc/git_repos/glCapsViewer/glCapsViewer.h:28:0,
                 from /home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:23:
/home/jc/git_repos/glCapsViewer/ui_glCapsViewer.h:151:50: error: within this context
     return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
                                                  ^
In file included from /usr/include/qt5/QtWidgets/qwidget.h:45:0,
                 from /usr/include/qt5/QtWidgets/qmainwindow.h:44,
                 from /usr/include/qt5/QtWidgets/QMainWindow:1,
                 from /home/jc/git_repos/glCapsViewer/glCapsViewer.h:26,
                 from /home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:23:
/usr/include/qt5/QtCore/qobject.h:438:33: error: invalid use of non-static data member ‘QObject::d_ptr’
     QScopedPointer<QObjectData> d_ptr;
                                 ^
In file included from /home/jc/git_repos/glCapsViewer/glCapsViewer.h:28:0,
                 from /home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:23:
/home/jc/git_repos/glCapsViewer/ui_glCapsViewer.h:151:50: error: from this location
     return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
                                                  ^
/home/jc/git_repos/glCapsViewer/ui_glCapsViewer.h: At global scope:
/home/jc/git_repos/glCapsViewer/ui_glCapsViewer.h:154:7: error: ‘glCapsViewer’ has not been declared
 void *glCapsViewer::qt_metacast(const char *_clname)
       ^
/home/jc/git_repos/glCapsViewer/ui_glCapsViewer.h: In function ‘void* qt_metacast(const char*)’:
/home/jc/git_repos/glCapsViewer/ui_glCapsViewer.h:158:35: error: invalid use of ‘this’ in non-member function
         return static_cast<void*>(this);
                                   ^
/home/jc/git_repos/glCapsViewer/ui_glCapsViewer.h:159:44: error: cannot call member function ‘virtual void* QMainWindow::qt_metacast(const char*)’ without object
     return QMainWindow::qt_metacast(_clname);
                                            ^
/home/jc/git_repos/glCapsViewer/ui_glCapsViewer.h: At global scope:
/home/jc/git_repos/glCapsViewer/ui_glCapsViewer.h:162:5: error: ‘glCapsViewer’ has not been declared
 int glCapsViewer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
     ^
/home/jc/git_repos/glCapsViewer/ui_glCapsViewer.h: In function ‘int qt_metacall(QMetaObject::Call, int, void**)’:
/home/jc/git_repos/glCapsViewer/ui_glCapsViewer.h:164:47: error: cannot call member function ‘virtual int QMainWindow::qt_metacall(QMetaObject::Call, int, void**)’ without object
     _id = QMainWindow::qt_metacall(_c, _id, _a);
                                               ^
/home/jc/git_repos/glCapsViewer/ui_glCapsViewer.h:169:32: error: invalid use of ‘this’ in non-member function
             qt_static_metacall(this, _c, _id, _a);
                                ^
In file included from /home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:23:0:
/home/jc/git_repos/glCapsViewer/glCapsViewer.h: At global scope:
/home/jc/git_repos/glCapsViewer/glCapsViewer.h:42:2: error: ‘Ui’ does not name a type
  Ui::glcapsviewerClass ui;
  ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp: In constructor ‘glCapsViewer::glCapsViewer(QWidget*)’:
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:61:2: error: incomplete type ‘QApplication’ used in nested name specifier
  QApplication::setStyle(QStyleFactory::create("Fusion"));
  ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:62:2: error: ‘ui’ was not declared in this scope
  ui.setupUi(this);
  ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:77:79: error: incomplete type ‘QHeaderView’ used in nested name specifier
  ui.tableWidgetDatabaseDeviceReport->horizontalHeader()->setSectionResizeMode(QHeaderView::Fixed);
                                                                               ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp: In member function ‘void glCapsViewer::updateReportState()’:
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:122:2: error: ‘ui’ was not declared in this scope
  ui.labelReportPresent->setText("<font color='#000000'>Connecting to database...</font>");
  ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:126:2: error: incomplete type ‘QApplication’ used in nested name specifier
  QApplication::setOverrideCursor(Qt::WaitCursor);
  ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:130:3: error: incomplete type ‘QApplication’ used in nested name specifier
   QApplication::restoreOverrideCursor();
   ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:147:2: error: incomplete type ‘QApplication’ used in nested name specifier
  QApplication::restoreOverrideCursor();
  ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp: In member function ‘void glCapsViewer::displayCapabilities()’:
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:195:3: error: ‘QTableWidgetItem’ was not declared in this scope
   QTableWidgetItem *item = new QTableWidgetItem(QString::fromStdString(group.name));
   ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:195:21: error: ‘item’ was not declared in this scope
   QTableWidgetItem *item = new QTableWidgetItem(QString::fromStdString(group.name));
                     ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:195:32: error: expected type-specifier before ‘QTableWidgetItem’
   QTableWidgetItem *item = new QTableWidgetItem(QString::fromStdString(group.name));
                                ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:195:32: error: expected ‘;’ before ‘QTableWidgetItem’
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:226:2: error: ‘ui’ was not declared in this scope
  ui.treeViewImplementation->expandAll();
  ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:227:60: error: incomplete type ‘QHeaderView’ used in nested name specifier
  ui.treeViewImplementation->header()->setSectionResizeMode(QHeaderView::ResizeToContents);
                                                            ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp: In member function ‘void glCapsViewer::displayExtensions()’:
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:251:2: error: ‘ui’ was not declared in this scope
  ui.treeViewExtensions->expandAll();
  ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp: In member function ‘void glCapsViewer::displayInternalFormatInfo()’:
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:267:22: error: ‘ui’ was not declared in this scope
  QTreeWidget *tree = ui.treeWidgetInternalFormats;
                      ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:268:16: error: invalid use of incomplete type ‘class QHeaderView’
  tree->header()->resizeSection(0, 250);
                ^
In file included from /usr/include/qt5/QtWidgets/qtreewidget.h:44:0,
                 from /usr/include/qt5/QtWidgets/QTreeWidget:1,
                 from /home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:45:
/usr/include/qt5/QtWidgets/qtreeview.h:53:7: error: forward declaration of ‘class QHeaderView’
 class QHeaderView;
       ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp: In member function ‘void glCapsViewer::generateReport()’:
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:338:2: error: incomplete type ‘QApplication’ used in nested name specifier
  QApplication::setOverrideCursor(Qt::WaitCursor);
  ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:339:2: error: ‘ui’ was not declared in this scope
  ui.labelReportPresent->setText("Generating device report...");
  ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:341:2: error: ‘qApp’ was not declared in this scope
  qApp->processEvents();
  ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:372:2: error: incomplete type ‘QApplication’ used in nested name specifier
  QApplication::restoreOverrideCursor();
  ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp: In member function ‘void glCapsViewer::slotRefreshReport()’:
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:471:2: error: incomplete type ‘QApplication’ used in nested name specifier
  QApplication::setOverrideCursor(Qt::WaitCursor);
  ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:517:2: error: incomplete type ‘QApplication’ used in nested name specifier
  QApplication::restoreOverrideCursor();
  ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp: In member function ‘void glCapsViewer::refreshDeviceList()’:
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:522:2: error: incomplete type ‘QApplication’ used in nested name specifier
  QApplication::setOverrideCursor(Qt::WaitCursor);
  ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:526:2: error: ‘ui’ was not declared in this scope
  ui.listWidgetDatabaseDevices->clear();
  ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:539:2: error: incomplete type ‘QApplication’ used in nested name specifier
  QApplication::restoreOverrideCursor();
  ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp: In member function ‘void glCapsViewer::slotUpload()’:
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:640:4: error: incomplete type ‘QApplication’ used in nested name specifier
    QApplication::setOverrideCursor(Qt::WaitCursor);
    ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:643:4: error: incomplete type ‘QApplication’ used in nested name specifier
    QApplication::restoreOverrideCursor();
    ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp: In member function ‘void glCapsViewer::slotDatabaseDevicesItemChanged()’:
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:769:2: error: ‘ui’ was not declared in this scope
  ui.comboBoxDeviceVersions->clear();
  ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp: In member function ‘void glCapsViewer::slotDeviceVersionChanged(int)’:
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:790:2: error: incomplete type ‘QApplication’ used in nested name specifier
  QApplication::setOverrideCursor(Qt::WaitCursor);
  ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:791:2: error: ‘ui’ was not declared in this scope
  ui.labelDatabaseDeviceExtensions->setText("Extensions");
  ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:797:2: error: ‘QTableWidget’ was not declared in this scope
  QTableWidget *table = ui.tableWidgetDatabaseDeviceReport;
  ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:797:16: error: ‘table’ was not declared in this scope
  QTableWidget *table = ui.tableWidgetDatabaseDeviceReport;
                ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:802:48: error: incomplete type ‘QHeaderView’ used in nested name specifier
  table->verticalHeader()->setSectionResizeMode(QHeaderView::Fixed);
                                                ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:820:50: error: expected type-specifier before ‘QTableWidgetItem’
     table->setItem(table->rowCount() - 1, 0, new QTableWidgetItem(nodeName));
                                                  ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:822:51: error: expected type-specifier before ‘QTableWidgetItem’
      table->setItem(table->rowCount() - 1, 1, new QTableWidgetItem("n/a"));
                                                   ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:827:51: error: expected type-specifier before ‘QTableWidgetItem’
      table->setItem(table->rowCount() - 1, 1, new QTableWidgetItem(nodeValue));
                                                   ^
/home/jc/git_repos/glCapsViewer/glCapsViewer.cpp:851:2: error: incomplete type ‘QApplication’ used in nested name specifier
  QApplication::restoreOverrideCursor();
  ^
make[2]: *** [CMakeFiles/glcapsviewer.dir/glCapsViewer.cpp.o] Error 1
make[1]: *** [CMakeFiles/glcapsviewer.dir/all] Error 2
make: *** [all] Error 2
$

Ahh well, was a thought. :man_shrugging:

mmozeiko commented 6 years ago

I have successfully built glCapsViewer on ArchLinux, and I maintain its AUR package here: https://aur.archlinux.org/packages/glcapsviewer-git