lianlab / bullet

Automatically exported from code.google.com/p/bullet
0 stars 0 forks source link

LinearMath can't build on platforms only supporting double precision (windows mobile) #200

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. build a project from windows mobile (must use BT_USE_DOUBLE_PRECISION)

What is the expected output? What do you see instead?
Expected to build, instead:
1>..\lib\bullet\src\LinearMath\btConvexHull.cpp(266) : error C3861: 'cosf':
identifier not found
1>..\lib\bullet\src\LinearMath\btConvexHull.cpp(278) : error C3861: 'sinf':
identifier not found
1>..\lib\bullet\src\LinearMath\btConvexHull.cpp(279) : error C3861: 'cosf':
identifier not found

What version of the product are you using? On what operating system?

this occurs from the trunk source Rev. 1639. Windows Mobile 6 Professional SDK.

Please provide any additional information below.
VERY easy to fix.  

src\LinearMath\btConvexHull.cpp
lines 265 and 278 => change sinf to btSin
lines 266 and 279 => change cosf to btCos

Original issue reported on code.google.com by Hawkins22@gmail.com on 3 Mar 2009 at 5:00

GoogleCodeExporter commented 9 years ago

It has  been fixed in latest trunk

thanks for the report!

Original comment by erwin.coumans on 3 Mar 2009 at 6:43