MantisBT - Doomseeker
View Issue Details
0003823Doomseeker[All Projects] Cleanuppublic2020-06-09 09:502021-08-07 16:52
WubTheCaptain 
WubTheCaptain 
normalminoralways
closedno change required 
1.3.1 
 
0003823: fatal error: 'ui_checkwadsdlg.h' file not found
src/core/gui/checkwadsdlg.h includes a non-existent header ui_checkwadsdlg.h.
$ find . -name ui_checkwadsdlg.h | wc -l
0
Found this error by opening src/core/gui/mainwindow.cpp in NVim with ALE plugin installed.
src/core/gui/mainwindow.cpp|35 error| Error found in header. See :ALEDetail
src/core/gui/mainwindow.cpp|35 error| Error found in header. See :ALEDetail

Quote from :ALEDetail
In file included from <stdin>:35:
/home/wub/.local/src/doomseeker/doomseeker/src/core/gui/checkwadsdlg.h:27:10: fatal error: 'ui_checkwadsdlg.h' 
file not found
#include "ui_checkwadsdlg.h"
         ^~~~~~~~~~~~~~~~~~~

Quote from :ALEInfo
(executable check - success) clang++
(finished - exit code 1) ['/bin/mksh', '-c', '''clang++'' -S -x c++ -fsyntax-only -iquote ''/home/wub/.local/src/doomseeker/doomseeker/src/core/gui'' 
-DINSTALL_LIBDIR=\"lib\" -DINSTALL_PREFIX=\"/usr/local\" -DQT_CORE_LIB -DQT_GUI_LIB 
-DQT_MULTIMEDIA_LIB -
DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_XML_LIB -Ddoomseeker_EXPORTS -I/home/wub/.local/src/doomseeker/doomseeker/build/src/core/doomseeker_autogen/include 
-I/home/wub/.local/src/doomseeker/doomseeker/src/core/gui -I/home/wub/.local/src/doomse
eker/doomseeker/build/src/core -I/home/wub/.local/src/doomseeker/doomseeker/src/core -I/home/wub/.local/src/doomseeker/doomseeker/src/wadseeker/.. 
-isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem 
/us
r/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ 
-isystem /usr/include/x86_64-linux-gnu/qt5/QtMultimedia -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork 
-i
system /usr/include/x86_64-linux-gnu/qt5/QtXml -fPIC -std=gnu++11 -std=c++14 -Wall - < ''/tmp/nvimOLKu0d/2/mainwindow.cpp''']


<<<OUTPUT STARTS>>>
In file included from <stdin>:35:
/home/wub/.local/src/doomseeker/doomseeker/src/core/gui/checkwadsdlg.h:27:10: fatal error: 'ui_checkwadsdlg.h' 
file not found
#include "ui_checkwadsdlg.h"
         ^~~~~~~~~~~~~~~~~~~
1 error generated.
<<<OUTPUT ENDS>>>

Quote from :ALEInfo
(executable check - success) gcc
(finished - exit code 1) ['/bin/mksh', '-c', '''gcc'' -S -x c++ -o /dev/null -iquote ''/home/wub/.local/src/doomseeker/doomseeker/src/core/gui'' 
-DINSTALL_LIBDIR=\"lib\" -DINSTALL_PREFIX=\"/usr/local\" -DQT_CORE_LIB -DQT_GUI_LIB 
-DQT_MULTIMEDIA_LIB -DQT_N
ETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_XML_LIB -Ddoomseeker_EXPORTS -I/home/wub/.local/src/doomseeker/doomseeker/build/src/core/doomseeker_autogen/include 
-I/home/wub/.local/src/doomseeker/doomseeker/src/core/gui -I/home/wub/.local/src/doomseeker/
doomseeker/build/src/core -I/home/wub/.local/src/doomseeker/doomseeker/src/core -I/home/wub/.local/src/doomseeker/doomseeker/src/wadseeker/.. 
-isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem 
/usr/inc
lude/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ 
-isystem /usr/include/x86_64-linux-gnu/qt5/QtMultimedia -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork 
-isyste
m /usr/include/x86_64-linux-gnu/qt5/QtXml -fPIC -std=gnu++11 -std=c++14 -Wall - < ''/tmp/nvimOLKu0d/3/mainwindow.cpp''']


