lewapek / sds-dust-sensors-arduino-library

Library for Nova Fitness SDS dust sensors family (SDS011, SDS021)
MIT License
64 stars 19 forks source link

Error on linking: undefined reference to `vtable for Serials::AbstractSerial' #8

Closed michelep closed 5 years ago

michelep commented 5 years ago

ino.cpp.o:(.text._ZN7Serials16InternalSoftwareD2Ev[Serials::InternalSoftware::~InternalSoftware()]+0x0): undefined reference to `vtable for Serials::AbstractSerial' collect2: error: ld returned 1 exit status

lewapek commented 5 years ago

Which version do you use? Can you provide more info - paste your sketch here? I'm currently using 1.3.0 in one of my projects and it works fine. You can try that (1.3.0) for now

michelep commented 5 years ago

Version of what ?

lewapek commented 5 years ago

"Nova Fitness Sds dust sensors library" version

lewapek commented 5 years ago

https://github.com/lewapek/sds-dust-sensors-arduino-library/releases

lewapek commented 5 years ago

@michelep https://github.com/lewapek/sds-dust-sensors-arduino-library/pull/9 should solve the problem also on master branch