drc-cap make

48 views
Skip to first unread message

Maxime Le Martret

unread,
Aug 10, 2015, 9:51:25 AM8/10/15
to libdrc users
Hey ! It's me, again =)

I'm trying to build the drc-cap tool, but I'm having some linking issue.

I think that I've correctly installed ffmepg, run cmake but I've errors on the linking step (Linking CXX executable drc-cap...).
All errors are "undefined reference to av_[*]", and in all ffmpeg libraries as libavcodec, utils and so on.

I can run the examples provided by ffmpeg without problem !

Is anyone have a clue about what's happening here ?

Thanks for your help !
Maxime

Maxime Le Martret

unread,
Aug 10, 2015, 12:39:44 PM8/10/15
to libdrc users
Problem fixed, It looks like some dependances was missing (pcap, QT5LinguistTool, libass, libvpx ...).

By manually compilling the sources, i've succed to produce the exec file.

if it could be useful for anybody in the future :


g++ *.cc -std=c++11 -O2 -g -Wall -fmessage-length=0 -D__STDC_CONSTANT_MACROS -lpthread -ldl -lm -lm -lz -lpthread -lavformat -lavcodec -lavutil -lopencv_core -lopencv_highgui -lopencv_imgproc -lopencv_video -lopencv_objdetect -lpcap -lSDL -lswscale -lportaudio

thanks !


I think that I've correctly installed ffmepg, run cmake but I've errors on the linking step (Linking CXX executable drc-cap...).
All errors are "undefined reference to av_[*]", and in all ffmpeg libraries as libavcodec, utils and so on.
Reply all
Reply to author
Forward
0 new messages