<<<OUTPUT STARTS>>>
In file included from <stdin>:35:
/home/wub/.local/src/doomseeker/doomseeker/src/core/gui/checkwadsdlg.h:27:10: fatal error: ui_checkwadsdlg.h: 
No such file or directory
   27 | #include "ui_checkwadsdlg.h"
      |          ^~~~~~~~~~~~~~~~~~~
compilation terminated.
<<<OUTPUT ENDS>>>
No tags attached.
Issue History
2020-06-09 09:50WubTheCaptainNew Issue
2020-06-09 09:51WubTheCaptainSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=13197#r13197
2020-06-09 09:53WubTheCaptainSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=13198#r13198
2020-06-09 09:55WubTheCaptainSeveritytrivial => tweak
2020-06-09 09:56WubTheCaptainSeveritytweak => minor
2020-06-09 09:57WubTheCaptainAssigned To => WubTheCaptain
2020-06-09 09:57WubTheCaptainStatusnew => assigned
2020-06-09 10:01WubTheCaptainDescription Updatedbug_revision_view_page.php?rev_id=13200#r13200
2020-06-09 10:01WubTheCaptainSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=13201#r13201
2020-06-09 10:37WubTheCaptainNote Added: 0021456
2020-06-09 10:37WubTheCaptainPrioritylow => normal
2020-06-09 10:39WubTheCaptainNote Edited: 0021456bug_revision_view_page.php?bugnote_id=21456#r13206
2020-06-09 10:40WubTheCaptainAssigned ToWubTheCaptain =>
2020-06-09 10:40WubTheCaptainStatusassigned => new
2020-06-09 13:16ZalewaNote Added: 0021458
2020-06-09 14:11WubTheCaptainNote Added: 0021459
2020-06-09 14:11WubTheCaptainStatusnew => resolved
2020-06-09 14:11WubTheCaptainResolutionopen => won't fix
2020-06-09 14:11WubTheCaptainAssigned To => WubTheCaptain
2020-06-09 14:12WubTheCaptainNote Edited: 0021459bug_revision_view_page.php?bugnote_id=21459#r13208
2020-06-09 14:12WubTheCaptainResolutionwon't fix => invalid
2020-06-09 14:13WubTheCaptainNote Edited: 0021459bug_revision_view_page.php?bugnote_id=21459#r13209
2020-06-09 14:41WubTheCaptainResolutioninvalid => no change required
2021-08-07 16:52Blzut3Statusresolved => closed

Notes
(0021456)
WubTheCaptain   
2020-06-09 10:37   
(edited on: 2020-06-09 10:39)
I tried chasing down ui_checkwadsdlg.h with git show, git rev-list, git log --diff-filter=D --summary and git log --diff-filter=R --summary. I don't think a file named this was ever committed to the source tree.
There exists translations for them.
$ grep -r "ui_checkwadsdlg" src/
src/core/gui/checkwadsdlg.h:#include "ui_checkwadsdlg.h"
src/core/translations/ca_ES.ts:        <location filename="../../../build/src/core/ui_checkwadsdlg.h" 
line="69"/>
src/core/translations/ca_ES.ts:        <location filename="../../../build/src/core/ui_checkwadsdlg.h" 
line="70"/>
src/core/translations/pl_PL.ts:        <location filename="../../../../doomseeker-debug/src/core/ui_checkwadsdlg.h" 
line="72"/>
src/core/translations/pl_PL.ts:        <location filename="../../../../doomseeker-debug/src/core/ui_checkwadsdlg.h" 
line="73"/>
src/core/translations/es_ES.ts:        <location filename="../../../build/src/core/ui_checkwadsdlg.h" 
line="69"/>
src/core/translations/es_ES.ts:        <location filename="../../../build/src/core/ui_checkwadsdlg.h" 
line="70"/>

I'll chase this more in a few hours.

(0021458)
Zalewa   
2020-06-09 13:16   
This file, and many others in this project, is generated during compilation.
(0021459)
WubTheCaptain   
2020-06-09 14:11   
(edited on: 2020-06-09 14:13)
Quote from Zalewa
This file, and many others in this project, is generated during compilation.

I briefly noticed so, before I had to leave for those few hours.
'https://doc.qt.io/qt-5/qtwidgets-cmake-qt5-wrap-ui.html [^]'
'https://cmake.org/cmake/help/latest/manual/cmake-qt.7.html#autouic [^]'
Qt is hecking hard (and insanity).