Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BSEC Compilation Error on MEGA 2560 with Arduino IDE

    Highlighted
    New Poster

    BSEC Compilation Error on MEGA 2560 with Arduino IDE

    Hi, 

     

    I'm trying to use BSEC library on Arduino Mega 2560. Although I'm using the guide on BSEC Github Page for Arduino Library, somehow I cannot compile the "Basic" code on Examples. 

    Ide: Arduino Ide 1.8.9

    Platform txt(C:\Users\yalci\Desktop\arduino-1.8.9-windows\arduino-1.8.9\hardware\arduino\avr\platform.txt):

    ...
    # These can be overridden in platform.local.txt


    compiler.c.extra_flags=
    compiler.c.elf.extra_flags=
    #compiler.c.elf.extra_flags=-v
    compiler.cpp.extra_flags=
    compiler.S.extra_flags=
    compiler.ar.extra_flags=
    compiler.elf2hex.extra_flags=
    compiler.libraries.ldflags=

    ...

    ## Combine gc-sections, archives, and objects
    recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" "-L{build.path}" {compiler.c.elf.flags} {compiler.c.elf.extra_flags} "-T{build.variant.path}/{build.ldscript}" "-Wl,-Map,{build.path}/{build.project_name}.map" --specs=nano.specs --specs=nosys.specs {compiler.ldflags} -o "{build.path}/{build.project_name}.elf" {object_files} -Wl,--start-group {compiler.arm.cmsis.ldflags} -lm "{build.path}/{archive_file}" {compiler.libraries.ldflags} -Wl,--end-group

    Error Message I got: 

     

    Arduino: 1.8.9 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
    
    C:\Users\yalci\Desktop\arduino-1.8.9-windows\arduino-1.8.9\arduino-builder -dump-prefs -logger=machine -hardware C:\Users\yalci\Desktop\arduino-1.8.9-windows\arduino-1.8.9\hardware -tools C:\Users\yalci\Desktop\arduino-1.8.9-windows\arduino-1.8.9\tools-builder -tools C:\Users\yalci\Desktop\arduino-1.8.9-windows\arduino-1.8.9\hardware\tools\avr -built-in-libraries C:\Users\yalci\Desktop\arduino-1.8.9-windows\arduino-1.8.9\libraries -libraries C:\Users\yalci\Documents\Arduino\libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -ide-version=10809 -build-path C:\Users\yalci\AppData\Local\Temp\arduino_build_805099 -warnings=none -build-cache C:\Users\yalci\AppData\Local\Temp\arduino_cache_880334 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\yalci\Desktop\arduino-1.8.9-windows\arduino-1.8.9\hardware\tools\avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=C:\Users\yalci\Desktop\arduino-1.8.9-windows\arduino-1.8.9\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Users\yalci\Desktop\arduino-1.8.9-windows\arduino-1.8.9\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=C:\Users\yalci\Desktop\arduino-1.8.9-windows\arduino-1.8.9\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Users\yalci\Desktop\arduino-1.8.9-windows\arduino-1.8.9\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=C:\Users\yalci\Desktop\arduino-1.8.9-windows\arduino-1.8.9\hardware\tools\avr -verbose C:\Users\yalci\Documents\Arduino\libraries\bsec\examples\basic\basic.ino
    C:\Users\yalci\Desktop\arduino-1.8.9-windows\arduino-1.8.9\arduino-builder -compile -logger=machine -hardware C:\Users\yalci\Desktop\arduino-1.8.9-windows\arduino-1.8.9\hardware -tools C:\Users\yalci\Desktop\arduino-1.8.9-windows\arduino-1.8.9\tools-builder -tools C:\Users\yalci\Desktop\arduino-1.8.9-windows\arduino-1.8.9\hardware\tools\avr -built-in-libraries C:\Users\yalci\Desktop\arduino-1.8.9-windows\arduino-1.8.9\libraries -libraries C:\Users\yalci\Documents\Arduino\libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -ide-version=10809 -build-path C:\Users\yalci\AppData\Local\Temp\arduino_build_805099 -warnings=none -build-cache C:\Users\yalci\AppData\Local\Temp\arduino_cache_880334 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\yalci\Desktop\arduino-1.8.9-windows\arduino-1.8.9\hardware\tools\avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=C:\Users\yalci\Desktop\arduino-1.8.9-windows\arduino-1.8.9\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Users\yalci\Desktop\arduino-1.8.9-windows\arduino-1.8.9\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=C:\Users\yalci\Desktop\arduino-1.8.9-windows\arduino-1.8.9\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Users\yalci\Desktop\arduino-1.8.9-windows\arduino-1.8.9\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=C:\Users\yalci\Desktop\arduino-1.8.9-windows\arduino-1.8.9\hardware\tools\avr -verbose C:\Users\yalci\Documents\Arduino\libraries\bsec\examples\basic\basic.ino
    Using board 'mega' from platform in folder: C:\Users\yalci\Desktop\arduino-1.8.9-windows\arduino-1.8.9\hardware\arduino\avr
    Using core 'arduino' from platform in folder: C:\Users\yalci\Desktop\arduino-1.8.9-windows\arduino-1.8.9\hardware\arduino\avr
    Detecting libraries used...
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\sketch\\basic.ino.cpp" -o nul
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "-IC:\\Users\\yalci\\Documents\\Arduino\\libraries\\bsec\\src" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\sketch\\basic.ino.cpp" -o nul
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "-IC:\\Users\\yalci\\Documents\\Arduino\\libraries\\bsec\\src" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\libraries\\Wire\\src" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\sketch\\basic.ino.cpp" -o nul
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "-IC:\\Users\\yalci\\Documents\\Arduino\\libraries\\bsec\\src" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\sketch\\basic.ino.cpp" -o nul
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "-IC:\\Users\\yalci\\Documents\\Arduino\\libraries\\bsec\\src" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\yalci\\Documents\\Arduino\\libraries\\bsec\\src\\bme680\\bme680.c" -o nul
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "-IC:\\Users\\yalci\\Documents\\Arduino\\libraries\\bsec\\src" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\yalci\\Documents\\Arduino\\libraries\\bsec\\src\\bsec.cpp" -o nul
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "-IC:\\Users\\yalci\\Documents\\Arduino\\libraries\\bsec\\src" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\libraries\\Wire\\src\\Wire.cpp" -o nul
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "-IC:\\Users\\yalci\\Documents\\Arduino\\libraries\\bsec\\src" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\libraries\\Wire\\src\\utility\\twi.c" -o nul
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "-IC:\\Users\\yalci\\Documents\\Arduino\\libraries\\bsec\\src" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\libraries\\SPI\\src\\SPI.cpp" -o nul
    Generating function prototypes...
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "-IC:\\Users\\yalci\\Documents\\Arduino\\libraries\\bsec\\src" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\sketch\\basic.ino.cpp" -o "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\preproc\\ctags_target_for_gcc_minus_e.cpp"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\preproc\\ctags_target_for_gcc_minus_e.cpp"
    Compiling sketch...
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "-IC:\\Users\\yalci\\Documents\\Arduino\\libraries\\bsec\\src" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\sketch\\basic.ino.cpp" -o "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\sketch\\basic.ino.cpp.o"
    Compiling libraries...
    Compiling library "bsec"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "-IC:\\Users\\yalci\\Documents\\Arduino\\libraries\\bsec\\src" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\yalci\\Documents\\Arduino\\libraries\\bsec\\src\\bsec.cpp" -o "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\libraries\\bsec\\bsec.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "-IC:\\Users\\yalci\\Documents\\Arduino\\libraries\\bsec\\src" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\yalci\\Documents\\Arduino\\libraries\\bsec\\src\\bme680\\bme680.c" -o "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\libraries\\bsec\\bme680\\bme680.c.o"
    Compiling library "Wire"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "-IC:\\Users\\yalci\\Documents\\Arduino\\libraries\\bsec\\src" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\libraries\\Wire\\src\\Wire.cpp" -o "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\libraries\\Wire\\Wire.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "-IC:\\Users\\yalci\\Documents\\Arduino\\libraries\\bsec\\src" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\libraries\\Wire\\src\\utility\\twi.c" -o "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\libraries\\Wire\\utility\\twi.c.o"
    Compiling library "SPI"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "-IC:\\Users\\yalci\\Documents\\Arduino\\libraries\\bsec\\src" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\libraries\\SPI\\src\\SPI.cpp" -o "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\libraries\\SPI\\SPI.cpp.o"
    Compiling core...
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc" -c -g -x assembler-with-cpp -flto -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino\\wiring_pulse.S" -o "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\wiring_pulse.S.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino\\wiring_analog.c" -o "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\wiring_analog.c.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino\\WInterrupts.c" -o "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\WInterrupts.c.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino\\wiring_pulse.c" -o "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\wiring_pulse.c.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino\\hooks.c" -o "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\hooks.c.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino\\wiring_shift.c" -o "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\wiring_shift.c.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino\\wiring_digital.c" -o "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\wiring_digital.c.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino\\wiring.c" -o "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\wiring.c.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino\\HardwareSerial2.cpp" -o "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\HardwareSerial2.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino\\HardwareSerial.cpp" -o "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\HardwareSerial.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino\\HardwareSerial1.cpp" -o "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\HardwareSerial1.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino\\Tone.cpp" -o "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\Tone.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino\\WString.cpp" -o "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\WString.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino\\Stream.cpp" -o "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\Stream.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino\\main.cpp" -o "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\main.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino\\new.cpp" -o "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\new.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino\\Print.cpp" -o "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\Print.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino\\CDC.cpp" -o "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\CDC.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino\\abi.cpp" -o "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\abi.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino\\HardwareSerial0.cpp" -o "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\HardwareSerial0.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino\\USBCore.cpp" -o "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\USBCore.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino\\IPAddress.cpp" -o "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\IPAddress.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino\\WMath.cpp" -o "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\WMath.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino\\PluggableUSB.cpp" -o "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\PluggableUSB.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\cores\\arduino\\HardwareSerial3.cpp" -o "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\HardwareSerial3.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\core.a" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\CDC.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\core.a" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\HardwareSerial.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\core.a" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\HardwareSerial0.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\core.a" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\HardwareSerial1.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\core.a" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\HardwareSerial2.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\core.a" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\HardwareSerial3.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\core.a" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\IPAddress.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\core.a" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\PluggableUSB.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\core.a" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\Print.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\core.a" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\Stream.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\core.a" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\Tone.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\core.a" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\USBCore.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\core.a" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\WInterrupts.c.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\core.a" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\WMath.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\core.a" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\WString.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\core.a" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\abi.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\core.a" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\hooks.c.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\core.a" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\main.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\core.a" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\new.cpp.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\core.a" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\wiring.c.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\core.a" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\wiring_analog.c.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\core.a" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\wiring_digital.c.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\core.a" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\wiring_pulse.S.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\core.a" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\wiring_pulse.c.o"
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\core.a" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\core\\wiring_shift.c.o"
    Archiving built core (caching) in: C:\Users\yalci\AppData\Local\Temp\arduino_cache_880334\core\core_arduino_avr_mega_cpu_atmega2560_4d2545e58519ab43096a1e96fd46d0a7.a
    Linking everything together...
    "C:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\tools\\avr/bin/avr-gcc" "-LC:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections,--relax "-TC:\\Users\\yalci\\Desktop\\arduino-1.8.9-windows\\arduino-1.8.9\\hardware\\arduino\\avr\\variants\\mega/{build.ldscript}" "-Wl,-Map,C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099/basic.ino.map" --specs=nano.specs --specs=nosys.specs -o "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099/basic.ino.elf" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\sketch\\basic.ino.cpp.o" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\libraries\\bsec\\bme680\\bme680.c.o" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\libraries\\bsec\\bsec.cpp.o" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\libraries\\Wire\\Wire.cpp.o" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\libraries\\Wire\\utility\\twi.c.o" "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099\\libraries\\SPI\\SPI.cpp.o" -Wl,--start-group {compiler.arm.cmsis.ldflags} -lm "C:\\Users\\yalci\\AppData\\Local\\Temp\\arduino_build_805099/core\\core.a" "-LC:\\Users\\yalci\\Documents\\Arduino\\libraries\\bsec\\src\\atmega2560" -lalgobsec -Wl,--end-group
    avr-gcc: error: {compiler.arm.cmsis.ldflags}: No such file or directory
    
    avr-gcc: error: nano.specs: No such file or directory
    
    Using library bsec at version 1.4.704 in folder: C:\Users\yalci\Documents\Arduino\libraries\bsec 
    Using library Wire at version 1.0 in folder: C:\Users\yalci\Desktop\arduino-1.8.9-windows\arduino-1.8.9\hardware\arduino\avr\libraries\Wire 
    Using library SPI at version 1.0 in folder: C:\Users\yalci\Desktop\arduino-1.8.9-windows\arduino-1.8.9\hardware\arduino\avr\libraries\SPI 
    exit status 1
    Error compiling for board Arduino/Genuino Mega or Mega 2560.

     

     

    Could you help me to check if there are any mistakes?

    Best,

     

    3 REPLIES 3
    Highlighted
    Community Moderator

    Re: BSEC Compilation Error on MEGA 2560 with Arduino IDE

    Hello,

    I find many errors. Could you confirm other examples w/o BSEC is success?

    Some errors as bellow are no related to BSEC.

    avr-gcc: error: {compiler.arm.cmsis.ldflags}: No such file or directory
    
    avr-gcc: error: nano.specs: No such file or directory

     

    Best regards.

    Highlighted
    New Poster

    Re: BSEC Compilation Error on MEGA 2560 with Arduino IDE

    Unless I change platform.txt, it does not give any error on compilation of other examples. 

    BSEC's 'Basic' example gives this error: 

    C:\Users\yalci\AppData\Local\Temp\ccTU2Ulh.ltrans0.ltrans.o: In function `main':

    <artificial>:(.text.startup+0x20e): undefined reference to `bsec_init'

    <artificial>:(.text.startup+0x21e): undefined reference to `bsec_get_version'

    <artificial>:(.text.startup+0x552): undefined reference to `bsec_update_subscription'

    <artificial>:(.text.startup+0x820): undefined reference to `bsec_sensor_control'

    <artificial>:(.text.startup+0x1a00): undefined reference to `bsec_do_steps'

    collect2.exe: error: ld returned 1 exit status

    However, when I change this file by following instructions on Github page, the ide starts to give error that I posted on my first message on every example from different libraries and BSEC library. 

    Highlighted
    Community Moderator

    Re: BSEC Compilation Error on MEGA 2560 with Arduino IDE

    Could you please share the of the "Arduino AVR Boards" used in your project? You can find your version from the Boards Manager or inside the platform.txt file (line 9).

    The latest version of the Arduino AVR Boards I can find is v1.8.3, which seems to come with external libraries support by default. I can successfully compile the basic example for the Arduino Mega 2560 board with the BSEC Software Library v1.5.1474, Arduino IDE v1.8.13 and Arduino AVR Boards v1.8.3.

    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist