Compiling WITH ode from tuhopuu2

hey guys
do you know a way to compile blender (2.28 ) with ode game engine support? Maybe this question is f00lish, cuz I somehow know it isn’t possible. just a simple yes or no :slight_smile:

Yes, I do it all the time. :smiley:

so you got a howto?
EDIT
please :slight_smile:
-> b4 I’m going to bed… so I could compile over night

uncomment the line

CFLAGS += -DGAMEBLENDER=1

in source/nan_compile.mk
(it is shown uncommented above. It is about line 41)

and recompile. the solid engine isn’t back yet, so you will use the awkward (and incomplete in implementation) ODE or something else (enji?).

Hmmm,

It’s easier to just compile it, and trouble shoot until it goes.

  1. Getting ODE:
    You need a more recent ODE.
    cvs -d:pserver:[email protected]:/cvsroot/opende login
    There is no password; when prompted for a password, hit enter.
    cvs -z3 -d:pserver:[email protected]:/cvsroot/opende co ode
    Hos is also putting precompiled ODE in the Blender CVS tree at source/kesterji/ode/PLATFORMNAME

  2. Compiling ODE: in the ODE directory
    copy config/user-settings.example to config/user-settings and edit:
    PRECISION=SINGLE
    OPCODE_DIRECTORY=OPCODE
    Build Opcode:
    cd OPCODE && make
    The easiest way to deal with opcode is to symlink lib/libopcode.a to OPCODE/libopcode.a On platforms without symlinks, you can copy it.
    Build ODE with make.

  3. Configure Blender:
    Make sure CFLAGS += -DGAMEBLENDER=1 is uncommented in source/nan_compile.mk
    And add
    export NAN_KESTERJI ?= true
    below

First generic defaults for all platforms which should be constant.

Note: ?= lets these defaults be overruled by environment variables,

  1. Build Blender.
    Build with Make. Voodoo chants, the phase of the moon etc all help here.

I think Auto* is currently broken in the tuhopuu2 tree?? I’ll try and update that tonight.

Good Luck.

thx very much… I’m compiling this today. hope the emerge command (gentoolinux) won’t make any problems.

cu
EDIT
seem to work so far. compiling blender now :slight_smile:

umm… there is no ebuild for tuhopuu :-? someone should make one…

well I dont see the ebuild for 2.28a :slight_smile: shall I create one, or is there anyone outthere? :wink:

you can do it :smiley:

doh! :wink: okai… this evening… gotta go to church first :wink: no but I really got something to do today :slight_smile:

oke ebuild not written :). but another question… I really made this editings and I still get the “Gameengine has been disabled in this version”.

I said, I’m working on 2.28! is this possible? -> cvs version. strange is… I downloaded the newest cvs tree, but I dont get 2.28a… just 2.28 :frowning:

cu

If you want the latest ODE gameengine stuff, checkout tuhopuu2. If you have already built Blender and then tried to turn on the game engine, you might have to make clean and rebuild.

oke… so tuhopuu2 will be my choice :slight_smile: thx
do you know a cvs for tuhopuu… or “just” the normal blender.org project?

I do not belive it :slight_smile:

I just compiled tuhopuu… same thingy. I guess I have to execute make clean first.

it’s just! aaaaaaahh… damit! :wink:

Tuhopuu2 CVS:
cvs -d:pserver:[email protected]:/cvsroot/tuhopuu login
Hit enter when prompted for a password (there is no password.)
cvs -z3 -d:pserver:[email protected]:/cvsroot/tuhopuu co tuhopuu2

You get “Gameengine has been disabled in this version.” when the -DGAMEBLENDER=1 line is commented out.

I know. It is uncommented. plus I added
export NAN_KESTERJI ?= true