Hello all
I have written my own library and when i try to upload a project depending on the library to the boar,d I get at linker error (or i think it is a linker error). I have not much experience with linkers, but i hope you can help me. Ask if you need more information. Thanks.
IDE: 1.6.0
CLI: 3.1.0
PS C:\Users\Karl-Emil\Documents\TheAirBed> platformio run --target upload
[10/05/16 18:41:29] Processing diecimilaatmega328 (platform: atmelavr, board: diecimilaatmega328, framework: arduino)
Verbose mode can be enabled via -v, --verbose
option
Collected 26 compatible libraries
Looking for dependencies…
Library Dependency Graph
|--
Linking .pioenvs\diecimilaatmega328\firmware.elf
.pioenvs\diecimilaatmega328\lib\libAirBed.a(AirBed.o): In function Calibrator::Calibrator(Valve, PressureSensor, MasterValve)': C:\Users\Karl-Emil\Documents\TheAirBed/lib\AirBed/AirBed.cpp:76: undefined reference to
Valve::Valve()'
C:\Users\Karl-Emil\Documents\TheAirBed/lib\AirBed/AirBed.cpp:76: undefined reference to PressureSensor::PressureSensor()' C:\Users\Karl-Emil\Documents\TheAirBed/lib\AirBed/AirBed.cpp:76: undefined reference to
MasterValve::MasterValve()'
collect2.exe: error: ld returned 1 exit status
*** [.pioenvs\diecimilaatmega328\firmware.elf] Error 1