[x265] [commit 32c9e30] Compiler error at 27%

Steve Borho steve at borho.org
Tue Mar 18 05:11:00 CET 2014


On Mon, Mar 17, 2014 at 10:26 PM, JMK <three4teen16 at coldmail.nu> wrote:
> [ 27%] Building CXX object common/CMakeFiles/common.dir/__/Lib/TLibCommon/TComDataCU.cpp.obj
> In file included from f:/GITS/X265/20140318/source/Lib/TLibCommon/TComPic.h:46:0,
>                  from f:/GITS/X265/20140318/source/Lib/TLibCommon/TComDataCU.cpp:40:
> F:/GITS/X265/20140318/source/common/threading.h:256:5: error:
> 'CONDITION_VARIABLE' does not name a type      CONDITION_VARIABLE m_cv;
>      ^
> F:/GITS/X265/20140318/source/common/threading.h: In constructor 'x265::ThreadSafeInteger::Thread SafeInteger()':
> F:/GITS/X265/20140318/source/common/threading.h:220:38: error: 'm_cv' was not declared in this scope
>          InitializeConditionVariable(&m_cv);
>                                       ^
> F:/GITS/X265/20140318/source/common/threading.h:220:42: error: 'InitializeConditionVariable' was not declared in this scope
>          InitializeConditionVariable(&m_cv);
>                                           ^
> F:/GITS/X265/20140318/source/common/threading.h:
> In member function 'int x265::ThreadSafeInteger::waitForChange(int)':
> F:/GITS/X265/20140318/source/common/threading.h:232:39: error: 'm_cv' was not declared in this scope
>              SleepConditionVariableCS(&m_cv, &m_cs, INFINITE);
>                                        ^
> F:/GITS/X265/20140318/source/common/threading.h:232:60: error:
> 'SleepConditionVariableCS' was not declared in this scope
>              SleepConditionVariableCS(&m_cv, &m_cs, INFINITE);
>                                                             ^
> F:/GITS/X265/20140318/source/common/threading.h:
> In member function 'void x265::ThreadSafeInteger::set(int)':
> F:/GITS/X265/20140318/source/common/threading.h:249:35: error:
> 'm_cv' was not declared in this scope
>          WakeAllConditionVariable(&m_cv);
>                                    ^
> F:/GITS/X265/20140318/source/common/threading.h:249:39: error:
> 'WakeAllConditionVariable' was not declared in this scope
>          WakeAllConditionVariable(&m_cv);
>                                        ^
> make[2]: *** [common/CMakeFiles/common.dir/__/Lib/TLibCommon/TComDataCU.cpp.obj] Error 1
> make[1]: *** [common/CMakeFiles/common.dir/all] Error 2
> make: *** [all] Error 2

Gag.  It seems XP and MinGW do not support Windows condition
variables, how unfortunate.

-- 
Steve Borho


More information about the x265-devel mailing list