Quantcast
Channel: ArduPilot Discourse - Latest topics
Viewing all articles
Browse latest Browse all 45739

Building ArduPilot on OSX with was

$
0
0

@billb wrote:

Any help with building ArduPilot on OSX fro px4-v2?

Following build with Make on OSX http://ardupilot.org/dev/docs/building-px4-with-make-on-mac.html

and then adding
brew install make
alias waf="$PWD/modules/waf/waf-light"
waf configure --board=px4-v2
waf --targets bin/arducopter-quad

the build failed building MAVLink :frowning:
Waf: Leaving directory `/Users/bonney/dev_src/ardupilot/build/px4-v2'
Build failed
-> task in 'px4_msg_gen' failed (exit status 2):
{task 4430014256: cmake_build_task -> }
['/usr/local/bin/cmake', '--build', '/Users/bonney/dev_src/ardupilot/build/px4-v2/modules/PX4Firmware', '--target', 'msg_gen']

Output from war

bonney@MacVan:ardupilot (master)$ waf configure --board=px4-v2
Setting top to                           : /Users/bonney/dev_src/ardupilot 
Setting out to                           : /Users/bonney/dev_src/ardupilot/build 
Autoconfiguration                        : enabled 
Setting board to                         : px4-v2 
Using toolchain                          : arm-none-eabi 
Checking for 'clang++' (C++ compiler)    : /usr/bin/clang++ 
Checking for 'clang' (C compiler)        : /usr/bin/clang 
Checking for HAVE_CMATH_ISFINITE         : no 
Checking for HAVE_CMATH_ISINF            : no 
Checking for HAVE_CMATH_ISNAN            : no 
Checking for NEED_CMATH_ISFINITE_STD_NAMESPACE : no 
Checking for NEED_CMATH_ISINF_STD_NAMESPACE    : no 
Checking for NEED_CMATH_ISNAN_STD_NAMESPACE    : no 
Checking for header endian.h                   : not found 
Checking for header byteswap.h                 : not found 
Checking for program 'cmake'                   : /usr/local/bin/cmake 
Checking cmake version                         : 3.6.1 
Checking for program 'ninja, ninja-build'      : not found 
Checking for program 'cp'                      : /bin/cp 
Checking for program 'python'                  : /usr/bin/python 
Checking for python version >= 2.7.0           : 2.7.10 
Source is git repository                       : yes 
Update submodules                              : yes 
Checking for program 'git'                     : /usr/local/bin/git 
Gtest                                          : PX4 boards currently don't support compiling gtest 
Checking for program 'arm-none-eabi-size'      : /usr/local/bin/arm-none-eabi-size 
Benchmarks                                     : disabled 
Unit tests                                     : disabled 
'configure' finished successfully (0.830s)

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 45739

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>