HKUST-Aerial-Robotics / VINS-Mobile

Monocular Visual-Inertial State Estimator on Mobile Phones
GNU General Public License v3.0
1.27k stars 524 forks source link

Variable length array of non-POD element type #115

Closed month612 closed 5 years ago

month612 commented 6 years ago

I am a novice in using Xcode.,When I compile the project with iPhone6s plus, there are the following mistakes. How should I solve them:

.//VINS_ios/loop/keyfame_database.cpp:153:24: Variable length array of non-POD element type 'Quaterniond' (aka 'Quaternion’)

It seems need use double at Quaterniond? Quaterniond q_array[max_length];

Is this my Compiler fault?Please help me