cannot declare variable ‘’ to be of abstract type ‘’

The reason the base class is abstract is this pure virtual function: The derived class DisablePairCollision attempts to define that function, but it does not do it correctly: As you can see, some of the arguments have different types. E.g. colObj0 is of type const btCollisionObject*, but it should be of type const btCollisionObjectWrapper*. Therefore, … Read more

Error: expected type-specifier before ‘ClassName’

For future people struggling with a similar problem, the situation is that the compiler simply cannot find the type you are using (even if your Intelisense can find it). This can be caused in many ways: You forgot to #include the header that defines it. Your inclusion guards (#ifndef BLAH_H) are defective (your #ifndef BLAH_H doesn’t match your #define BALH_H due … Read more