Hi,
I’m trying to build from source code but I’m having some issues.
Here is what I’ve done (reading the wikis)
- Setting up the waf Build Environment on Windows using Cygwin. To do this step I run the “install-prereqs-windows.ps1” from Win PowerShell and then manually check that all the packets were installed.
- Installed the GCC compiler
- Installed Mav Proxy
- Set up directories/paths and extra packages in Cygwin
- Downloaded the git repo through git clone command
- Updated all the submodules with the git submodule update --init --recursive
git clone https://github.com/ardupilot/ardupilot.git
cd ardupilot
git submodule update --init --recursive - Followed the BUILD.md instructions to build the code for an example board “f405-MatekGPS” using these instructions:
./waf configure --board CubeBlack
./waf copter
After the second instruction, a bunch of module get compiled but after a few minutes it stops saying: “error: ‘gcs’ was not declared in this scope”. I guess it’s the compiler fault.
Here is the full text (I paste only the finale part, since the previous modules seems to be ok.
[ 23/706] Compiling libraries/AC_Fence/AC_PolyFence_loader.cpp
17:51:10 runner [’/cygdrive/c/Program Files (x86)/GNU Tools ARM Embedded/6 2017-q2-update/bin/arm-none-eabi-g++’, ‘-std=gnu++11’, ‘-fdata-sections’, ‘-ffunction-sections’, ‘-fno-exceptions’, ‘-fsigned-char’, ‘-Wall’, ‘-Wextra’, ‘-Wpointer-arith’, ‘-Wno-unused-parameter’, ‘-Wno-missing-field-initializers’, ‘-Wno-reorder’, ‘-Wno-redundant-decls’, ‘-Wno-unknown-pragmas’, ‘-Wno-expansion-to-defined’, ‘-Werror=cast-align’, ‘-Werror=attributes’, ‘-Werror=format-security’, ‘-Werror=format-extra-args’, ‘-Werror=enum-compare’, ‘-Werror=format’, ‘-Werror=array-bounds’, ‘-Werror=uninitialized’, ‘-Werror=init-self’, ‘-Werror=narrowing’, ‘-Werror=return-type’, ‘-Werror=switch’, ‘-Werror=sign-compare’, ‘-Werror=type-limits’, ‘-Werror=undef’, ‘-Werror=unused-result’, ‘-Werror=shadow’, ‘-Werror=unused-value’, ‘-Werror=unused-variable’, ‘-Werror=delete-non-virtual-dtor’, ‘-Wfatal-errors’, ‘-Wno-trigraphs’, ‘-Werror=parentheses’, ‘-DARDUPILOT_BUILD’, ‘-Wno-format-contains-nul’, ‘-Werror=unused-but-set-variable’, ‘-Werror=suggest-override’, ‘-ffunction-sections’, ‘-fdata-sections’, ‘-fsigned-char’, ‘-Wall’, ‘-Wextra’, ‘-Werror=format’, ‘-Wpointer-arith’, ‘-Wcast-align’, ‘-Wno-missing-field-initializers’, ‘-Wno-unused-parameter’, ‘-Wno-redundant-decls’, ‘-Wno-unknown-pragmas’, ‘-Wno-trigraphs’, ‘-Werror=shadow’, ‘-Werror=return-type’, ‘-Werror=unused-result’, ‘-Werror=unused-variable’, ‘-Werror=narrowing’, ‘-Werror=attributes’, ‘-Werror=overflow’, ‘-Werror=parentheses’, ‘-Werror=format-extra-args’, ‘-Werror=ignored-qualifiers’, ‘-Werror=undef’, ‘-DARDUPILOT_BUILD’, ‘-Wno-format-contains-nul’, ‘-mcpu=cortex-m4’, ‘-mfpu=fpv4-sp-d16’, ‘-mfloat-abi=hard’, ‘-DARM_MATH_CM4’, ‘-u_printf_float’, ‘-Wno-cast-align’, ‘-Wlogical-op’, ‘-Wframe-larger-than=1300’, ‘-fsingle-precision-constant’, ‘-Wno-attributes’, ‘-fno-exceptions’, ‘-Wall’, ‘-Wextra’, ‘-Wno-sign-compare’, ‘-Wfloat-equal’, ‘-Wpointer-arith’, ‘-Wmissing-declarations’, ‘-Wno-unused-parameter’, ‘-Werror=array-bounds’, ‘-Wfatal-errors’, ‘-Werror=uninitialized’, ‘-Werror=init-self’, ‘-Werror=unused-but-set-variable’, ‘-Wno-missing-field-initializers’, ‘-Wno-trigraphs’, ‘-fno-strict-aliasing’, ‘-fomit-frame-pointer’, ‘-falign-functions=16’, ‘-ffunction-sections’, ‘-fdata-sections’, ‘-fno-strength-reduce’, ‘-fno-builtin-printf’, ‘-fno-builtin-fprintf’, ‘-fno-builtin-vprintf’, ‘-fno-builtin-vfprintf’, ‘-fno-builtin-puts’, ‘-mno-thumb-interwork’, ‘-mthumb’, ‘–specs=nano.specs’, ‘–specs=nosys.specs’, ‘-DCHIBIOS_BOARD_NAME=“f405-MatekGPS”’, ‘-D__USE_CMSIS’, ‘-Werror=deprecated-declarations’, ‘-Wno-error=double-promotion’, ‘-Wno-error=missing-declarations’, ‘-Wno-error=float-equal’, ‘-Wno-error=undef’, ‘-Wno-error=cpp’, ‘-fno-rtti’, ‘-fno-threadsafe-statics’, ‘-DCYGWIN_BUILD’, ‘-Werror’, ‘-MMD’, ‘-Os’, ‘-include’, ‘ap_config.h’, ‘-Os’, ‘-include’, ‘ap_config.h’, ‘-Ilibraries’, ‘-Ilibraries/GCS_MAVLink’, ‘-Imodules/uavcan/libuavcan/include/dsdlc_generated’, ‘-I.’, ‘-I…/…/libraries’, ‘-I…/…/libraries/AP_Common/missing’, ‘-I…/…/libraries/AP_GyroFFT/CMSIS_5/include’, ‘-I…/…/modules/ChibiOS/os/license’, ‘-I…/…/modules/ChibiOS/os/various/cpp_wrappers’, ‘-I…/…/modules/ChibiOS/os/common/portability/GCC’, ‘-I…/…/modules/ChibiOS/os/common/startup/ARMCMx/compilers/GCC’, ‘-I…/…/modules/ChibiOS/os/common/startup/ARMCMx/devices/STM32F4xx’, ‘-I…/…/modules/ChibiOS/os/common/ext/ARM/CMSIS/Core/Include’, ‘-I…/…/modules/ChibiOS/os/common/ext/ST/STM32F4xx’, ‘-I…/…/modules/ChibiOS/os/hal/include’, ‘-I…/…/modules/ChibiOS/os/hal/ports/common/ARMCMx’, ‘-I…/…/modules/ChibiOS/os/hal/ports/STM32/STM32F4xx’, ‘-I…/…/modules/ChibiOS/os/hal/ports/STM32/LLD/ADCv2’, ‘-I…/…/modules/ChibiOS/os/hal/ports/STM32/LLD/CANv1’, ‘-I…/…/modules/ChibiOS/os/hal/ports/STM32/LLD/CRYPv1’, ‘-I…/…/modules/ChibiOS/os/hal/ports/STM32/LLD/DACv1’, ‘-I…/…/modules/ChibiOS/os/hal/ports/STM32/LLD/DMAv2’, ‘-I…/…/modules/ChibiOS/os/hal/ports/STM32/LLD/EXTIv1’, ‘-I…/…/modules/ChibiOS/os/hal/ports/STM32/LLD/GPIOv2’, ‘-I…/…/modules/ChibiOS/os/hal/ports/STM32/LLD/I2Cv1’, ‘-I…/…/modules/ChibiOS/os/hal/ports/STM32/LLD/MACv1’, ‘-I…/…/modules/ChibiOS/os/hal/ports/STM32/LLD/OTGv1’, ‘-I…/…/modules/ChibiOS/os/hal/ports/STM32/LLD/QUADSPIv1’, ‘-I…/…/modules/ChibiOS/os/hal/ports/STM32/LLD/RTCv2’, ‘-I…/…/modules/ChibiOS/os/hal/ports/STM32/LLD/SPIv1’, ‘-I…/…/modules/ChibiOS/os/hal/ports/STM32/LLD/SDIOv1’, ‘-I…/…/modules/ChibiOS/os/hal/ports/STM32/LLD/TIMv1’, ‘-I…/…/modules/ChibiOS/os/hal/ports/STM32/LLD/USARTv1’, ‘-I…/…/modules/ChibiOS/os/hal/ports/STM32/LLD/xWDGv1’, ‘-I…/…/modules/ChibiOS/os/hal/osal/rt’, ‘-I…/…/modules/ChibiOS/os/rt/include’, ‘-I…/…/modules/ChibiOS/os/oslib/include’, ‘-I…/…/modules/ChibiOS/os/common/ports/ARMCMx’, ‘-I…/…/modules/ChibiOS/os/common/ports/ARMCMx/compilers/GCC’, ‘-I…/…/modules/ChibiOS/os/hal/lib/streams’, ‘-I…/…/libraries/AP_HAL_ChibiOS/hwdef/common’, ‘-DSKETCHBOOK="/home/mseme/ardupilot"’, ‘-DAP_SCRIPTING_CHECKS=1’, ‘-DCONFIG_HAL_BOARD=HAL_BOARD_CHIBIOS’, ‘-DENABLE_HEAP=1’, ‘-DHAVE_STD_NULLPTR_T=0’, ‘-DUSE_LIBC_REALLOC=0’, ‘…/…/libraries/AC_Fence/AC_PolyFence_loader.cpp’, ‘-c’, ‘-olibraries/AC_Fence/AC_PolyFence_loader.cpp.0.o’]
…/…/libraries/AC_Avoidance/AP_OADijkstra.cpp: In member function ‘void AP_OADijkstra::report_error(AP_OADijkstra::AP_OADijkstra_Error)’:
…/…/libraries/AC_Avoidance/AP_OADijkstra.cpp:231:13: error: ‘gcs’ was not declared in this scope
gcs().send_text(MAV_SEVERITY_CRITICAL, “Dijkstra: %s”, error_msg);
^
compilation terminated due to -Wfatal-errors.
../../libraries/AC_Fence/AC_PolyFence_loader.cpp: In member function 'bool AC_PolyFence_loader::scan_eeprom(AC_PolyFence_loader::scan_fn_t)':
../../libraries/AC_Fence/AC_PolyFence_loader.cpp:394:17: error: 'gcs' was not declared in this scope
gcs().send_text(MAV_SEVERITY_WARNING, "Fence corrupt");
^
compilation terminated due to -Wfatal-errors.
Waf: Leaving directory `/home/mseme/ardupilot/build/f405-MatekGPS'
Build failed
-> task in 'objs/AC_Avoidance' failed (exit status 1):
{task 123145288014160: cxx AP_OADijkstra.cpp -> AP_OADijkstra.cpp.0.o}
:
{task 123145288014160: cxx AP_OADijkstra.cpp -> AP_OADijkstra.cpp.0.o}
['/cygdrive/c/Program Files (x86)/GNU Tools ARM Embedded/6 2017-q2-update/bin/arm-none-eabi-g++', '-std=gnu++11', '-fdata-sections', '-ffunction-sections', '-fno-exceptions', '-fsigned-char', '-Wall', '-Wextra', '-Wpointer-arith', '-Wno-unused-parameter', '-Wno-missing-field-initializers', '-Wno-reorder', '-Wno-redundant-decls', '-Wno-unknown-pragmas', '-Wno-expansion-to-defined', '-Werror=cast-align', '-Werror=attributes', '-Werror=format-security', '-Werror=format-extra-args', '-Werror=enum-compare', '-Werror=format', '-Werror=array-bounds', '-Werror=uninitialized', '-Werror=init-self', '-Werror=narrowing', '-Werror=return-type', '-Werror=switch', '-Werror=sign-compare', '-Werror=type-limits', '-Werror=undef', '-Werror=unused-result', '-Werror=shadow', '-Werror=unused-value', '-Werror=unused-variable', '-Werror=delete-non-virtual-dtor', '-Wfatal-errors', '-Wno-trigraphs', '-Werror=parentheses', '-DARDUPILOT_BUILD', '-Wno-format-contains-nul', '-Werror=unused-but-set-variable', '-Werror=suggest-override', '-ffunction-sections', '-fdata-sections', '-fsigned-char', '-Wall', '-Wextra', '-Werror=format', '-Wpointer-arith', '-Wcast-align', '-Wno-missing-field-initializers', '-Wno-unused-parameter', '-Wno-redundant-decls', '-Wno-unknown-pragmas', '-Wno-trigraphs', '-Werror=shadow', '-Werror=return-type', '-Werror=unused-result', '-Werror=unused-variable', '-Werror=narrowing', '-Werror=attributes', '-Werror=overflow', '-Werror=parentheses', '-Werror=format-extra-args', '-Werror=ignored-qualifiers', '-Werror=undef', '-DARDUPILOT_BUILD', '-Wno-format-contains-nul', '-mcpu=cortex-m4', '-mfpu=fpv4-sp-d16', '-mfloat-abi=hard', '-DARM_MATH_CM4', '-u_printf_float', '-Wno-cast-align', '-Wlogical-op', '-Wframe-larger-than=1300', '-fsingle-precision-constant', '-Wno-attributes', '-fno-exceptions', '-Wall', '-Wextra', '-Wno-sign-compare', '-Wfloat-equal', '-Wpointer-arith', '-Wmissing-declarations', '-Wno-unused-parameter', '-Werror=array-bounds', '-Wfatal-errors', '-Werror=uninitialized', '-Werror=init-self', '-Werror=unused-but-set-variable', '-Wno-missing-field-initializers', '-Wno-trigraphs', '-fno-strict-aliasing', '-fomit-frame-pointer', '-falign-functions=16', '-ffunction-sections', '-fdata-sections', '-fno-strength-reduce', '-fno-builtin-printf', '-fno-builtin-fprintf', '-fno-builtin-vprintf', '-fno-builtin-vfprintf', '-fno-builtin-puts', '-mno-thumb-interwork', '-mthumb', '--specs=nano.specs', '--specs=nosys.specs', '-DCHIBIOS_BOARD_NAME="f405-MatekGPS"', '-D__USE_CMSIS', '-Werror=deprecated-declarations', '-Wno-error=double-promotion', '-Wno-error=missing-declarations', '-Wno-error=float-equal', '-Wno-error=undef', '-Wno-error=cpp', '-fno-rtti', '-fno-threadsafe-statics', '-DCYGWIN_BUILD', '-Werror', '-MMD', '-Os', '-include', 'ap_config.h', '-Os', '-include', 'ap_config.h', '-Ilibraries', '-Ilibraries/GCS_MAVLink', '-Imodules/uavcan/libuavcan/include/dsdlc_generated', '-I.', '-I../../libraries', '-I../../libraries/AP_Common/missing', '-I../../libraries/AP_GyroFFT/CMSIS_5/include', '-I../../modules/ChibiOS/os/license', '-I../../modules/ChibiOS/os/various/cpp_wrappers', '-I../../modules/ChibiOS/os/common/portability/GCC', '-I../../modules/ChibiOS/os/common/startup/ARMCMx/compilers/GCC', '-I../../modules/ChibiOS/os/common/startup/ARMCMx/devices/STM32F4xx', '-I../../modules/ChibiOS/os/common/ext/ARM/CMSIS/Core/Include', '-I../../modules/ChibiOS/os/common/ext/ST/STM32F4xx', '-I../../modules/ChibiOS/os/hal/include', '-I../../modules/ChibiOS/os/hal/ports/common/ARMCMx', '-I../../modules/ChibiOS/os/hal/ports/STM32/STM32F4xx', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/ADCv2', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/CANv1', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/CRYPv1', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/DACv1', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/DMAv2', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/EXTIv1', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/GPIOv2', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/I2Cv1', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/MACv1', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/OTGv1', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/QUADSPIv1', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/RTCv2', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/SPIv1', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/SDIOv1', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/TIMv1', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/USARTv1', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/xWDGv1', '-I../../modules/ChibiOS/os/hal/osal/rt', '-I../../modules/ChibiOS/os/rt/include', '-I../../modules/ChibiOS/os/oslib/include', '-I../../modules/ChibiOS/os/common/ports/ARMCMx', '-I../../modules/ChibiOS/os/common/ports/ARMCMx/compilers/GCC', '-I../../modules/ChibiOS/os/hal/lib/streams', '-I../../libraries/AP_HAL_ChibiOS/hwdef/common', '-DSKETCHBOOK="/home/mseme/ardupilot"', '-DAP_SCRIPTING_CHECKS=1', '-DCONFIG_HAL_BOARD=HAL_BOARD_CHIBIOS', '-DENABLE_HEAP=1', '-DHAVE_STD_NULLPTR_T=0', '-DUSE_LIBC_REALLOC=0', '../../libraries/AC_Avoidance/AP_OADijkstra.cpp', '-c', '-olibraries/AC_Avoidance/AP_OADijkstra.cpp.0.o']
-> task in 'objs/AC_Fence' failed (exit status 1):
{task 123145288013264: cxx AC_PolyFence_loader.cpp -> AC_PolyFence_loader.cpp.0.o}
:
{task 123145288013264: cxx AC_PolyFence_loader.cpp -> AC_PolyFence_loader.cpp.0.o}
['/cygdrive/c/Program Files (x86)/GNU Tools ARM Embedded/6 2017-q2-update/bin/arm-none-eabi-g++', '-std=gnu++11', '-fdata-sections', '-ffunction-sections', '-fno-exceptions', '-fsigned-char', '-Wall', '-Wextra', '-Wpointer-arith', '-Wno-unused-parameter', '-Wno-missing-field-initializers', '-Wno-reorder', '-Wno-redundant-decls', '-Wno-unknown-pragmas', '-Wno-expansion-to-defined', '-Werror=cast-align', '-Werror=attributes', '-Werror=format-security', '-Werror=format-extra-args', '-Werror=enum-compare', '-Werror=format', '-Werror=array-bounds', '-Werror=uninitialized', '-Werror=init-self', '-Werror=narrowing', '-Werror=return-type', '-Werror=switch', '-Werror=sign-compare', '-Werror=type-limits', '-Werror=undef', '-Werror=unused-result', '-Werror=shadow', '-Werror=unused-value', '-Werror=unused-variable', '-Werror=delete-non-virtual-dtor', '-Wfatal-errors', '-Wno-trigraphs', '-Werror=parentheses', '-DARDUPILOT_BUILD', '-Wno-format-contains-nul', '-Werror=unused-but-set-variable', '-Werror=suggest-override', '-ffunction-sections', '-fdata-sections', '-fsigned-char', '-Wall', '-Wextra', '-Werror=format', '-Wpointer-arith', '-Wcast-align', '-Wno-missing-field-initializers', '-Wno-unused-parameter', '-Wno-redundant-decls', '-Wno-unknown-pragmas', '-Wno-trigraphs', '-Werror=shadow', '-Werror=return-type', '-Werror=unused-result', '-Werror=unused-variable', '-Werror=narrowing', '-Werror=attributes', '-Werror=overflow', '-Werror=parentheses', '-Werror=format-extra-args', '-Werror=ignored-qualifiers', '-Werror=undef', '-DARDUPILOT_BUILD', '-Wno-format-contains-nul', '-mcpu=cortex-m4', '-mfpu=fpv4-sp-d16', '-mfloat-abi=hard', '-DARM_MATH_CM4', '-u_printf_float', '-Wno-cast-align', '-Wlogical-op', '-Wframe-larger-than=1300', '-fsingle-precision-constant', '-Wno-attributes', '-fno-exceptions', '-Wall', '-Wextra', '-Wno-sign-compare', '-Wfloat-equal', '-Wpointer-arith', '-Wmissing-declarations', '-Wno-unused-parameter', '-Werror=array-bounds', '-Wfatal-errors', '-Werror=uninitialized', '-Werror=init-self', '-Werror=unused-but-set-variable', '-Wno-missing-field-initializers', '-Wno-trigraphs', '-fno-strict-aliasing', '-fomit-frame-pointer', '-falign-functions=16', '-ffunction-sections', '-fdata-sections', '-fno-strength-reduce', '-fno-builtin-printf', '-fno-builtin-fprintf', '-fno-builtin-vprintf', '-fno-builtin-vfprintf', '-fno-builtin-puts', '-mno-thumb-interwork', '-mthumb', '--specs=nano.specs', '--specs=nosys.specs', '-DCHIBIOS_BOARD_NAME="f405-MatekGPS"', '-D__USE_CMSIS', '-Werror=deprecated-declarations', '-Wno-error=double-promotion', '-Wno-error=missing-declarations', '-Wno-error=float-equal', '-Wno-error=undef', '-Wno-error=cpp', '-fno-rtti', '-fno-threadsafe-statics', '-DCYGWIN_BUILD', '-Werror', '-MMD', '-Os', '-include', 'ap_config.h', '-Os', '-include', 'ap_config.h', '-Ilibraries', '-Ilibraries/GCS_MAVLink', '-Imodules/uavcan/libuavcan/include/dsdlc_generated', '-I.', '-I../../libraries', '-I../../libraries/AP_Common/missing', '-I../../libraries/AP_GyroFFT/CMSIS_5/include', '-I../../modules/ChibiOS/os/license', '-I../../modules/ChibiOS/os/various/cpp_wrappers', '-I../../modules/ChibiOS/os/common/portability/GCC', '-I../../modules/ChibiOS/os/common/startup/ARMCMx/compilers/GCC', '-I../../modules/ChibiOS/os/common/startup/ARMCMx/devices/STM32F4xx', '-I../../modules/ChibiOS/os/common/ext/ARM/CMSIS/Core/Include', '-I../../modules/ChibiOS/os/common/ext/ST/STM32F4xx', '-I../../modules/ChibiOS/os/hal/include', '-I../../modules/ChibiOS/os/hal/ports/common/ARMCMx', '-I../../modules/ChibiOS/os/hal/ports/STM32/STM32F4xx', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/ADCv2', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/CANv1', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/CRYPv1', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/DACv1', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/DMAv2', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/EXTIv1', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/GPIOv2', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/I2Cv1', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/MACv1', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/OTGv1', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/QUADSPIv1', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/RTCv2', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/SPIv1', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/SDIOv1', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/TIMv1', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/USARTv1', '-I../../modules/ChibiOS/os/hal/ports/STM32/LLD/xWDGv1', '-I../../modules/ChibiOS/os/hal/osal/rt', '-I../../modules/ChibiOS/os/rt/include', '-I../../modules/ChibiOS/os/oslib/include', '-I../../modules/ChibiOS/os/common/ports/ARMCMx', '-I../../modules/ChibiOS/os/common/ports/ARMCMx/compilers/GCC', '-I../../modules/ChibiOS/os/hal/lib/streams', '-I../../libraries/AP_HAL_ChibiOS/hwdef/common', '-DSKETCHBOOK="/home/mseme/ardupilot"', '-DAP_SCRIPTING_CHECKS=1', '-DCONFIG_HAL_BOARD=HAL_BOARD_CHIBIOS', '-DENABLE_HEAP=1', '-DHAVE_STD_NULLPTR_T=0', '-DUSE_LIBC_REALLOC=0', '../../libraries/AC_Fence/AC_PolyFence_loader.cpp', '-c', '-olibraries/AC_Fence/AC_PolyFence_loader.cpp.0.o']
Where am I wrong? What I’m missing? I’m trying only to build the code (I do not modified source) to get confident with the environments…
Thanks,
Marco.