Sensirion SCD41 Library Won't Compile For HTCC-AB01

Hi,

Whilst I’ve had generally good success with the HTCC-AB01, I am creating a CO2/Temp/Humidity sensor and the Sensirion SCD41 library (SensirionI2CScd4x.h) will not compile for the HTCC-AB01.

It compiles fine for a Heltec ESP32 Lora V2 or Nano/Uno so I’m wondering why it won’t compile for the HTCC-AB01 (also tried AB02S but same issue)

Am i missing something here?

Many thanks

FYI the compile error occurs even with no code, the error occurs just by having #include SensirionI2CScd4x.h

Can you provide the error and let’s take a look?

Hi Quency,

Error:
" exit status 1
Error compiling for board CubeCell-Board(HTCC-AB01)"

Fails with minimal code - just library included:

#include <Arduino.h>
#include <SensirionI2CScd4x.h>
#include <Wire.h>

void setup() {

}

void loop() {

}

I’ve had a look through the library and cannot see anything that stands out as to why this would occur but maybe I’m missing something.

Any help anyone can give is greatly appreciated!