Hi, Dear FFMPEGer, I try to compile ffmpeg 3.4.2 ( source code was git clone from repository of the latest version) on my PC of win10 ( 64bit ) Here is my compiling steps: (1) install MinGW, https://sourceforge.net/projects/mingw/files/latest/download?source=files Installation location: c:/MinGW I added 'call "location/vcvars64.bat" ' in 'msys.bat' (2) install yasm ( win64.exe ), http://yasm.tortall.net/Download.html Copy it to folder 'c:/windows/system32' (3) then 'git clone https://github.com/FFmpeg/FFmpeg.git' in Git Bash (4) cd to ffmpeg, run './configure --disable-static --enable-shared -arch=x86_64' It spit a WARNING: 'pkg-config not found, library detection may fail' And I ignored it, and run 'make', but failed; ERROR messages: ./compat/w32pthreads.h:122:9: error: unknown type name 'INIT_ONCE' typedef INIT_ONCE pthread_once_t; ./compat/w32pthreads.h:131:5: error: implicit declaration of function 'InitOnceComplete' libavdevice/alldevices.c: At top level: ./compat/w32pthreads.h:123:27: error: 'INIT_ONCE_STATIC_INIT' undeclared here (not in a function) #define PTHREAD_ONCE_INIT INIT_ONCE_STATIC_INIT ^ ./libavutil/thread.h:145:22: note: in expansion of macro 'PTHREAD_ONCE_INIT' #define AV_ONCE_INIT PTHREAD_ONCE_INIT ^~~~~~~~~~~~~~~~~ libavdevice/alldevices.c:92:37: note: in expansion of macro 'AV_ONCE_INIT' static AVOnce av_device_next_init = AV_ONCE_INIT; _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
