Right. I saw that the linux section on
EnhSim: Compiling and building EnhSim is empty so I figured that I'd make a blob of what I do to compile EnhSim. Did this on my new EEE so none of the old library magic I did on previous versions should be present(and jesus this keyboard is tiny).
ZThread
1. Download ZThread from
http://zthread.sourceforge.net/download.html
2, Unpack and change into the new directory.
3. ZThread seems to do some stunts which gcc doesn't like, so do:
export CXXFLAGS="-fpermissive"
4.
./configure && make && sudo make install
ZThread should now be installed under /usr/local.
Boost
I cheated hee and just installed Ubuntu's binaries.
1.
sudo apt-get install libboost-dev
~150MB, but I have no idea what parts EnhSim uses and gcc gets bitchy without the binaries. After this, boost should be done.
EnhSim
1. Unpack and move into the source sub-dir
2.
g++ -pthread -I./boost *.cpp /usr/local/lib/libZThread.a -o enhsim
Something is changed since earlier releases as I had to work a bit to get gcc to accept boost, but the above works. Use the binary like the wintendo client:
./enhsim config.txt.
I haven't fiddled with OSX in a while, but I see no reason this shouldn't work with a gcc environment set up. It is a UNIX after all.
TODO:
Optimizations - The client is slower than the pre-built binary. Maybe -O2 or 3 is enough. Have to test it on a proper machine.