OSX Build Error: Tpo to Plo

64 views
Skip to first unread message

Erik

unread,
Feb 2, 2012, 3:52:13 PM2/2/12
to ode-users
Hi all,

I saw an older thread about this issue, but saw no resolution. My
error is slightly different, so I thought it merited a new post.

Here is the error I am seeing:

Making all in Ice
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -
I. -I../../ode/src -I ../../OPCODE -I ../../include -DdDOUBLE -
DdNODEBUG -g -O2 -MT IceAABB.lo -MD -MP -MF .deps/IceAABB.Tpo -c -o
IceAABB.lo IceAABB.cpp
mv -f .deps/IceAABB.Tpo .deps/IceAABB.Plo
mv: rename .deps/IceAABB.Tpo to .deps/IceAABB.Plo: No such file or
directory
make[2]: *** [IceAABB.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

My libtool/automake/autoconf are all the correct version (according to
the 'How to build for OS X' thread), and I am using the head revision
of the trunk (it compiles just fine on a colleague's machine).

I have a relatively new MacBook Pro, running OS X Lion. XCode 4 is
also installed, though I'm building from the command line.

Here is my process:

make distclean

sh autogen.sh

./configure --enable-double-precision --with-trimesh=opcode --prefix=
$HOME --with-drawstuff=X11 --disable-asserts --disable-demos

make

> error message from above

My colleague uses the following config line (I tried the other one
because it was suggested in another thread):

./configure --enable-double-precision --prefix=$HOME --disable-asserts
make

When I run that, I see the following:

Making all in src
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -
I. -I../../ode/src -I../../include -DDEFAULT_PATH_TO_TEXTURES='"../../
drawstuff/textures/"' -DdDOUBLE -DdNODEBUG -g -O2 -MT drawstuff.lo -
MD -MP -MF .deps/drawstuff.Tpo -c -o drawstuff.lo drawstuff.cpp
mv -f .deps/drawstuff.Tpo .deps/drawstuff.Plo
mv: rename .deps/drawstuff.Tpo to .deps/drawstuff.Plo: No such file or
directory
make[2]: *** [drawstuff.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1


Needless to say, this is frustrating the hell out of me. The only
difference that I am aware of between my setup and my colleague's is
hardware architecture...we're both running Lion and have the same
libraries installed, but his MacBook is slightly older.

Any thoughts or advice are greatly appreciated!



Danny Price

unread,
Feb 2, 2012, 3:56:38 PM2/2/12
to ode-...@googlegroups.com
Shouldn't you be using GLUT for drawstuff on OSX?

> --
> You received this message because you are subscribed to the Google Groups "ode-users" group.
> To post to this group, send email to ode-...@googlegroups.com.
> To unsubscribe from this group, send email to ode-users+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/ode-users?hl=en.
>

Erik

unread,
Feb 2, 2012, 8:55:39 PM2/2/12
to ode-users
Are you talking about adding a flag for with-drawstuff=GLUT?

If so, exact same error as the topmost error (IceAABB)

Danny Price

unread,
Feb 3, 2012, 6:18:09 AM2/3/12
to ode-...@googlegroups.com
I have binaries built on Snow Leopard if you're interested, although not from the latest trunk. They should work on Lion.

I'm in the process of updating my MBA to Lion and I'm not particularly looking forward to coaxing ODE to build on that.

Danny Price

unread,
Feb 3, 2012, 5:42:41 PM2/3/12
to ode-...@googlegroups.com
Right I have ODE building on Lion with default configuration + double precision (had to update autoconfig, automake etc).

Can I suggest using the default options?

Erik

unread,
Feb 3, 2012, 9:48:56 PM2/3/12
to ode-users
Hmm, the binaries might be a last ditch attempt...I'd much rather be
able to build from source (ode 0.11.1)

Here is a default option run:

make distclean
sh autogen.sh
./configure
....

Configuration:
Build system type: i386-apple-darwin11.2.0
Host system type: i386-apple-darwin11.2.0
Use double precision: no
Use drawstuff: OSX
Demos enabled: yes
Use OPCODE: yes
Use GIMPACT: no
Is target a Pentium: no
Is target x86-64: no
Use old opcode trimesh collider: no
TLS for global data: no
Enable debug error check: yes
Headers will be installed in ${prefix}/include/ode
Libraries will be installed in ${exec_prefix}/lib
Building in directory /Users/erik/research/ode-0.11.1

make
...

Making all in include
Making all in ode
make[2]: Nothing to be done for `all'.
Making all in drawstuff
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all-am'.
Making all in drawstuff
Making all in src
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -
I. -I../../ode/src -I../../include -DDEFAULT_PATH_TO_TEXTURES='"../../
drawstuff/textures/"' -DdSINGLE -g -O2 -MT drawstuff.lo -MD -MP -
MF .deps/drawstuff.Tpo -c -o drawstuff.lo drawstuff.cpp
mv -f .deps/drawstuff.Tpo .deps/drawstuff.Plo
mv: rename .deps/drawstuff.Tpo to .deps/drawstuff.Plo: No such file or
directory
make[2]: *** [drawstuff.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1


Danny Price

unread,
Feb 4, 2012, 8:52:05 AM2/4/12
to ode-...@googlegroups.com
Oh I assumed you were building from svn not from the old 0.11.1 snapshot! That didn't work on snow leopard never mind lion

Danny Price

unread,
Feb 4, 2012, 2:07:29 PM2/4/12
to ode-...@googlegroups.com
Oh I assumed you were building from svn not from the old 0.11.1 snapshot! That didn't work on snow leopard never mind lion

On 4 Feb 2012, at 02:48, Erik wrote:

Erik

unread,
Feb 4, 2012, 2:24:22 PM2/4/12
to ode-users
Ok, I have no idea what's going on....I pulled the latest trunk
revision and built it (as I had before), and now it is working.
I suppose, thanks for all of your responses...if I ever need to build
again I'll just ask you and it will start automagically working ;)

Thanks!
Reply all
Reply to author
Forward
0 new messages