Open zevlg opened 4 years ago
I'm having problems linking against libtgvoip:
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
video/VideoPacketSender.cpp
Thanks
Ah, my bad, still having this linking problem. What am I doing wrong?
Adding video/VideoFEC.cpp as well in the SRC solves the problem!
video/VideoFEC.cpp
I'm having problems linking against
libtgvoip
:If I add
video/VideoPacketSender.cpp
to SRC list in Makefile.am, then everything is okThanks