Hello Andrew,

Andrew Dunk wrote:
> I am trying to compile the contrib physics for OpenSG 1.8.
> I'm not sure but it might be something that has changed with ode as I 
> don't recall having this problem in the past.
> 
> You now have to specify either -DdSINGLE or -DdDOUPLE flags for single 
> or double precision for the ode library, but I cant find a way to do it 
> with openSG's configure script, and I don't know autotools well enough 
> to edit it myself.

hm, I never understood the configure based build system very well and 
it's been quite a while since I last looked at it. I just tried getting 
this in, but could not figure out how to do it properly :(
As a horrible hack/workaround you can try the following, which worked 
for me:

Open the file Common/common.x86_64-unknown-linux-gnu-g++.mk (or 
something similar depending on your system) and find the line

DEFINES     = $(SOURCE_DEFINES) $(SYSTEM_DEFINES) $(DEP_PLATTFORMDEF)

and append -DdSINGLE to it.
It's not pretty and rerunning configure probably destroys that change 
(you could try making it in 
CommonConf/common.x86_64-unknown-linux-gnu-g++.in instead), but it might 
get you rolling.
Hopefully someone here remembers how to add a package specific define to 
the build?

        Cheers,
                Carsten

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to