[Libav-user] Compiling ffmpeg with pthread support mscv toolchain

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue Sep 13 19:05:23 EEST 2016


2016-09-12 20:04 GMT+02:00 Leonardo Nahra <leonardonahra at gmail.com>:

> check_func pthread_create -pthread
> check_ld cc -pthread
> check_cc -pthread
> BEGIN ./ffconf.SDAJxYXo.c
>     1 extern int pthread_create();
>     2 int main(void){ pthread_create(); }
> END ./ffconf.SDAJxYXo.c
> c99wrap cl -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> -Dstrtod=avpriv_strtod -Dsnprintf=avpriv_snprintf
> -D_snprintf=avpriv_snprintf -Dvsnprintf=avpriv_vsnprintf
> -D_WIN32_WINNT=0x0502 -nologo -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS
> -D_CRT_NONSTDC_NO_WARNINGS -I/home/%username%/ffmpeg/include -pthread -c
> -Fo./ffconf.UUlikmky.o ./ffconf.SDAJxYXo.c
> cl : Command line warning D9002 : ignoring unknown option '-pthread'
> ffconf.UUlikmky.o_converted.c
> ./compat/windows/mslink -L/home/%username%/ffmpeg/lib -nologo
> -LARGEADDRESSAWARE -pthread -out:./ffconf.omVGyQVw.exe ./ffconf.UUlikmky.o
> psapi.lib advapi32.lib shell32.lib pthreadVC2.lib
> LINK : warning LNK4044: unrecognized option
> '/LC:/c99/home/%username%/ffmpeg/lib'; ignored
> LINK : warning LNK4044: unrecognized option '/pthread'; ignored
>
> this error is repeated with several other functions that may be related to
> pthread.

The log above does not indicate an error afaict.

Carl Eugen


More information about the Libav-user mailing list