rmackay9
(rmackay9)
July 27, 2016, 5:02am
1
Since late last week there have been compile issues for those compiling for the Pixhawk family of boards using ardupilot/master. The error was “error: ‘__builtin_bswap16’ was not declared in this scope” and is discussed in this issue:
Issue details
Just tried to compile ArduCopter master of today and got the error
In file included from c:/Users/Olli/Documents/GitHubZips/betacopterM160724/libraries/AP_HAL/utility/sparse-endian.h:23:0, from c:/Users/Olli/Documents/GitHubZips/betacopterM160724/libraries/AP_RangeFinder/AP_RangeFinder_LightWareI2C.cpp:21:
make[3]: Leaving directory...
BuildSystem
Sid’s created a new Pixhawk toolchain installer here: http://firmware.ardupilot.org/Tools/PX4-tools/ (see “pixhawk_toolchain_installer_latest.exe” or here’s the direct link .
The changes vs the previous installer (v14) are:
updated the license file to provide links to (at least some of) the underlying component’s licenses
changed install directory to Pixhawk_Toolchain
updated gcc to 4.9.2
1 Like
jane
(zhongzhenwei)
August 12, 2016, 4:39am
2
Hi, rmackay9, I have the problem you mentionned, and I installed the “pixhawk_toolchain_installer_latest.exe” you provided. However, I have a new problem and don’t know how to solve it. I hope you can give me some advices, I am hoping for your replay!
rmackay9
(rmackay9)
August 12, 2016, 7:21am
3
@jane ,
It looks like Git is not installed on your machine or perhaps it’s not in your path?
jane
(zhongzhenwei)
August 12, 2016, 7:48am
4
Thank you for your reply, I reinstalled “pixhawk_toolchain” in default path and it worked, but there are also some problems.
I can get the ArduCopter-v2.px4 in the file, but it not worked when I upload the ArduCopter-v2.px4 file to the chip.
my chip is level, but the status in mission planner is not. So strange!
Sorry to trouble you again, but I believe you konw the answer!
You need to run the calibration steps
jane
(zhongzhenwei)
August 29, 2016, 1:11pm
6
sorry for replying so late beause I see your message right now!
My problem is still unsolved, it is always calibration failed, it is so strange.
I also have this problem ,what is the reason? install the newer toolchain will be ok??
@rmackay9 I also have this problem ,what is the reason? install the newer toolchain will be ok??