[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

libode0-dev (1:0.7-1), trimeshes



Hi,

I found a game that seems to be nice (Sturmbahnfahrer 1.4, http://www.sturmbahnfahrer.com/ ), but I seem to have problems compiling it against libode0-dev
(version 1:0.7-1, currently in experimental). I'm getting the following errors:

/home/miriam/sturmbahnfahrer/sturmbahnfahrer-1.4/src-sturmbahnfahrer/../src-common/staticworldobject.cxx:87: undefined reference to `dGeomTriMeshDataCreate'
/home/miriam/sturmbahnfahrer/sturmbahnfahrer-1.4/src-sturmbahnfahrer/../src-common/staticworldobject.cxx:98: undefined reference to `dGeomTriMeshDataBuildSingle'
/home/miriam/sturmbahnfahrer/sturmbahnfahrer-1.4 /src-sturmbahnfahrer/../src-common/staticworldobject.cxx:100: undefined reference to `dCreateTriMesh'
staticworldobject.o: In function `~StaticWorldObject':
/home/miriam/sturmbahnfahrer/sturmbahnfahrer-1.4/src-sturmbahnfahrer/../src-common/staticworldobject.cxx:29: undefined reference to `dGeomTriMeshDataDestroy'
/home/miriam/sturmbahnfahrer/sturmbahnfahrer-1.4/src-sturmbahnfahrer/../src-common/staticworldobject.cxx:29: undefined reference to `dGeomTriMeshDataDestroy'
/home/miriam/sturmbahnfahrer/sturmbahnfahrer-1.4/src-sturmbahnfahrer/../src-common/staticworldobject.cxx:29: undefined reference to `dGeomTriMeshDataDestroy'

According to many web pages out there, when googling (eg. http://forum.racesimcentral.com/archive/index.php?t-194886.html ), this might be solved by changing #OPCODE_DIRECTORY=OPCODE to OPCODE_DIRECTORY=OPCODE in ode/config/user-settings.

"""
Gentoo automatically patches ODE the way Heson says in order to support trimeshes. Part of the gentoo scripts for Ode building:
sed -i -e "s/#OPCODE_DIRECTORY/OPCODE_DIRECTORY/" config/user-settings
sed -i -e 's/..\/..\/drawstuff\/textures/.\//' ode/test/*.c*
sed -i -e 's/fn.path_to_textures = 0/fn.path_to_textures = ".\/"/' drawstuff/dstest/dstest.cpp
"""

Is this a possibility? Could we do that too? Will it break anything?

Greetings and thanks,
Miry



Reply to: