[x265] Build failure on MinGW-w64 rev 6214d26

Mario *LigH* Rohkrämer contact at ligh.de
Tue Feb 25 09:21:54 CET 2014


Am 25.02.2014, 08:57 Uhr, schrieb Nikos Barkas <nikbar2004 at yahoo.com>:

> Building latest trunk revision (6214d26) on MinGW-w64 GCC 4.7.1 results  
> in the following error:

Similar result for GCC 4.8.2, building either native x86 (Win32) or  
cross-compiled x86-64 (Win64) targets:

+----
In file included from  
h:/MSYS/home/Entwicklung/x265/source/common/threadpool.cpp:27:0:
h:/MSYS/home/Entwicklung/x265/source/common/threadpool.cpp: In member  
function 'void x265::ThreadPoolImpl::waitForAllIdle()':
h:/MSYS/home/Entwicklung/x265/source/common/threading.h:247:53: error:  
'usleep' was not declared in this scope
  #define GIVE_UP_TIME()                      usleep(0)
                                                      ^
h:/MSYS/home/Entwicklung/x265/source/common/threadpool.cpp:306:13: note:  
in expansion of macro 'GIVE_UP_TIME'
              GIVE_UP_TIME();
              ^
h:/MSYS/home/Entwicklung/x265/source/common/threadpool.cpp: In member  
function 'void x265::ThreadPoolImpl::FlushProviderList()':
h:/MSYS/home/Entwicklung/x265/source/common/threading.h:247:53: error:  
'usleep' was not declared in this scope
  #define GIVE_UP_TIME()                      usleep(0)
                                                      ^
h:/MSYS/home/Entwicklung/x265/source/common/threadpool.cpp:399:17: note:  
in expansion of macro 'GIVE_UP_TIME'
                  GIVE_UP_TIME();
                  ^
make[2]: *** [common/CMakeFiles/common.dir/threadpool.cpp.obj] Error 1
make[1]: *** [common/CMakeFiles/common.dir/all] Error 2
make: *** [all] Error 2
+----

-- 
__________

Fun and success!
Mario *LigH* Rohkrämer
mailto:contact at ligh.de
 


More information about the x265-devel mailing list