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

undefined reference to 'vtable for Channel' #26

Open
brunapearson opened this issue Apr 22, 2019 · 2 comments
Open

undefined reference to 'vtable for Channel' #26

brunapearson opened this issue Apr 22, 2019 · 2 comments

Comments

@brunapearson
Copy link

Error found when compiling. The error msg points out to serialFork.cpp:180 and serialFork.cpp:200

@Mozleron
Copy link

Mozleron commented Aug 10, 2019

I ran into this same issue. The solution was to go into serialFork.cpp, class Channel and set each of the virtual methods =0, as below:
virtual uint8_t _serial_available()=0;
virtual uint8_t _serial_read()=0;
virtual uint8_t _serial_write(const uint8_t *data, size_t length)=0;
virtual void _serial_flush()=0;

these occur on lines 79-82.

This is already in the other two branches, but not merged to master yet.

@brunapearson
Copy link
Author

Thanks for letting me know about 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

2 participants