Dash, I have Ubuntu 12.04 as well, and ExpHP told my to cp the executable from /bin/release to the main folder like so:
cd to your DT folder (mine is called Dwarf-Therapist-2014, but change the name to whatever yours is)
'cp Dwarf-Therapist-2014/bin/release/DwarfTherapist Dwarf-Therapist-2014'
then run from your home directory like so 'sudo ./Dwarf-Therapist-2014/DwarfTherapist'
Apparantly, DT is having trouble finding some files when run from the original folder.
Hi, thanks for this. I''ve heard it's not a good idea to run games with sudo though right? Does DT count as a game or a possible risk? Nvm The method I used also requires admin apparently (though it didn't the first time I loaded it), so if this easier method works, I guess it's better :p .
I've got DT working at last anyway following advice over on SA forums. I had to compile my own version of DT for Ubuntu 12.04 as well as download the qt5 library it needs, thankfully this is pretty easy (when you know how :p).
So for anybody having trouble running new version of DT on Ubuntu 12.04:
First get the qt-5 packages you need - you can get these by following instructions
]here, then running :
sudo apt-get install qtchooser qtbase5-dev qtbase5-dev-tools qtscript5-dev qt5-qmake libqt5script5 libqt5scripttools5 libqxt-core0 libqxt-gui0
sudo apt-get update and upgrade, and you should now have your libraries. DT will still throw an error
./DwarfTherapist: symbol lookup error: ./DwarfTherapist: undefined symbol: _ZN11QHeaderView10setVisibleEb
And the solution to this is to compile your own DF version that knows where your qt5 is (I think that's the idea... point is, it makes DT work). This was extremely helpfully put in simple terms for people like me by SA poster babies havin rabies:
Edit: I had some time to kill this morning, so I installed 12.04 into a VM and downloaded that PPA's packages. Same error. I then tried putting Trusty's main restricted repositories into sources.list and re-downloading the packages, however I got the same error. The only way I got DT to run was by building from source, and it started right up this time. The instructions for building are here and in case you're unfamiliar with installing from source I think the following commands will work for you:
https://github.com/splintermind/Dwarf-Therapist/blob/master/BUILDING.txt
sudo apt-get install git make build-essential
git clone git://github.com/splintermind/Dwarf-Therapist.git
cd Dwarf-Therapist
qmake -qt=5
make
(Compiling will take a while)
sudo make install
cd /usr/bin
sh dwarftherapist
It only comes with 34.11 memory layouts, so after this you will want to copy the contents of your LNP DT memory_layouts folder in
[Location of LNP]/LNP/utilities/dwarftherapist/etc/memory_layouts/linux
- to -
/usr/share/dwarftherapist/etc/memorylayouts/linux
You will likely need to do this as root.
What I think is going on is that the binary that ships with LNP is simply compiled on 14.04 or something similar and the binary does not know where to look for QT5 on any other setup. If this is the case it is likely the reason why the actual github page does not provide a Linux binary as with Win/OSX.
Worked like a charm, except I had to copy the memory layouts from the standalone download of DT not the one in the LNP (which didn't have the file for 40.05).And can now start DT. Yay!
Thanks all.