You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Link errorwhile compiling decode video application #258
I have modified the doc/example/decode_video.c to start a thread using the pthread_create() call. While compiling the FFMPEG Example with this new (replaced) decode_video.c I get the link error as below:
**> $ make examples
LD doc/examples/decode_video_g.exe
decode_video.o : error LNK2019: unresolved external symbol pthread_create referenced in function main
doc/examples/decode_video_g.exe : fatal error LNK1120: 1 unresolved externals
make: *** [Makefile:108: doc/examples/decode_video_g.exe] Error 96**
I have libpthreadGC1.a and libpthreadGC2.a from Windows pthread pkg but need to understand how to include this pthread lib here to avoid this link error. Do I need to make changes to any Makefile in FFmpeg or include in config parameter?
Activity