Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not compile for AT90CAN #16

Open
EarlVadim opened this issue Apr 1, 2021 · 0 comments
Open

Not compile for AT90CAN #16

EarlVadim opened this issue Apr 1, 2021 · 0 comments

Comments

@EarlVadim
Copy link

EarlVadim commented Apr 1, 2021

Hello.
I tried to compile the "Recieve CAN Messages" example for AT90CAN board and got errors

C:\Users\VADIM\AppData\Local\Temp\arduino_build_445438\sketch\ReceiveCANMessages.ino.cpp.o: In function `CAN_AT90CAN::begin(unsigned long)':
C:\Users\VADIM\Documents\Arduino\libraries\CAN_Library-master/CAN_AT90CAN.h:180: undefined reference to `CAN_AT90CAN::begin(unsigned long, unsigned char)'
C:\Users\VADIM\AppData\Local\Temp\arduino_build_445438\sketch\ReceiveCANMessages.ino.cpp.o: In function `readMessage()':
C:\Users\VADIM\AppData\Local\Temp\arduino_modified_sketch_693090/ReceiveCANMessages.ino:50: undefined reference to `CAN_AT90CAN::available()'
C:\Users\VADIM\AppData\Local\Temp\arduino_modified_sketch_693090/ReceiveCANMessages.ino:52: undefined reference to `CAN_AT90CAN::read()'
C:\Users\VADIM\AppData\Local\Temp\arduino_build_445438\libraries\CAN_Library-master\CAN_AT90CAN.cpp.o: In function `CAN_AT90CAN::CAN_AT90CAN()':
C:\Users\VADIM\Documents\Arduino\libraries\CAN_Library-master/CAN_AT90CAN.cpp:73: undefined reference to `vtable for CAN_AT90CAN'
C:\Users\VADIM\Documents\Arduino\libraries\CAN_Library-master/CAN_AT90CAN.cpp:73: undefined reference to `vtable for CAN_AT90CAN'
collect2.exe: error: ld returned 1 exit status

What I can do for fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant