Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link errorwhile compiling decode video application #258

Open
mishralok opened this issue May 15, 2019 · 0 comments
Open

Link errorwhile compiling decode video application #258

mishralok opened this issue May 15, 2019 · 0 comments

Comments

@mishralok
Copy link

Hi,

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?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant