horsicq / XELFViewer

ELF file viewer/editor for Windows, Linux and MacOS.
http://ntinfo.biz
MIT License
1.37k stars 118 forks source link

Missing include directory. #32

Closed utoni closed 2 years ago

utoni commented 2 years ago

While trying to compile&use this pretty neat tool, I've stumbled on the following build error (probably caused by a missing include directory):

cd /home/toni/git/XELFViewer/build/gui_source && /usr/bin/c++ -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_PRINTSUPPORT_LIB -DQT_SCRIPTTOOLS_LIB -DQT_SCRIPT_LIB -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQWT_MOC_INCLUDE=1 -DUSE_ARCHIVE -DUSE_DEX -DUSE_PDF -DXQWT_PRESENT -I/home/toni/git/XELFViewer/build/gui_source -I/home/toni/git/XELFViewer/gui_source -I/home/toni/git/XELFViewer/build/gui_source/xelfviewer_autogen/include -I/home/toni/git/XELFViewer/FormatWidgets/ELF -I/home/toni/git/XELFViewer/FormatWidgets -I/home/toni/git/XELFViewer/XCppfilt -I/home/toni/git/XELFViewer/XCppfilt/3rdparty/cppfilt/src -I/home/toni/git/XELFViewer/FormatWidgets/SearchSignatures -I/home/toni/git/XELFViewer/FormatWidgets/MultiSearch -I/home/toni/git/XELFViewer/FormatWidgets/SearchStrings -I/home/toni/git/XELFViewer/FormatDialogs -I/home/toni/git/XELFViewer/Controls -I/home/toni/git/XELFViewer/XHexView -I/home/toni/git/XELFViewer/XShortcuts -I/home/toni/git/XELFViewer/XInfoDB -I/home/toni/git/XELFViewer/XOptions -I/home/toni/git/XELFViewer/Formats -I/home/toni/git/XELFViewer/XHexEdit -I/home/toni/git/XELFViewer/XMemoryMapWidget -I/home/toni/git/XELFViewer/XEntropyWidget -I/home/toni/git/XELFViewer/XQwt/3rdparty/qwt/src -I/home/toni/git/XELFViewer/StaticScan -I/home/toni/git/XELFViewer/SpecAbstract -I/home/toni/git/XELFViewer/XDEX -I/home/toni/git/XELFViewer/XPDF -I/home/toni/git/XELFViewer/XArchive -I/home/toni/git/XELFViewer/XArchive/3rdparty/bzip2/src -I/home/toni/git/XELFViewer/XArchive/3rdparty/lzma/src -I/home/toni/git/XELFViewer/XArchive/3rdparty/zlib/src -I/home/toni/git/XELFViewer/XHashWidget -I/home/toni/git/XELFViewer/XDisasmView -I/home/toni/git/XELFViewer/XCapstone -I/home/toni/git/XELFViewer/XCapstone/3rdparty/Capstone/src/include -I/home/toni/git/XELFViewer/XSymbolsWidget -I/home/toni/git/XELFViewer/XDemangleWidget -I/home/toni/git/XELFViewer/XDemangle -I/home/toni/git/XELFViewer/XDemangle/../XLLVMDemangler/3rdparty -I/home/toni/git/XELFViewer/XDemangle/../XLLVMDemangler/3rdparty/llvm/Demangle -I/home/toni/git/XELFViewer/XFileInfo -I/home/toni/git/XELFViewer/XOnlineTools -I/home/toni/git/XELFViewer/XExtractorWidget -I/home/toni/git/XELFViewer/XExtractor -I/home/toni/git/XELFViewer/XAboutWidget -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/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/QtConcurrent -isystem /usr/include/x86_64-linux-gnu/qt5/QtOpenGL -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtScript -isystem /usr/include/x86_64-linux-gnu/qt5/QtScriptTools -fPIC -std=gnu++11 -o CMakeFiles/xelfviewer.dir/xelfviewer_autogen/mocs_compilation.cpp.o -c /home/toni/git/XELFViewer/build/gui_source/xelfviewer_autogen/mocs_compilation.cpp
In file included from /home/toni/git/XELFViewer/build/gui_source/xelfviewer_autogen/EWIEGA46WW/moc_guimainwindow.cpp:10,
                 from /home/toni/git/XELFViewer/build/gui_source/xelfviewer_autogen/mocs_compilation.cpp:126:
/home/toni/git/XELFViewer/build/gui_source/xelfviewer_autogen/EWIEGA46WW/../../../../gui_source/guimainwindow.h:33:10: fatal error: dialogarchive.h: No such file or directory
   33 | #include "dialogarchive.h"
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
horsicq commented 2 years ago

Thanks a lot for the report. Fixed.