Hello,
I'm trying to build Bullet for X360. (using Boost build)
It's giving me error msgs in "Extras\BulletMultiThreaded\SpuRaycastTask\SpuRaycastTask.cpp".
Func: spuWalkStacklessQuantizedTreeAgainstRays()
Line: 407, 408, 409, etc.
"numWorkUnits" is not const. The compiler is expecting a constant expression.
Thanks,
Sandeep.
Error Compiling Bullet
-
- Posts: 133
- Joined: Wed Jul 27, 2005 1:05 pm
- Location: Berkeley, CA
Re: Error Compiling Bullet
You've found a C99ism that crept into the code. Unfortunately, your compiler doesn't support C99. As a work around you can change the array definitions to use SPU_RAYCAST_WORK_UNITS_PER_TASK. This will be fixed in the next Bullet release.
Thanks,
John
Thanks,
John