Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - chessepuff

Pages: [1]
1
Utilities and 3rd Party Applications / Re: DFHack 0.34.07 r1
« on: March 31, 2012, 01:10:19 am »
I'm intrigued by autolabor and would like to try it but I am wondering whether it will restore the labor settings i had before i turned it on when i turn it off documentation on the plugin is non existent and not even the comments in the code say anything about this
No, it won't. It will screw up all your labor settings and not put them back.
Thanks thats what i kinda figured i spent to much time with dgc to do that ah well maybe in a future release

2
Utilities and 3rd Party Applications / Re: DFHack 0.34.07 r1
« on: March 30, 2012, 11:27:22 pm »
I'm intrigued by autolabor and would like to try it but I am wondering whether it will restore the labor settings i had before i turned it on when i turn it off documentation on the plugin is non existent and not even the comments in the code say anything about this

3
DF Modding / Re: DFHack 0.4.0.5 - tools and memory access library
« on: August 14, 2010, 03:33:07 pm »
Ahh ok that makes sense now yeah the new one compiles just fine thanks for the update and for the great tool

4
DF Modding / Re: DFHack 0.4.0.5 - tools and memory access library
« on: August 14, 2010, 07:11:42 am »
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

Code: [Select]
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

Pages: [1]