Comments (3)
Better fix:
Michael Dewberry has solved this already in his forked repo: 57a1025
My old advice, before I found Michael Dewberry's fix, is below:
I ran into this problem too using:
OF 0.8.4, XCode 6.1, Mac OSX 10.10 (Yosemite)
I googled as well and came across this issue on the old Bullet google code home: https://code.google.com/p/bullet/issues/detail?id=697
They discuss that "16 byte aligning the glm matrix" solved their problems. Also, erwin.coumans says:
You either align the data, or disable all SSE and suffer some performance.
SSE requires alignment, it is a hardware requirement. It is only necessary in a few cases.
Looking through the btMatrix3x3.h
code to make sure that we are using ATTRIBUTE_ALIGNED16
, I noticed up the top that we have a preprocessor #ifdef
that will change the ATTRIBUTE_ALIGNED16
depending on if BT_USE_SSE
is defined or not.
So I tracked that down via a grep
to addons/ofxBullet/libs/bullet2.8.1/include/LinearMath/btScalar.h
.
Now this is probably a place we shouldn't be messing without knowing exactly what's going onβ but I've managed to fix this error by commenting out #define BT_USE_SSE and #define BT_USE_SSE_IN_API.
I don't know what SSE
is, but from browsing the code I think that without SSE
, Bullet will use NEON
instead.
Now erwin.coumans in the quote above said that "if we disable all SSE we will suffer some performance". So maybe this is a temporary fix β¦
Hope this helps you + others!
from ofxbullet.
nice, works a treat.
from ofxbullet.
+1 works great. Thanks!
from ofxbullet.
Related Issues (20)
- gl matrix function in new oF Version( 0.8.0 ) HOT 1
- raycastTest error in iOS HOT 3
- issue building on ios HOT 5
- TODO - GLDebugDrawer::drawLine should draw using VBO HOT 2
- Problems with 3D models in Android HOT 6
- won't compile with of_v0.8.0 xcode3.26 / gcc-4.2 HOT 3
- Potential Visual Studio Change/Fix HOT 2
- Doesn't compile on OF0.8.0 HOT 4
- Doesn't compile with xcode 6 HOT 20
- XCode6 iOS8 compile issue of 0.8.4 HOT 2
- OF 0.9.0 will require rebuilding the bullet library HOT 10
- SoftBodyMeshExample is missing data folder and model HOT 1
- Loss of object color between oF 0.9 RC1 and latest build HOT 1
- Unknown Error 0x800700c1, Visual Studio 2015 HOT 5
- softbody texture on to mesh HOT 7
- Quaternion problem at create function of shapes HOT 2
- Not compiling OF098 Ubuntu 16.04 HOT 1
- Bullet3? HOT 12
- Compiling for windows/code::blocks, but crashing at startup HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ofxbullet.