web_video_server
web_video_server copied to clipboard
undefined reference to `avcodec_send_frame'
when compile web_video_server,
the system report error:
[100%] Linking CXX executable /edge_computing/ros/ros/devel_isolated/web_video_server/lib/web_video_server/web_video_server
CMakeFiles/web_video_server.dir/src/libav_streamer.cpp.o: In function web_video_server::LibavStreamer::sendImage(cv::Mat const&, ros::Time const&)': libav_streamer.cpp:(.text+0x970): undefined reference to
avcodec_send_frame'
libav_streamer.cpp:(.text+0x98b): undefined reference to `avcodec_receive_packet'
collect2: error: ld returned 1 exit status
What am I doing wrong?
my system is: ubuntu 16.04
Did you ever figure out what the issue was? Mine was working fine a few years ago. I tried recompiling and got the same error now.