Comments (20)
Same here. This error occurs on running any of the examples. Unfortunatelty this happens inside Bullet not ofxBullet, an seems to depend on the chipset (ifdef BT_USE_SSE).
Any clues yet?
I'm on oF master, Xcode 6.1.1, OS X 10.10.2, MacBook Air.
Here's the
#0 0x00036fbc in btMatrix3x3::getOpenGLSubMatrix(float_) const at /Users/andre/Documents/Code/openFrameworks/addons/ofxBullet/SimpleExample/../../../addons/ofxBullet/libs/bullet2.8.1/include/LinearMath/btMatrix3x3.h:360
#1 0x00036d37 in btTransform::getOpenGLMatrix(float_) const at /Users/andre/Documents/Code/openFrameworks/addons/ofxBullet/SimpleExample/../../../addons/ofxBullet/libs/bullet2.8.1/include/LinearMath/btTransform.h:141
#2 0x00036407 in ofGetOpenGLMatrixFromRigidBody(btRigidBody_, float_) at /Users/andre/Documents/Code/openFrameworks/addons/ofxBullet/src/ofxBulletUtils.h:113
#3 0x00036754 in ofxBulletBaseShape::transformGL() at /Users/andre/Documents/Code/openFrameworks/addons/ofxBullet/src/shapes/ofxBulletBaseShape.cpp:394
#4 0x00039d26 in ofxBulletBox::draw() at /Users/andre/Documents/Code/openFrameworks/addons/ofxBullet/src/shapes/ofxBulletBox.cpp:76
#5 0x00004a79 in testApp::draw() at /Users/andre/Documents/Code/openFrameworks/addons/ofxBullet/SimpleExample/src/testApp.cpp:58
#6 0x000038fd in ofBaseApp::draw(ofEventArgs&) at /Users/andre/Documents/Code/openFrameworks/addons/ofxBullet/SimpleExample/../../../libs/openFrameworks/app/ofBaseApp.h:47
#7 0x00459540 in Poco::PriorityDelegate<ofBaseApp, ofEventArgs, false>::notify(void const_, ofEventArgs&) at /Users/andre/Documents/Code/openFrameworks/libs/openFrameworksCompiled/project/osx/../../../../libs/poco/include/Poco/PriorityDelegate.h:168
#8 0x00430c2a in Poco::PriorityStrategy<ofEventArgs, Poco::AbstractPriorityDelegate >::notify(void const_, ofEventArgs&) [inlined] at /Users/andre/Documents/Code/openFrameworks/libs/openFrameworksCompiled/project/osx/../../../../libs/poco/include/Poco/PriorityStrategy.h:81
#9 0x00430c00 in Poco::AbstractEvent<ofEventArgs, Poco::PriorityStrategy<ofEventArgs, Poco::AbstractPriorityDelegate >, Poco::AbstractPriorityDelegate, Poco::FastMutex>::notify(void const_, ofEventArgs&) at /Users/andre/Documents/Code/openFrameworks/libs/openFrameworksCompiled/project/osx/../../../../libs/poco/include/Poco/AbstractEvent.h:241
#10 0x0042d80d in void ofNotifyEvent<ofEvent, ofEventArgs>(ofEvent&, ofEventArgs&) at /Users/andre/Documents/Code/openFrameworks/libs/openFrameworksCompiled/project/osx/../../../../libs/openFrameworks/events/ofEventUtils.h:172
#11 0x0042cce9 in ofCoreEvents::notifyDraw() at /Users/andre/Documents/Code/openFrameworks/libs/openFrameworks/events/ofEvents.cpp:200
#12 0x00491cc4 in ofAppGLFWWindow::draw() at /Users/andre/Documents/Code/openFrameworks/libs/openFrameworks/app/ofAppGLFWWindow.cpp:328
#13 0x004569ee in ofMainLoop::loopOnce() at /Users/andre/Documents/Code/openFrameworks/libs/openFrameworks/app/ofMainLoop.cpp:124
#14 0x0045691b in ofMainLoop::loop() at /Users/andre/Documents/Code/openFrameworks/libs/openFrameworks/app/ofMainLoop.cpp:106
#15 0x0042b207 in ofRunApp(std::tr1::shared_ptr) at /Users/andre/Documents/Code/openFrameworks/libs/openFrameworks/app/ofAppRunner.cpp:126
#16 0x0042b172 in ofRunApp(ofBaseApp_) at /Users/andre/Documents/Code/openFrameworks/libs/openFrameworks/app/ofAppRunner.cpp:120
#17 0x00002de8 in main at /Users/andre/Documents/Code/openFrameworks/addons/ofxBullet/SimpleExample/src/main.cpp:12
#18 0x00002d75 in start ()
from ofxbullet.
Looks like this might have been fixed in the bullet 2.82 release (Oct 13) vs 2.81 (Oct 12):
https://github.com/bulletphysics/bullet3/commits/master/src/LinearMath/btMatrix3x3.h
from ofxbullet.
I can take a look into this and try compiling all the libs for using 2.82 to fix this issue. However, this will lose support for windows users because of the windows libs.
from ofxbullet.
This would be great! I'm trying to build them right now, but not successfully yet.
Maybe make a branch for it, so Windows users are not frustrated.
from ofxbullet.
I think I will create a release package so windows users can still use the addon. I will try to get around to it in the next couple of days.
from ofxbullet.
Would love to help, do you have specific instructions somewhere? Bullet compiles fine with Xcode here. Is the rest just a matter of copy/paste/rename?
from ofxbullet.
I don't have any instructions posted, but maybe I should. I usually just compile in Release without double precision. And also for iOS. It should just be copying over the libs and the new include .h files. And then testing everything to make sure that nothing has changed.
from ofxbullet.
Are you using gmake or Xcode? gmake is missing some dependencies here, not sure which ones.
Linking App_HelloWorld
ld: warning: directory not found for option '-L/usr/lib64'
ld: internal error: atom not found in symbolIndex(__ZN20btAlignedObjectArrayIP17btTypedConstraintE17quickSortInternalI33btSortConstraintOnIslandPredicateEEvRKT_ii) for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [../../App_HelloWorld_gmake_x64_release] Error 1
make: *** [App_HelloWorld] Error 2
from ofxbullet.
Trying to remember...
I use Cmake to build the XCode projects and then use the XCode project to build the libs I believe.
from ofxbullet.
That works, but I'm only getting 64bit debug versions, no idea how to set it to also build all the other ones..
from ofxbullet.
Using CMAKE, the flag CMAKE_CONFIGURATION_TYPES set to Release might be the answer?
from ofxbullet.
Seems like this works:
cd build
premake_osx xcode4
xcodebuild -project xcode4/BulletCollision.xcodeproj/ -configuration Release
etc. :)
from ofxbullet.
Were you able to build the AllBulletDemos?
I keep getting this error
duplicate symbol __ZN15DemoApplication20localCreateRigidBodyEfRK11btTransformP16btCollisionShape in:
/Applications/OpenFrameworks/OF_Addons/ofxBullet/Bullet-src/bullet-2.82-r2704/build-osx/Demos/AllBulletDemos/BULLET_PHYSICS.build/Debug/AppAllBulletDemos.build/Objects-normal/x86_64/BenchmarkDemo.o
/Applications/OpenFrameworks/OF_Addons/ofxBullet/Bullet-src/bullet-2.82-r2704/build-osx/Demos/OpenGL/Debug/libOpenGLSupport.a(DemoApplication.o)
ld: 1 duplicate symbol for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
from ofxbullet.
I updated the projects to use bullet 2.82. Can you test with the latest master branch and XCode 6?
from ofxbullet.
Thanks, unfortunately I'm getting the same error in btMatrix3x3 as before. :( This is at runtime, not at compile time. All standard bullet examples are running fine, though.
Could you post your build instructions somewhere, maybe the wiki here? Maybe I need to build the libs on my machine.
from ofxbullet.
Are you compiling the 2.82 libs from the google code directory? or the 2.83 libs from github. Im a bit nervous about 2.83 because it is only an alpha. I have just been using the default cmake configuration and then using the generated xcode project to build the libs.
from ofxbullet.
I did the builds with 2.82 via premake -osx, and had no issues, also all Bullet demos are running fine. Since the original issue persists and I didn't have time to dig deeper, I have now switched to Windows. :) Let me know if I should make a 2.82 windows lib.
from ofxbullet.
Have you tried pulling and compiling recently? I put up a couple of patches. @prisonerjohn compiled libs for pc and made some VS2012 projects
from ofxbullet.
Thanks! Commit 8a2b363 actually fixed it. :)
I also submitted a pull request already on a few other things. Consider this one closed!
from ofxbullet.
Great!
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
- XCode6 iOS8 compile issue of 0.8.4 HOT 2
- Xcode 6.1 "EXC_BAD_ACCESS" with ofxBulletSimpleExample and others HOT 3
- 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.