[x265] Build failure on MinGW-w64 rev 6214d26
Steve Borho
steve at borho.org
Tue Feb 25 09:23:07 CET 2014
On Tue, Feb 25, 2014 at 1:57 AM, Nikos Barkas <nikbar2004 at yahoo.com> wrote:
> Building latest trunk revision (6214d26) on MinGW-w64 GCC 4.7.1 results in
> the following error:
>
> c:/x265/source/common/threadpool.cpp: In member function 'void
> x265::ThreadPoolImpl::waitForAllIdle()':
> c:/x265/source/common/threadpool.cpp:306:13: error: 'usleep' was not
> declared in this scope
> c:/x265/source/common/threadpool.cpp: In member function 'void
> x265::ThreadPoolImpl::FlushProviderList()':
> c:/x265/source/common/threadpool.cpp:399:17: error: 'usleep' was not
> declared in this scope
> make[2]: *** [common/CMakeFiles/common.dir/threadpool.cpp.obj] Error 1
> make[1]: *** [common/CMakeFiles/common.dir/all] Error 2
> make: *** [all] Error 2
My fault, I moved the include of unistd from an #if __GNUC__ section
to an #if WIN32 section. Fix pushed
--
Steve Borho
More information about the x265-devel
mailing list