[FFmpeg-devel] I compile the latest ffmpeg version on git and errors when compile in atomic.c
James Almer
jamrial at gmail.com
Wed Mar 20 05:23:33 CET 2013
On 20/03/13 12:43 AM, Wei Gao wrote:
> Hi
> libavutil/atomic.c:101:2: error: #error "Threading is enabled, but there is
> no implementation of atomic operations available"
>
> my environment is mingw gcc version 4.6.2 (GCC)
>
> Thanks
> Best regards
Run configure using --cpu=i686 or your computer's CPU.
That will fix it.
Alternatively (And a better solution as well), use mingw-w64 compiled for x86.
Regards.
More information about the ffmpeg-devel
mailing list