svn r1545 build error

slackydeb
Posts: 14
Joined: Sat Aug 09, 2008 7:15 pm

svn r1545 build error

Post by slackydeb »

Hi.


I tried to compile svn r1545 on Debian GNU/Linux testing "Lenny" on X86 32bit using cmake/make/gcc.

I got this error:

Code: Select all

[  0%] Building CXX object Demos/OpenGL/CMakeFiles/OpenGLSupport.dir/GL_ShapeDrawer.o
In file included from [bullet_root]/src/LinearMath/btVector3.h:24,
                 from [bullet_root]/Demos/OpenGL/GL_ShapeDrawer.h:21,
                 from [bullet_root]/Demos/OpenGL/GL_ShapeDrawer.cpp:30:
/usr/lib/gcc/i486-linux-gnu/4.3.2/include/emmintrin.h:34:3: error: #error "SSE2 instruction set not enabled"
make[2]: *** [Demos/OpenGL/CMakeFiles/OpenGLSupport.dir/GL_ShapeDrawer.o] Error 1
make[1]: *** [Demos/OpenGL/CMakeFiles/OpenGLSupport.dir/all] Error 2
make: *** [all] Error 2

I used:
cmake . -DCONSTRAINT_SOLVER_IS_BEING_REFACTORED_DURING_DECEMBER_2008:BOOL=ON -G "Unix Makefiles"
make
The output of "cat CMakeCache.txt | grep 2008" in Bullet root is:
CONSTRAINT_SOLVER_IS_BEING_REFACTORED_DURING_DECEMBER_2008:BOOL=ON

Thanks for your work.
slackydeb
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: svn r1545 build error

Post by Erwin Coumans »

The SIMD/SSE intrinsic header issue has been fixed:
http://code.google.com/p/bullet/source/detail?r=1546

Please don't define 'CONSTRAINT_SOLVER_IS_BEING_REFACTORED_DURING_DECEMBER_2008'. It was explicitly put in place to avoid compiling those files. The define will be removed after the refactoring is over, very soon.

Hope this helps,
Erwin
slackydeb
Posts: 14
Joined: Sat Aug 09, 2008 7:15 pm

Re: svn r1545 build error

Post by slackydeb »

Erwin Coumans wrote: The SIMD/SSE intrinsic header issue has been fixed:
Thanks.

Erwin Coumans wrote: Please don't define 'CONSTRAINT_SOLVER_IS_BEING_REFACTORED_DURING_DECEMBER_2008'. It was explicitly put in place to avoid compiling those files. The define will be removed after the refactoring is over, very soon.
In my previous post I forgot to say that I also tried to build without this define, without success.



I managed to build svn r1547.
I noticed that GenericJointDemo is less stable than in release 2.73.



slackydeb
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: svn r1545 build error

Post by Erwin Coumans »

I noticed that GenericJointDemo is less stable than in release 2.73.
The constaint solver is undergoing refactoring (and major optimizations), the issues with the latest SVN trunk should be fixed soon.

Thanks for the feedback,
Erwin