Im having some compilation problems im trying to compile for Linux all Dependencies are met and I've tried about everything i can think of to get this to compile so here goes oh and im working with the latest from the public git repo
here's the output from the terminal
joshua@joshua-laptop:~/Desktop/dfhgit/dfhack/build$ cmake -DCMAKE_BUILD_TYPE:string=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DMEMXML_DATA_PATH:path=/usr/share/dfhack \ -BUILD_DFHACK_DOCUMENTATION=ON \ BUILD_DFHACK_EXAMPLES=ON \ BUILD_DFHACK_PLAYGROUND=ON ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- 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 Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/joshua/Desktop/dfhgit/dfhack/build
joshua@joshua-laptop:~/Desktop/dfhgit/dfhack/build$ make
-- Configuring done
-- Generating done
-- Build files have been written to: /home/joshua/Desktop/dfhgit/dfhack/build
Scanning dependencies of target dfhack
[ 1%] Building CXX object library/CMakeFiles/dfhack.dir/DFMemInfo.cpp.o
[ 3%] Building CXX object library/CMakeFiles/dfhack.dir/DFMemInfoManager.cpp.o
[ 4%] Building CXX object library/CMakeFiles/dfhack.dir/DFContextManager.cpp.o
[ 6%] Building CXX object library/CMakeFiles/dfhack.dir/DFContext.cpp.o
[ 7%] Building CXX object library/CMakeFiles/dfhack.dir/DFProcessEnumerator.cpp.o
[ 9%] Building CXX object library/CMakeFiles/dfhack.dir/ContextShared.cpp.o
[ 10%] Building CXX object library/CMakeFiles/dfhack.dir/depends/md5/md5.cpp.o
[ 12%] Building CXX object library/CMakeFiles/dfhack.dir/depends/md5/md5wrapper.cpp.o
[ 13%] Building CXX object library/CMakeFiles/dfhack.dir/depends/tinyxml/tinystr.cpp.o
[ 15%] Building CXX object library/CMakeFiles/dfhack.dir/depends/tinyxml/tinyxml.cpp.o
[ 16%] Building CXX object library/CMakeFiles/dfhack.dir/depends/tinyxml/tinyxmlerror.cpp.o
[ 18%] Building CXX object library/CMakeFiles/dfhack.dir/depends/tinyxml/tinyxmlparser.cpp.o
[ 19%] Building CXX object library/CMakeFiles/dfhack.dir/modules/Buildings.cpp.o
[ 21%] Building CXX object library/CMakeFiles/dfhack.dir/modules/Constructions.cpp.o
[ 22%] Building CXX object library/CMakeFiles/dfhack.dir/modules/Creatures.cpp.o
[ 24%] Building CXX object library/CMakeFiles/dfhack.dir/modules/Gui.cpp.o
[ 25%] Building CXX object library/CMakeFiles/dfhack.dir/modules/Items.cpp.o
[ 27%] Building CXX object library/CMakeFiles/dfhack.dir/modules/Maps.cpp.o
[ 28%] Building CXX object library/CMakeFiles/dfhack.dir/modules/Materials.cpp.o
[ 30%] Building CXX object library/CMakeFiles/dfhack.dir/modules/Position.cpp.o
[ 31%] Building CXX object library/CMakeFiles/dfhack.dir/modules/Translation.cpp.o
[ 33%] Building CXX object library/CMakeFiles/dfhack.dir/modules/Vegetation.cpp.o
[ 34%] Building CXX object library/CMakeFiles/dfhack.dir/modules/World.cpp.o
[ 36%] Building CXX object library/CMakeFiles/dfhack.dir/DFProcess-linux.cpp.o
/home/joshua/Desktop/dfhgit/dfhack/library/DFProcess-linux.cpp: In member function ‘virtual void DFHack::NormalProcess::getMemRanges(std::vector<DFHack::t_memrange, std::allocator<DFHack::t_memrange> >&)’:
/home/joshua/Desktop/dfhgit/dfhack/library/DFProcess-linux.cpp:186: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has type ‘uint32_t’
[ 37%] Building CXX object library/CMakeFiles/dfhack.dir/DFProcess-linux-SHM.cpp.o
/home/joshua/Desktop/dfhgit/dfhack/library/DFProcess-linux-SHM.cpp: In member function ‘void DFHack::SHMProcess::Private::FreeLocks()’:
/home/joshua/Desktop/dfhgit/dfhack/library/DFProcess-linux-SHM.cpp:178: warning: ignoring return value of ‘int lockf(int, int, __off_t)’, declared with attribute warn_unused_result
/home/joshua/Desktop/dfhgit/dfhack/library/DFProcess-linux-SHM.cpp: In member function ‘virtual void DFHack::SHMProcess::getMemRanges(std::vector<DFHack::t_memrange, std::allocator<DFHack::t_memrange> >&)’:
/home/joshua/Desktop/dfhgit/dfhack/library/DFProcess-linux-SHM.cpp:389: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has type ‘pid_t’
[ 39%] Building CXX object library/CMakeFiles/dfhack.dir/DFProcess-linux-wine.cpp.o
/home/joshua/Desktop/dfhgit/dfhack/library/DFProcess-linux-wine.cpp: In member function ‘virtual void DFHack::WineProcess::getMemRanges(std::vector<DFHack::t_memrange, std::allocator<DFHack::t_memrange> >&)’:
/home/joshua/Desktop/dfhgit/dfhack/library/DFProcess-linux-wine.cpp:198: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has type ‘uint32_t’
[ 40%] Building CXX object library/CMakeFiles/dfhack.dir/modules/WindowIO-linux.cpp.o
[ 42%] Building CXX object library/CMakeFiles/dfhack.dir/DFContext_C.cpp.o
[ 43%] Building CXX object library/CMakeFiles/dfhack.dir/DFTypes_C.cpp.o
[ 45%] Building CXX object library/CMakeFiles/dfhack.dir/modules/Buildings_C.cpp.o
[ 46%] Building CXX object library/CMakeFiles/dfhack.dir/modules/Constructions_C.cpp.o
[ 48%] Building CXX object library/CMakeFiles/dfhack.dir/modules/Creatures_C.cpp.o
[ 50%] Building CXX object library/CMakeFiles/dfhack.dir/modules/Gui_C.cpp.o
[ 51%] Building CXX object library/CMakeFiles/dfhack.dir/modules/Items_C.cpp.o
[ 53%] Building CXX object library/CMakeFiles/dfhack.dir/modules/Maps_C.cpp.o
[ 54%] Building CXX object library/CMakeFiles/dfhack.dir/modules/Position_C.cpp.o
[ 56%] Building CXX object library/CMakeFiles/dfhack.dir/modules/Materials_C.cpp.o
[ 57%] Building CXX object library/CMakeFiles/dfhack.dir/modules/Translation_C.cpp.o
[ 59%] Building CXX object library/CMakeFiles/dfhack.dir/modules/Vegetation_C.cpp.o
[ 60%] Building CXX object library/CMakeFiles/dfhack.dir/modules/WindowIO_C.cpp.o
[ 62%] Building CXX object library/CMakeFiles/dfhack.dir/modules/World_C.cpp.o
Linking CXX shared library ../../output/libdfhack.so
[ 62%] Built target dfhack
[ 63%] Generating qrc_resources.cxx
[ 65%] Generating dfedit.moc
[ 66%] Generating memxmlModel.moc
Scanning dependencies of target dfoffsetedit
[ 68%] Building CXX object offsetedit/src/CMakeFiles/dfoffsetedit.dir/dfedit.cpp.o
In file included from /home/joshua/Desktop/dfhgit/dfhack/offsetedit/src/dfedit.cpp:1:
/home/joshua/Desktop/dfhgit/dfhack/offsetedit/src/dfedit.h:5:21: error: ui_main.h: No such file or directory
In file included from /home/joshua/Desktop/dfhgit/dfhack/offsetedit/src/dfedit.cpp:1:
/home/joshua/Desktop/dfhgit/dfhack/offsetedit/src/dfedit.h:16: error: ‘Ui’ has not been declared
/home/joshua/Desktop/dfhgit/dfhack/offsetedit/src/dfedit.h:16: error: ISO C++ forbids declaration of ‘MainWindow’ with no type
/home/joshua/Desktop/dfhgit/dfhack/offsetedit/src/dfedit.h:16: error: expected ‘;’ before ‘ui’
/home/joshua/Desktop/dfhgit/dfhack/offsetedit/src/dfedit.cpp: In constructor ‘dfedit::dfedit(QWidget*)’:
/home/joshua/Desktop/dfhgit/dfhack/offsetedit/src/dfedit.cpp:8: error: ‘ui’ was not declared in this scope
/home/joshua/Desktop/dfhgit/dfhack/offsetedit/src/dfedit.cpp: In member function ‘void dfedit::slotOpen(bool)’:
/home/joshua/Desktop/dfhgit/dfhack/offsetedit/src/dfedit.cpp:53: error: ‘ui’ was not declared in this scope
make[2]: *** [offsetedit/src/CMakeFiles/dfoffsetedit.dir/dfedit.cpp.o] Error 1
make[1]: *** [offsetedit/src/CMakeFiles/dfoffsetedit.dir/all] Error 2
make: *** [all] Error 2
ok so everythings going good with the exception of a few warnings untill i hit this line
[ 68%] Building CXX object offsetedit/src/CMakeFiles/dfoffsetedit.dir/dfedit.cpp.o
the error chain that follows is what ends up causing the fatal error all because of the missing file ui_main.h that's included by dfedit.h that''s included by dfedit.cpp in the whole dfoffsetedit thing now the rest of the project does compile properly i went into the build/library and build/tools and build/docs folders and did make in each and it got though the compilation of those parts and put the resulting files in the output/ folder as expected though i havent tested them now i checked the entire source tree and i couldn't find an ui_main.h or ui_main.cpp or anything like that and it's not in the dwarf fortress game folder either so yeah it feels like im missing something stupid simple so any help would be much appreciated