this is my (simplified for the sake of clarity of this post) code:
Code: Select all
int main(int argc, const char * argv[])
{
btCollisionShape* groundShape = new btBoxShape(btVector3(btScalar(50.),btScalar(50.),btScalar(50.)));
return 0;
}
Code: Select all
"Thread 1: EXC_BAD_ACCESS (code=EXC_I386_GPFLT)" .
Code: Select all
(lldb) bt
* thread #1: tid = 0x86f26, 0x000000010000c4a5 CommandBullet`btBoxShape::btBoxShape(btVector3 const&) + 181, queue = 'com.apple.main-thread, stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
frame #0: 0x000000010000c4a5 CommandBullet`btBoxShape::btBoxShape(btVector3 const&) + 181
frame #1: 0x000000010000136a CommandBullet`main(argc=1, argv=0x00007fff5fbff868) + 106 at main.cpp:16
frame #2: 0x00007fff918e17e1 libdyld.dylib`start + 1
(lldb)
- EDIT: I can run the samples fine but this simple code still refuses to run
I am hitting my head against the wall over this for a few hours now, and I still cannot figure out this issue. Could this have something to do with bit alignment that differs between processors for some reason?