Currently I'm struggling with compiler errors which make no sense to me.
Code: Select all
Preprocessing file: ZUNO_BMP280.cpp with SDCPP...
Compiling ZUNO_BMP280_sdcpp_.cpp ...['__cxx__Stream__method__println020a11', '__cxx__TwoWire__method__write02p0508', '__cxx__Stream__method__readBytesUntil030dp0d08', '__cxx__Stream__method__clearWriteError00', '__cxx__Stream__method__print010d', '__cxx__TwoWire__method__println020a11', '__cxx__Print__method__printFloat021505', '__cxx__Stream__method__readBytes02p0508', '__cxx__HardwareSerial__method__write0105', '__cxx__HardwareSerial__method__find010d', '__cxx__TwoWire__method__printNumber020a05', '__cxx__TwoWire__method__parseFloat00', '__cxx__HardwareSerial__method__readBytes02p0508', '__cxx__Print__method__print020a11', '__cxx__HardwareSerial__method__write0109', '__cxx__TwoWire__method__parseInt00', '__cxx__TwoWire__method__println020511', '__cxx__HardwareSerial__method__available00', '__cxx__Stream__method__print020511', '__cxx__HardwareSerial__method__parseInt010d', '__cxx__TwoWire__method__readBytes02p0508', '__cxx__Stream__method__println021511', '__cxx__Stream__method__printNumber020a05', '__cxx__HardwareSerial__method__printByteArr03p050505', '__cxx__Stream__method__findUntil02p05p0d', '__cxx__Stream__method__find02p0508', '__cxx__TwoWire__method__parseFloat010d', '__cxx__Stream__method__print020a11', '__cxx__HardwareSerial__method__find02p0d08', '__cxx__TwoWire__method__println020911', '__cxx__Print__method__print01p0d', '__cxx__HardwareSerial__method__write010a', '__cxx__TwoWire__method__printFloat021505', '__cxx__Stream__method__println010d', '__cxx__TwoWire__method__findMulti02prMultiTarget11', '__cxx__TwoWire__method__findUntil02p0dp0d', '__cxx__HardwareSerial__method__write0112', '__cxx__HardwareSerial__method__write0111', '__cxx__Stream__method__findUntil04p0d08p0d08', '__cxx__Stream__method__println020911', '__cxx__Stream__method__readBytesUntil030dp0508', '__cxx__Print__method__setWriteError0111', '__cxx__Print__method__printNumber020a05', '__cxx__Print__method__println021211', '__cxx__TwoWire__method__find01p05', '__cxx__Stream__init00', '__cxx__HardwareSerial__init0105', '__cxx__Print__method__print010d', '__cxx__Stream__method__println021111', '__cxx__Stream__method__println01p0d', '__cxx__BMP280__method__begin021111', '__cxx__Stream__method__print01p0d', '__cxx__HardwareSerial__method__parseFloat010d', '__cxx__Stream__method__println021211', '__cxx__TwoWire__method__read00', '__cxx__I2CDriver__method__bind00', '__cxx__BMP280__method__getError00', '__cxx__TwoWire__method__peekNextDigit00', '__cxx__Print__method__println020511', '__cxx__HardwareSerial__method__println00', '__cxx__HardwareSerial__method__flush00', '__cxx__HardwareSerial__method__find02p0508', '__cxx__TwoWire__method__findUntil04p0d08p0d08', '__cxx__TwoWire__method__print020511', '__cxx__Stream__method__println021611', '__cxx__Print__method__println021111', '__cxx__Stream__method__getWriteError00', '__cxx__TwoWire__method__println010d', '__cxx__BMP280__method__readCalibration00', '__cxx__HardwareSerial__method__peekNextDigit00', '__cxx__HardwareSerial__method__print020511', '__cxx__HardwareSerial__method__find01p0d', '__cxx__TwoWire__method__print020911', '__cxx__Print__method__println021511', '__cxx__BMP280__method__startMeasurment00', '__cxx__Stream__method__println020511', '__cxx__HardwareSerial__method__printFloat021505', '__cxx__Stream__method__available00', '__cxx__Print__method__println021611', '__cxx__TwoWire__method__print01p0d', '__cxx__Stream__method__printByteArr03p050505', '__cxx__Print__method__println00', '__cxx__Print__method__println010d', '__cxx__HardwareSerial__method__setTimeout010a', '__cxx__Print__method__getWriteError00', '__cxx__Print__method__write02p0508', '__cxx__Stream__method__parseFloat00', '__cxx__TwoWire__method__readBytesUntil030dp0508', '__cxx__I2CDriver__method__stop00', '__cxx__TwoWire__method__print021211', '__cxx__HardwareSerial__method__readBytesUntil030dp0508', '__cxx__BMP280__method__readBytes02p050d', '__cxx__HardwareSerial__method__getWriteError00', '__cxx__HardwareSerial__method__print010d', '__cxx__TwoWire__method__println01p0d', '__cxx__BMP280__method__getTemperatureAndPressure026767', '__cxx__HardwareSerial__method__println021511', '__cxx__Stream__method__findMulti02prMultiTarget11', '__cxx__HardwareSerial__method__print01p0d', '__cxx__TwoWire__method__find010d', '__cxx__Stream__method__findUntil02p0dp0d', '__cxx__HardwareSerial__method__readBytes02p0d08', '__cxx__HardwareSerial__method__peek00', '__cxx__HardwareSerial__method__findUntil04p0d08p0d08', '__cxx__Stream__method__println00', '__cxx__HardwareSerial__method__println021611', '__cxx__Print__init00', '__cxx__HardwareSerial__method__find01p05', '__cxx__HardwareSerial__method__timedPeek00', '__cxx__TwoWire__method__flush00', '__cxx__Print__method__printByteArr03p050505', '__cxx__Stream__method__write02p0508', '__cxx__Stream__method__setTimeout010a', '__cxx__I2CDriver__method__write0105', '__cxx__Stream__method__print021211', '__cxx__TwoWire__method__setTimeout010a', '__cxx__Stream__method__setWriteError0111', '__cxx__Print__method__println020a11', '__cxx__HardwareSerial__method__println010d', '__cxx__BMP280__method__readUInt020d67', '__cxx__HardwareSerial__method__parseInt00', '__cxx__Print__method__write0105', '__cxx__Stream__method__find02p0d08', '__cxx__I2CDriver__method__start00', '__cxx__Stream__method__flush00', '__cxx__TwoWire__method__parseInt010d', '__cxx__TwoWire__method__readBytes02p0d08', '__cxx__BMP280__method__readInt020d67', '__cxx__HardwareSerial__method__parseFloat00', '__cxx__Stream__method__find01p05', '__cxx__HardwareSerial__method__write02p0508', '__cxx__Print__method__print020911', '__cxx__HardwareSerial__method__println021211', '__cxx__Print__method__println020911', '__cxx__Stream__method__parseInt00', '__cxx__Stream__method__timedRead00', '__cxx__BMP280__method__setOversampling0110', '__cxx__BMP280__init00', '__cxx__TwoWire__method__available00', '__cxx__TwoWire__method__setWriteError0111', '__cxx__TwoWire__method__findUntil02p05p0d', '__cxx__Stream__method__read00', '__cxx__Print__method__print021211', '__cxx__Stream__method__print020911', '__cxx__Print__method__println01p0d', '__cxx__Stream__method__readBytes02p0d08', '__cxx__Stream__method__peek00', '__cxx__HardwareSerial__method__end00', '__cxx__HardwareSerial__method__printNumber020a05', '__cxx__HardwareSerial__method__println020911', '__cxx__HardwareSerial__method__setWriteError0111', '__cxx__Print__method__print021511', '__cxx__HardwareSerial__method__findUntil02p05p0d', '__cxx__BMP280__method__sealevel021616', '__cxx__TwoWire__method__timedPeek00', '__cxx__Print__method__print020511', '__cxx__HardwareSerial__method__read00', '__cxx__TwoWire__method__write0112', '__cxx__TwoWire__method__write0111', '__cxx__Print__method__print021611', '__cxx__TwoWire__method__println021511', '__cxx__HardwareSerial__method__println020511', '__cxx__TwoWire__method__timedRead00', '__cxx__HardwareSerial__method__print021211', '__cxx__HardwareSerial__method__findMulti02prMultiTarget11', '__cxx__Stream__method__find01p0d', '__cxx__TwoWire__method__readBytesUntil030dp0d08', '__cxx__HardwareSerial__method__print021611', '__cxx__TwoWire__method__begin01prI2CDriver', '__cxx__TwoWire__method__println021111', '__cxx__TwoWire__method__print021611', '__cxx__TwoWire__method__print021511', '__cxx__BMP280__method__altitude021616', '__cxx__HardwareSerial__method__print021511', '__cxx__TwoWire__method__endTransmission0105', '__cxx__TwoWire__method__println021211', '__cxx__Print__method__print021111', '__cxx__Stream__method__timedPeek00', '__cxx__Stream__method__peekNextDigit00', '__cxx__BMP280__method__getOversampling00', '__cxx__TwoWire__method__find02p0508', '__cxx__TwoWire__method__println021611', '__cxx__TwoWire__init01prI2CDriver', '__cxx__HardwareSerial__method__timedRead00', '__cxx__TwoWire__method__write0105', '__cxx__TwoWire__method__print021111', '__cxx__Stream__method__parseInt010d', '__cxx__HardwareSerial__method__print021111', '__cxx__TwoWire__method__bindDriver01prI2CDriver', '__cxx__HardwareSerial__method__begin00', '__cxx__TwoWire__method__peek00', '__cxx__TwoWire__method__write0109', '__cxx__I2CDriver__method__read0105', '__cxx__TwoWire__method__printByteArr03p050505', '__cxx__BMP280__method__begin00', '__cxx__TwoWire__method__getWriteError00', '__cxx__Stream__method__print021611', '__cxx__Stream__method__printFloat021505', '__cxx__TwoWire__method__println00', '__cxx__TwoWire__method__clearWriteError00', '__cxx__TwoWire__method__beginTransmission020505', '__cxx__HardwareSerial__method__print020911', '__cxx__BMP280__method__writeBytes02p050d', '__cxx__TwoWire__method__print020a11', '__cxx__Stream__method__print021511', '__cxx__TwoWire__method__requestFrom03050505', '__cxx__Print__method__clearWriteError00', '__cxx__Stream__method__parseFloat010d', '__cxx__TwoWire__method__print010d', '__cxx__I2CDriver__init020505', '__cxx__Stream__method__write0105', '__cxx__HardwareSerial__method__println020a11', '__cxx__Stream__method__find010d', '__cxx__TwoWire__method__write010a', '__cxx__HardwareSerial__method__readBytesUntil030dp0d08', '__cxx__TwoWire__method__find01p0d', '__cxx__HardwareSerial__method__print020a11', '__cxx__HardwareSerial__method__println021111', '__cxx__TwoWire__method__find02p0d08', '__cxx__HardwareSerial__method__clearWriteError00', '__cxx__HardwareSerial__method__begin010a', '__cxx__Stream__method__print021111', '__cxx__HardwareSerial__method__println01p0d', '__cxx__HardwareSerial__method__findUntil02p0dp0d']
ZUNO_BMP280_sdcpp_.cpp:677:1:error: uCxx:Can't find method __cxx__BMP280__method__readUInt020d16 for object this of class BMP280
uCxx returned error code:-1
SDCPP created a method __cxx__BMP280__method__readUInt020d67 but wants to use a wrong name.
I don't understand why this is happening.