Linux make failed

wic

10-11-2006 17:43:08

With http://tuan.kuranes.free.fr/OgreOde.zip downloaded Fri Nov 10 18:38:54.

Gentoo linux on x86, ode-0.6-r1, ogre-1.2.3


$ sh autogen.sh
$ ./configure
$ make

...

make[2]: *** No rule to make target `../ode/ode/src/libode.a', needed by `libOgreOde_Core.la'. Stop.
make[2]: Leaving directory `ogreode/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `ogreode'
make: *** [all] Error 2


Please advice.

Skandal

13-11-2006 14:19:29

Hi! I think there's two ways to solve this

1/ Enter the local ode directory, run ./autogen.sh and or ./configure and make. Afterwards the makefile should be able to locate libode.a in your local directory structure.

2/ Install ode globaly from source or using your package manager, edit your src/Makefile.am and change relevant includes etc. so that they point towards the globally installed libraries and includes.

I solved it using the 2 approach.

Good Luck :)

Edit: If you edit Makefile.am you probably need to rerun ./autogen.sh so it can generate a new Makefile for you.