QVector declaration does not see type as a correct type
First of all I'd like to say Hello Forum! as I'm a new guy in town ;)
Now, there is an amazing Open Dynamics Engine library (Open Dynamics Engine - home) that I just wanted to mess around but when compiling one of its tutorial sources I get the error which I cannot overcome: Index of /Membres/Xavier.Decoret/resources/ode/tutorial1/D
While compiling (Ubuntu 9.04) I get the following error:
viewer.h:26: error: ISO C++ forbids declaration of 'QVector' with no type.
Sure, but the type is provided:
7: class Object; //class declaration
26: QVector <Object*> _objects;
I prepared an example with std::vector aside and it can be created with Object*, QVector does not differ in this matter.
The object.h/cpp is correctly compiled.
What is wrong in this example?