I have a pixhawk board,My computer OS is win7,build tool is px4-toolchain(px4-toolchain_install_v13_win.exe),when build APM Plane source code,an error occur,Is my building version too low?
make[3]: Entering directory `/c/pixhawk/PX4Firmware/Build/px4fmu-v2_APM.build/c/pixhawk/ardupilot'
CXX: /c/pixhawk/ardupilot/Build.ArduPlane/ArduPlane.cpp
/c/pixhawk/ardupilot/ArduPlane/Attitude.pde: In function 'void stick_mix_channel(RC_Channel*, int16_t&)':
/c/pixhawk/ardupilot/ArduPlane/Attitude.pde:119:14: error: implicit conversion from 'float' to 'double' to match other o
perand of binary expression [-Werror=double-promotion]
compilation terminated due to -Wfatal-errors.
cc1plus.exe: some warnings being treated as errors
make[3]: *** [Build.ArduPlane/ArduPlane.cpp.o] Error 1
Replies
Had you fixed this problem?I meet it too.