Discussion about development tools and environments, such as STLink, OpenOCD, arm-gcc, Eclipse, Qt Creator and Visual Studio.
no avatar
User

Leihen

Posts

3

Joined

Sun Mar 06, 2016 11:18 am

Yet another issue with building GCS

by Leihen » Wed Mar 23, 2016 8:18 pm

Hi all,

I am now able to build the firmware successfully - which is great.

However, building the GCS does not work for me. The compiler gives me the following error (there are many more of this kind) :

Code: Select all
C:\code\TauLabs\build\uavobject-synthetics\gcs\fixedwingpathfollowersettingscc.cpp: In constructor 'FixedWingPathFollowerSettingsCC::FixedWingPathFollowerSettingsCC()':
C:\code\TauLabs\build\uavobject-synthetics\gcs\fixedwingpathfollowersettingscc.cpp:49:158: error: no matching function for call to 'UAVObjectField::UAVObjectField(QString, QString, UAVObjectField::FieldType, QStringList&, QStringList, QString)'
     fields.append( new UAVObjectField(QString("VerticalVelMax"), QString("m/s"), UAVObjectField::FLOAT32, VerticalVelMaxElemNames, QStringList(), QString("")));
                                                                                                                                                              ^
C:\code\TauLabs\build\uavobject-synthetics\gcs\fixedwingpathfollowersettingscc.cpp:49:158: note: candidates are:
In file included from C:\code\TauLabs\ground\gcs\src\plugins\uavobjects/uavobject.h:41:0,
                 from C:\code\TauLabs\ground\gcs\src\plugins\uavobjects/uavdataobject.h:33,
                 from C:\code\TauLabs\build\uavobject-synthetics\gcs\fixedwingpathfollowersettingscc.h:36,
                 from C:\code\TauLabs\build\uavobject-synthetics\gcs\fixedwingpathfollowersettingscc.cpp:33:
C:\code\TauLabs\ground\gcs\src\plugins\uavobjects/uavobjectfield.h:55:5: note: UAVObjectField::UAVObjectField(const QString&, const QString&, UAVObjectField::FieldType, const QStringList&, const QStringList&, const QList<int>&, const QString&)
     UAVObjectField(const QString& name, const QString& units, FieldType type, const QStringList& elementNames, const QStringList& options, const QList<int>& indices, const QString& limits=QString());
     ^
C:\code\TauLabs\ground\gcs\src\plugins\uavobjects/uavobjectfield.h:55:5: note:   no known conversion for argument 6 from 'QString' to 'const QList<int>&'
In file included from C:\code\TauLabs\ground\gcs\src\plugins\uavobjects/uavobject.h:41:0,
                 from C:\code\TauLabs\ground\gcs\src\plugins\uavobjects/uavdataobject.h:33,
                 from C:\code\TauLabs\build\uavobject-synthetics\gcs\fixedwingpathfollowersettingscc.h:36,
                 from C:\code\TauLabs\build\uavobject-synthetics\gcs\fixedwingpathfollowersettingscc.cpp:33:
C:\code\TauLabs\ground\gcs\src\plugins\uavobjects/uavobjectfield.h:54:5: note: UAVObjectField::UAVObjectField(const QString&, const QString&, UAVObjectField::FieldType, quint32, const QStringList&, const QList<int>&, const QString&)
     UAVObjectField(const QString& name, const QString& units, FieldType type, quint32 numElements, const QStringList& options, const QList<int>& indices, const QString& limits=QString());
     ^
C:\code\TauLabs\ground\gcs\src\plugins\uavobjects/uavobjectfield.h:54:5: note:   no known conversion for argument 4 from 'QStringList' to 'quint32 {aka unsigned int}'
C:\code\TauLabs\build\uavobject-synthetics\gcs\fixedwingpathfollowersettingscc.cpp:52:172: error: no matching function for call to 'UAVObjectField::UAVObjectField(QString, QString, UAVObjectField::FieldType, QStringList&, QStringList, QString)'
     fields.append( new UAVObjectField(QString("VectorFollowingGain"), QString("(m/s)/m"), UAVObjectField::FLOAT32, VectorFollowingGainElemNames, QStringList(), QString("")));


Is this a known issue ? What can I do ? Should I synchronize on another branch ?

(Using Windows, same errors when using command line as well as with Qt Creator)

Who is online

Users browsing this forum: No registered users and 1 guest

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron