Undefined Reference to function error


hey guys have problem again ... :/

quote
arduino: 1.6.5 (windows 8.1), platine: "arduino/genuino uno"


c:\users\paul\appdata\local\temp\build3280561619484866464.tmp\flycontroller.cpp.o: in function `gyro::gyro()':
c:\users\paul\appdata\local\temp\build3280561619484866464.tmp/gyro.h:14: undefined reference `mpu6050me::mpu6050me()'
c:\users\paul\appdata\local\temp\build3280561619484866464.tmp\gyro.cpp.o: in function `gyro::getvals()':
c:\users\paul\appdata\local\temp\build3280561619484866464.tmp/gyro.cpp:85: undefined reference `mpu6050me::getintstatus()'
c:\users\paul\appdata\local\temp\build3280561619484866464.tmp/gyro.cpp:87: undefined reference `mpu6050me::getfifocount()'
c:\users\paul\appdata\local\temp\build3280561619484866464.tmp/gyro.cpp:90: undefined reference `mpu6050me::resetfifo()'
c:\users\paul\appdata\local\temp\build3280561619484866464.tmp/gyro.cpp:96: undefined reference `mpu6050me::getfifobytes(unsigned char*, unsigned char)'
c:\users\paul\appdata\local\temp\build3280561619484866464.tmp/gyro.cpp:95: undefined reference `mpu6050me::getfifocount()'
collect2.exe: error: ld returned 1 exit status
fehler beim kompilieren.
i cant find fault , when i'm googleing find missed class:: in front of function or compiled in command g++ , had written wrong command...:/

mpu5060me.h http://pastebin.com/vc2pnzfy
mpu5060me.cpp http://pastebin.com/wvc6yjxx
gyro.cpp http://pastebin.com/09g9blsn

btw not code tried modify it works me/ fitted needs...

mfg paul

i not bother load scattered pastebin stuff.

maybe can give hints:
http://arduinoetcetera.blogspot.de/2011/01/classes-within-classes-initialiser.html


Arduino Forum > Using Arduino > Project Guidance > Undefined Reference to function error


arduino

Comments