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

video/VideoPacketSender.cpp is not compiled in, causing linking problems #96

Open
zevlg opened this issue Sep 3, 2019 · 2 comments
Open

Comments

@zevlg
Copy link
Contributor

zevlg commented Sep 3, 2019

I'm having problems linking against libtgvoip:

/usr/local/lib/libtgvoip.so: undefined reference to `tgvoip::video::VideoPacketSender::SetSource(tgvoip::video::VideoSource*)'
/usr/local/lib/libtgvoip.so: undefined reference to `tgvoip::video::VideoPacketSender::VideoPacketSender(tgvoip::VoIPController*, tgvoip::video::VideoSource*, std::shared_ptr<tgvoip::VoIPController::Stream>)'
/usr/local/lib/libtgvoip.so: undefined reference to `tgvoip::video::ParityFEC::Decode(std::vector<tgvoip::Buffer, std::allocator<tgvoip::Buffer> >&, tgvoip::Buffer&)'
collect2: error: ld returned 1 exit status

If I add video/VideoPacketSender.cpp to SRC list in Makefile.am, then everything is ok

Thanks

@zevlg
Copy link
Contributor Author

zevlg commented Sep 3, 2019

Ah, my bad, still having this linking problem. What am I doing wrong?

@zevlg
Copy link
Contributor Author

zevlg commented Sep 3, 2019

Adding video/VideoFEC.cpp as well in the SRC solves the problem!

@zevlg zevlg mentioned this issue Oct 25, 2019
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