No matching function for call to `btRigidBody::btRigidBodyConstructionInfo::btRigidBodyConstructionInfo(int, btDefaultMotionState*&, CollisionShape*, btVector3)'
The problem being the btDefaultMotionState*& parameter. I have declared and implemented the motionstate like this:
btDefaultMotionState *motionState = new btDefaultMotionState(btTransform(btQuaternion(0,0,0,1),btVector3(pos.x,pos.y,pos.z)));
And I call the struct like this:
btRigidBody::btRigidBodyConstructionInfo conInfo(0,motionState,&mColShape[shape],btVector3(0,0,0));
I can’t understand what’s wrong.

[edit]
Forgot to mention that the compiler suggests that the candidate is:
btRigidBody::btRigidBodyConstructionInfo::btRigidBodyConstructionInfo(btScalar, btMotionState*, btCollisionShape*, const btVector3&)
Which is what I got I think.
[/edit]