Compiling Hydrax 0.5
May 29th, 2009
2 comments
Here are some instructions on how to get the libHydrax.so to compile on your system. These instructions work for Ubuntu Linux and the Code::Blocks IDE.
start by getting the rar here :
wget http://modclub.rigsofrods.com/xavi/Hydrax-v0.5.rar
extracted Hydrax-v0.5.rar open Hydrax/Hydrax.cbp in projects->build options in Hydrax, compiler settings>other options remove -mthreads in Hydrax, compiler settings>#defines remove WIN32 and _WINDOWS in projects->properties in the libraries tab add OGRE added file Hydrax.cpp and removed hydrax.cpp from the project removed Structs.cpp removed this from linker settings: -Wl,--enable-runtime-pseudo-reloc -Wl,--enable-auto-image-base -Wl,--add-stdcall-alias apply fix from here http://www.ogre3d.org/forums/viewtopic.php?p=284091&sid=ce193664e1d3d7c4af509e6f4e2718c6 it's the one where you change things from 1d to 2d etc. build compile copy hydrax.so that was created from /wherever/Hydrax-v0.5/Hydrax/bin/Release into /usr/local/lib/ as libHydrax.so
This should score you the library.
More to come on how to get the demo rolling.