Home > programming > Compiling Hydrax 0.5

Compiling Hydrax 0.5

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.

Categories: programming Tags: , ,
  1. novato
    July 28th, 2009 at 13:24 | #1

    Hi, You can upload the compiled files?, and modified .cbp and source for compiling?
    please T-T
    Sorry for my english, I speak spanish.
    I need working with hydrax.
    my processor is amd63, this affect?

  2. ramy
    August 3rd, 2009 at 17:46 | #2

    @novato
    hey novato, i don’t think anyone on our team is using a 64bit system. sorry.

  1. No trackbacks yet.