Page 1 of 1

Bullet 2.40 Physics SDK released: optional double precision

Posted: Sat Dec 16, 2006 6:56 am
by Erwin Coumans
Although no SIMD yet (hopefully soon), Bullet 2.40 has the following features:

Preliminary new features:
- test for optional double precision
add a #DEFINE BT_USE_DOUBLE_PRECISION 1 at the top of LinearMath/btScalar.h, or add this define in the build system/projectfiles.
- test for motors, see hinge and ConstraintDemo
- test for make
./autogen.sh, configure will generate Makefile AND Jamfile
- constraint solver mixes contact and non-contact constraints inside the iteration loop. This used to be 2 separate loops. Mixing will lead to better behaviour during collisions that involve constraints like ball-socket, hinge or generic 6dof.

Download:
http://www.continuousphysics.com/mediaw ... e=Download

Thanks for the contributions, gunner10 and Joerg.
Erwin

Posted: Sun Dec 24, 2006 3:17 pm
by Dragonlord
I tried compiling this package but it fails.

Code: Select all

./autogen.sh
(...)
configure.ac:28: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
Makefile.am: required file `./ChangeLog' not found
Makefile.am:1: directory should not contain `/'
+ echo 'Running autoheader'
Running autoheader
+ autoheader
+ rc=0
+ test 0 -eq 0
+ echo 'Running autoconf'
Running autoconf
+ autoconf
configure.ac:75: error: possibly undefined macro: _AC_SRCPATHS
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
+ rc=1
+ exit 1
The rest doesn't work neither ( ./configure fails and there's no jam config file ).

autoconf (GNU Autoconf) 2.60

Deleting lines 70 up to 82 in configure.ac solves this problem but is a rather ugly hack.

Posted: Sun Dec 24, 2006 10:23 pm
by Erwin Coumans
If autotools/configure doesn't work, please use CMake instead, or the provided Microsoft visual studio projectfiles.

In the meanwhile, we are working on fixing autogen.sh/configure.ac so it creates both make/Makefile and jam/Jamfile.

Any help in this area is welcome!
Thanks for the feedback,
Erwin

Posted: Mon Dec 25, 2006 8:44 pm
by Erwin Coumans
OK, reverted to old jam build system, without the changed to support 'make', until things work properly. See Bullet 2.41.tgz.

Thanks,
Erwin


Dragonlord wrote:I tried compiling this package but it fails.

Code: Select all

./autogen.sh
(...)
configure.ac:28: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
Makefile.am: required file `./ChangeLog' not found
Makefile.am:1: directory should not contain `/'
+ echo 'Running autoheader'
Running autoheader
+ autoheader
+ rc=0
+ test 0 -eq 0
+ echo 'Running autoconf'
Running autoconf
+ autoconf
configure.ac:75: error: possibly undefined macro: _AC_SRCPATHS
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
+ rc=1
+ exit 1
The rest doesn't work neither ( ./configure fails and there's no jam config file ).

autoconf (GNU Autoconf) 2.60

Deleting lines 70 up to 82 in configure.ac solves this problem but is a rather ugly hack.