web_video_server icon indicating copy to clipboard operation
web_video_server copied to clipboard

undefined reference to `avcodec_send_frame'

Open codezealot opened this issue 6 years ago • 1 comments

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

codezealot avatar Feb 13 '19 03:02 codezealot

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.

sneheshs avatar Jun 15 '21 18:06 sneheshs