I failed to build VVenc. I use gcc-8.3.1 and cmake-3.14.0 on centos-7.7.1980, and got these errors:
Is there anythin I make wrong?
But I can build VVdec successfully on the same server.
[ 18%] Building CXX object source/Lib/vvenc/CMakeFiles/vvenc.dir//CommonLib/x86/avx2/Buffer_avx2.cpp.o
In file included from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/Utilities/NoMallocThreadPool.cpp:52:0:
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/Utilities/NoMallocThreadPool.h: In constructor 'vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk::Chunk(vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk*)':
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/Utilities/NoMallocThreadPool.h:273:58: error: invalid initialization of non-const reference of type 'vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk&' from an rvalue of type ''
Chunk( Chunk* firstPtr ) : m_firstChunk{ firstPtr } {}
^
In file included from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/sse41/MCTF_avx41.cpp:47:0:
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/sse41/../MCTFX86.h:73:38: error: 'vvenc::_mm256_extract_epi32' declared as an 'inline' variable
inline uint32_t _mm256_extract_epi32(__m256i vec, const int i )
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/sse41/../MCTFX86.h:73:38: error: '__m256i' was not declared in this scope
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/sse41/../MCTFX86.h:73:51: error: expected primary-expression before 'const'
inline uint32_t _mm256_extract_epi32(__m256i vec, const int i )
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/sse41/../MCTFX86.h:73:63: error: expression list treated as compound expression in initializer [-fpermissive]
inline uint32_t _mm256_extract_epi32(__m256i vec, const int i )
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/sse41/../MCTFX86.h:74:1: error: expected ',' or ';' before '{' token
{
^
In file included from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx/MCTF_avx.cpp:47:0:
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx/../MCTFX86.h: In function 'uint32_t vvenc::_mm256_extract_epi32(__m256i, int)':
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx/../MCTFX86.h:76:79: error: '_mm256_permutevar8x32_epi32' was not declared in this scope
__m256i val = _mm256_permutevar8x32_epi32(vec, _mm256_castsi128_si256(indx));
^
In file included from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/MCTF.cpp:56:0:
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../Utilities/NoMallocThreadPool.h: In constructor 'vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk::Chunk(vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk)':
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../Utilities/NoMallocThreadPool.h:273:58: error: invalid initialization of non-const reference of type 'vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk&' from an rvalue of type ''
Chunk( Chunk* firstPtr ) : m_firstChunk{ firstPtr } {}
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/LoopFilter.cpp: In static member function 'static void vvenc::LoopFilter::calcFilterStrengths(const vvenc::CodingUnit&, bool)':
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/LoopFilter.cpp:815:61: error: cannot convert 'vvenc::LFCUParam' to 'bool' in initialization
LFCUParam stLFCUParam { xGetLoopfilterParam( cu ) };
^
In file included from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/sse42/MCTF_avx42.cpp:47:0:
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/sse42/../MCTFX86.h:73:38: error: 'vvenc::_mm256_extract_epi32' declared as an 'inline' variable
inline uint32_t _mm256_extract_epi32(__m256i vec, const int i )
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/sse42/../MCTFX86.h:73:38: error: '__m256i' was not declared in this scope
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/sse42/../MCTFX86.h:73:51: error: expected primary-expression before 'const'
inline uint32_t _mm256_extract_epi32(__m256i vec, const int i )
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/sse42/../MCTFX86.h:73:63: error: expression list treated as compound expression in initializer [-fpermissive]
inline uint32_t _mm256_extract_epi32(__m256i vec, const int i )
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/sse42/../MCTFX86.h:74:1: error: expected ',' or ';' before '{' token
{
^
In file included from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx2/Buffer_avx2.cpp:47:0:
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx2/../BufferX86.h:1703:1: error: 'void vvenc::do_clip(T&, T&, T&) [with bool clip = true; T = __vector(2) long long int]' conflicts with a previous declaration
} // namespace vvenc
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx2/../BufferX86.h:1278:24: note: previous declaration 'void vvenc::do_clip(T&, T&, T&) [with bool clip = true; T = __vector(4) long long int]'
template<> inline void do_clip<true, __m256i>( __m256i& vreg, __m256i& vbdmin, __m256i& vbdmax ) { vreg = _mm256_min_epi16( vbdmax, _mm256_max_epi16( vbdmin, vreg ) ); }
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx2/../BufferX86.h:1276:24: note: -fabi-version=6 (or =0) avoids this error with a change in mangling
template<> inline void do_clip<true, __m128i>( __m128i& vreg, __m128i& vbdmin, __m128i& vbdmax ) { vreg = _mm_min_epi16 ( vbdmax, _mm_max_epi16 ( vbdmin, vreg ) ); }
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx2/../BufferX86.h:1703:1: error: 'void vvenc::do_clip(T&, T&, T&) [with bool clip = false; T = vector(2) long long int]' conflicts with a previous declaration
} // namespace vvenc
^
gmake[3]: *** [source/Lib/vvenc/CMakeFiles/vvenc.dir//CommonLib/x86/sse41/MCTF_avx41.cpp.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx2/../BufferX86.h:1274:24: note: previous declaration 'void vvenc::do_clip(T&, T&, T&) [with bool clip = false; T = __vector(4) long long int]'
template<> inline void do_clip<false, __m256i>( __m256i&, __m256i&, __m256i& ) { }
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx2/../BufferX86.h:1272:24: note: -fabi-version=6 (or =0) avoids this error with a change in mangling
template<> inline void do_clip<false, __m128i>( __m128i&, __m128i&, __m128i& ) { }
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx2/../BufferX86.h:1703:1: error: 'void vvenc::do_add(T&, T&) [with bool add = true; T = vector(2) long long int]' conflicts with a previous declaration
} // namespace vvenc
^
gmake[3]: *** [source/Lib/vvenc/CMakeFiles/vvenc.dir//CommonLib/x86/avx/MCTF_avx.cpp.o] Error 1
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx2/../BufferX86.h:1268:24: note: previous declaration 'void vvenc::do_add(T&, T&) [with bool add = true; T = __vector(4) long long int]'
template<> inline void do_add<true, __m256i>( __m256i& vreg, __m256i& vadd ) { vreg = _mm256_add_epi32( vreg, vadd ); }
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx2/../BufferX86.h:1266:24: note: -fabi-version=6 (or =0) avoids this error with a change in mangling
template<> inline void do_add<true, __m128i>( __m128i& vreg, __m128i& vadd ) { vreg = _mm_add_epi32( vreg, vadd ); }
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx2/../BufferX86.h:1703:1: error: 'void vvenc::do_add(T&, T&) [with bool add = false; T = __vector(2) long long int]' conflicts with a previous declaration
} // namespace vvenc
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx2/../BufferX86.h:1264:24: note: previous declaration 'void vvenc::do_add(T&, T&) [with bool add = false; T = __vector(4) long long int]'
template<> inline void do_add<false, __m256i>( __m256i&, __m256i& ) { }
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx2/../BufferX86.h:1262:24: note: -fabi-version=6 (or =0) avoids this error with a change in mangling
template<> inline void do_add<false, __m128i>( __m128i&, __m128i& ) { }
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx2/../BufferX86.h:1703:1: error: 'void vvenc::do_mult(T&, T&) [with bool mult = true; T = __vector(2) long long int]' conflicts with a previous declaration
} // namespace vvenc
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx2/../BufferX86.h:1258:24: note: previous declaration 'void vvenc::do_mult(T&, T&) [with bool mult = true; T = __vector(4) long long int]'
template<> inline void do_mult<true, __m256i>( __m256i& vreg, __m256i& vmult ) { vreg = _mm256_mullo_epi32( vreg, vmult ); }
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx2/../BufferX86.h:1256:24: note: -fabi-version=6 (or =0) avoids this error with a change in mangling
template<> inline void do_mult<true, __m128i>( __m128i& vreg, __m128i& vmult ) { vreg = _mm_mullo_epi32 ( vreg, vmult ); }
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx2/../BufferX86.h:1703:1: error: 'void vvenc::do_mult(T&, T&) [with bool mult = false; T = __vector(2) long long int]' conflicts with a previous declaration
} // namespace vvenc
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx2/../BufferX86.h:1254:24: note: previous declaration 'void vvenc::do_mult(T&, T&) [with bool mult = false; T = __vector(4) long long int]'
template<> inline void do_mult<false, __m256i>( __m256i&, __m256i& ) { }
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx2/../BufferX86.h:1252:24: note: -fabi-version=6 (or =0) avoids this error with a change in mangling
template<> inline void do_mult<false, __m128i>( __m128i&, __m128i& ) { }
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx2/../BufferX86.h:1703:1: error: 'void vvenc::do_shift(T&, int) [with bool doShift = false; bool shiftR = false; T = __vector(4) long long int]' conflicts with a previous declaration
} // namespace vvenc
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx2/../BufferX86.h:1249:24: note: previous declaration 'void vvenc::do_shift(T&, int) [with bool doShift = false; bool shiftR = false; T = __vector(2) long long int]'
template<> inline void do_shift<false, false, __m128i>( __m128i &vreg, int num ) { }
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx2/../BufferX86.h:1244:24: note: -fabi-version=6 (or =0) avoids this error with a change in mangling
template<> inline void do_shift<false, false, __m256i>( m256i &vreg, int num ) { }
^
gmake[3]: *** [source/Lib/vvenc/CMakeFiles/vvenc.dir//CommonLib/x86/sse42/MCTF_avx42.cpp.o] Error 1
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx2/../BufferX86.h:1703:1: error: 'void vvenc::do_shift(T&, int) [with bool doShift = false; bool shiftR = true; T = __vector(4) long long int]' conflicts with a previous declaration
} // namespace vvenc
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx2/../BufferX86.h:1248:24: note: previous declaration 'void vvenc::do_shift(T&, int) [with bool doShift = false; bool shiftR = true; T = __vector(2) long long int]'
template<> inline void do_shift<false, true , __m128i>( __m128i &vreg, int num ) { }
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx2/../BufferX86.h:1243:24: note: -fabi-version=6 (or =0) avoids this error with a change in mangling
template<> inline void do_shift<false, true , __m256i>( __m256i &vreg, int num ) { }
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx2/../BufferX86.h:1703:1: error: 'void vvenc::do_shift(T&, int) [with bool doShift = true; bool shiftR = false; T = __vector(4) long long int]' conflicts with a previous declaration
} // namespace vvenc
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx2/../BufferX86.h:1247:24: note: previous declaration 'void vvenc::do_shift(T&, int) [with bool doShift = true; bool shiftR = false; T = __vector(2) long long int]'
template<> inline void do_shift<true, false, __m128i>( __m128i &vreg, int num ) { vreg = _mm_slli_epi32( vreg, num ); }
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx2/../BufferX86.h:1242:24: note: -fabi-version=6 (or =0) avoids this error with a change in mangling
template<> inline void do_shift<true, false, __m256i>( __m256i &vreg, int num ) { vreg = _mm256_slli_epi32( vreg, num ); }
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx2/../BufferX86.h:1703:1: error: 'void vvenc::do_shift(T&, int) [with bool doShift = true; bool shiftR = true; T = __vector(4) long long int]' conflicts with a previous declaration
} // namespace vvenc
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx2/../BufferX86.h:1246:24: note: previous declaration 'void vvenc::do_shift(T&, int) [with bool doShift = true; bool shiftR = true; T = __vector(2) long long int]'
template<> inline void do_shift<true, true , __m128i>( __m128i &vreg, int num ) { vreg = _mm_srai_epi32( vreg, num ); }
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx2/../BufferX86.h:1241:24: note: -fabi-version=6 (or =0) avoids this error with a change in mangling
template<> inline void do_shift<true, true , m256i>( m256i &vreg, int num ) { vreg = _mm256_srai_epi32( vreg, num ); }
^
gmake[3]: *** [source/Lib/vvenc/CMakeFiles/vvenc.dir//Utilities/NoMallocThreadPool.cpp.o] Error 1
gmake[3]: *** [source/Lib/vvenc/CMakeFiles/vvenc.dir//CommonLib/x86/avx2/Buffer_avx2.cpp.o] Error 1
In file included from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx/InterPred_avx.cpp:47:0:
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx/../InterPredX86.h: In function 'uint32_t vvenc::_mm256_extract_epi32(__m256i, int)':
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/avx/../InterPredX86.h:70:84: error: '_mm256_permutevar8x32_epi32' was not declared in this scope
__m256i val = _mm256_permutevar8x32_epi32( vec, _mm256_castsi128_si256( indx ) );
^
In file included from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/sse41/InterPred_sse41.cpp:47:0:
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/sse41/../InterPredX86.h:67:41: error: 'vvenc::_mm256_extract_epi32' declared as an 'inline' variable
inline uint32_t _mm256_extract_epi32( __m256i vec, const int i )
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/sse41/../InterPredX86.h:67:41: error: '__m256i' was not declared in this scope
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/sse41/../InterPredX86.h:67:54: error: expected primary-expression before 'const'
inline uint32_t _mm256_extract_epi32( __m256i vec, const int i )
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/sse41/../InterPredX86.h:67:66: error: expression list treated as compound expression in initializer [-fpermissive]
inline uint32_t _mm256_extract_epi32( __m256i vec, const int i )
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/sse41/../InterPredX86.h:68:3: error: expected ',' or ';' before '{' token
{
^
In file included from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/sse42/InterPred_sse42.cpp:47:0:
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/sse42/../InterPredX86.h:67:41: error: 'vvenc::_mm256_extract_epi32' declared as an 'inline' variable
inline uint32_t _mm256_extract_epi32( __m256i vec, const int i )
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/sse42/../InterPredX86.h:67:41: error: '__m256i' was not declared in this scope
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/sse42/../InterPredX86.h:67:54: error: expected primary-expression before 'const'
inline uint32_t _mm256_extract_epi32( __m256i vec, const int i )
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/sse42/../InterPredX86.h:67:66: error: expression list treated as compound expression in initializer [-fpermissive]
inline uint32_t _mm256_extract_epi32( __m256i vec, const int i )
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/CommonLib/x86/sse42/../InterPredX86.h:68:3: error: expected ',' or ';' before '{' token
{
^
In file included from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncPicture.h:56:0,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncGOP.h:57,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncLib.h:52,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/CABACWriter.cpp:53:
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../Utilities/NoMallocThreadPool.h: In constructor 'vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk::Chunk(vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk)':
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../Utilities/NoMallocThreadPool.h:273:58: error: invalid initialization of non-const reference of type 'vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk&' from an rvalue of type ''
Chunk( Chunk* firstPtr ) : m_firstChunk{ *firstPtr } {}
^
gmake[3]: *** [source/Lib/vvenc/CMakeFiles/vvenc.dir//CommonLib/LoopFilter.cpp.o] Error 1
In file included from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncAdaptiveLoopFilter.cpp:61:0:
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../Utilities/NoMallocThreadPool.h: In constructor 'vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk::Chunk(vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk*)':
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../Utilities/NoMallocThreadPool.h:273:58: error: invalid initialization of non-const reference of type 'vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk&' from an rvalue of type ''
Chunk( Chunk* firstPtr ) : m_firstChunk{ firstPtr } {}
^
In file included from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../EncoderLib/EncPicture.h:56:0,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../EncoderLib/EncGOP.h:57,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/DecoderLib/DecLib.cpp:64:
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../Utilities/NoMallocThreadPool.h: In constructor 'vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk::Chunk(vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk)':
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../Utilities/NoMallocThreadPool.h:273:58: error: invalid initialization of non-const reference of type 'vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk&' from an rvalue of type ''
Chunk( Chunk* firstPtr ) : m_firstChunk{ firstPtr } {}
^
gmake[3]: *** [source/Lib/vvenc/CMakeFiles/vvenc.dir/__/CommonLib/MCTF.cpp.o] Error 1
In file included from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncPicture.h:56:0,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/IntraSearch.cpp:53:
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../Utilities/NoMallocThreadPool.h: In constructor 'vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk::Chunk(vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk)':
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../Utilities/NoMallocThreadPool.h:273:58: error: invalid initialization of non-const reference of type 'vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk&' from an rvalue of type ''
Chunk( Chunk* firstPtr ) : m_firstChunk{ firstPtr } {}
^
In file included from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../EncoderLib/EncPicture.h:56:0,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../EncoderLib/EncGOP.h:57,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../EncoderLib/EncLib.h:52,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/vvencimpl.h:56,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/vvenc.cpp:56:
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../Utilities/NoMallocThreadPool.h: In constructor 'vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk::Chunk(vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk)':
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../Utilities/NoMallocThreadPool.h:273:58: error: invalid initialization of non-const reference of type 'vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk&' from an rvalue of type ''
Chunk( Chunk* firstPtr ) : m_firstChunk{ firstPtr } {}
^
In file included from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncPicture.h:56:0,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncPicture.cpp:52:
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../Utilities/NoMallocThreadPool.h: In constructor 'vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk::Chunk(vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk)':
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../Utilities/NoMallocThreadPool.h:273:58: error: invalid initialization of non-const reference of type 'vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk&' from an rvalue of type ''
Chunk( Chunk* firstPtr ) : m_firstChunk{ firstPtr } {}
^
In file included from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncPicture.h:56:0,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncGOP.h:57,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncLib.h:52,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/InterSearch.cpp:54:
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../Utilities/NoMallocThreadPool.h: In constructor 'vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk::Chunk(vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk)':
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../Utilities/NoMallocThreadPool.h:273:58: error: invalid initialization of non-const reference of type 'vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk&' from an rvalue of type ''
Chunk( Chunk* firstPtr ) : m_firstChunk{ firstPtr } {}
^
In file included from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../EncoderLib/EncPicture.h:56:0,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../EncoderLib/EncGOP.h:57,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../EncoderLib/EncLib.h:52,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/vvencimpl.h:56,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/vvencimpl.cpp:53:
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../Utilities/NoMallocThreadPool.h: In constructor 'vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk::Chunk(vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk)':
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../Utilities/NoMallocThreadPool.h:273:58: error: invalid initialization of non-const reference of type 'vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk&' from an rvalue of type ''
Chunk( Chunk* firstPtr ) : m_firstChunk{ firstPtr } {}
^
gmake[3]: *** [source/Lib/vvenc/CMakeFiles/vvenc.dir//CommonLib/x86/avx/InterPred_avx.cpp.o] Error 1
gmake[3]: *** [source/Lib/vvenc/CMakeFiles/vvenc.dir//CommonLib/x86/sse41/InterPred_sse41.cpp.o] Error 1
gmake[3]: *** [source/Lib/vvenc/CMakeFiles/vvenc.dir/__/CommonLib/x86/sse42/InterPred_sse42.cpp.o] Error 1
In file included from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncPicture.h:56:0,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncGOP.h:57,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncLib.h:52,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncCu.cpp:53:
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../Utilities/NoMallocThreadPool.h: In constructor 'vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk::Chunk(vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk)':
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../Utilities/NoMallocThreadPool.h:273:58: error: invalid initialization of non-const reference of type 'vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk&' from an rvalue of type ''
Chunk( Chunk* firstPtr ) : m_firstChunk{ firstPtr } {}
^
In file included from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncPicture.h:56:0,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncGOP.h:57,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncGOP.cpp:52:
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../Utilities/NoMallocThreadPool.h: In constructor 'vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk::Chunk(vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk)':
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../Utilities/NoMallocThreadPool.h:273:58: error: invalid initialization of non-const reference of type 'vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk&' from an rvalue of type ''
Chunk( Chunk* firstPtr ) : m_firstChunk{ firstPtr } {}
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncGOP.cpp: In member function 'void vvenc::EncGOP::encodePictures(const std::vectorvvenc::Picture*&, vvenc::PicList&, vvenc::AccessUnitList&, bool)':
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncGOP.cpp:386:85: error: parameter declared 'auto'
auto picItr = find_if( procList.begin(), procList.end(), []( auto pic ) { return pic->slices[ 0 ]->checkRefPicsReconstructed(); } );
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncGOP.cpp: In lambda function:
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncGOP.cpp:386:100: error: 'pic' is not captured
auto picItr = find_if( procList.begin(), procList.end(), []( auto pic ) { return pic->slices[ 0 ]->checkRefPicsReconstructed(); } );
^
gmake[3]: *** [source/Lib/vvenc/CMakeFiles/vvenc.dir/__/EncoderLib/CABACWriter.cpp.o] Error 1
In file included from /usr/include/c++/4.8.2/algorithm:62:0,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../CommonLib/CommonDef.h:52,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../CommonLib/BitStream.h:52,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/CABACWriter.h:52,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncSampleAdaptiveOffset.h:53,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncGOP.h:52,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncGOP.cpp:52:
/usr/include/c++/4.8.2/bits/stl_algo.h: In instantiation of '_InputIterator std::__find_if(_InputIterator, _InputIterator, _Predicate, std::input_iterator_tag) [with _InputIterator = std::_List_iteratorvvenc::Picture*; _Predicate = vvenc::EncGOP::encodePictures(const std::vectorvvenc::Picture*&, vvenc::PicList&, vvenc::AccessUnitList&, bool)::__lambda4]':
/usr/include/c++/4.8.2/bits/stl_algo.h:4465:41: required from '_IIter std::find_if(_IIter, _IIter, _Predicate) [with _IIter = std::_List_iteratorvvenc::Picture*; _Predicate = vvenc::EncGOP::encodePictures(const std::vectorvvenc::Picture*&, vvenc::PicList&, vvenc::AccessUnitList&, bool)::__lambda4]'
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncGOP.cpp:386:149: required from here
/usr/include/c++/4.8.2/bits/stl_algo.h:150:56: error: no match for call to '(vvenc::EncGOP::encodePictures(const std::vectorvvenc::Picture*&, vvenc::PicList&, vvenc::AccessUnitList&, bool)::__lambda4) (vvenc::Picture&)'
while (first != last && !bool(pred(__first)))
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncGOP.cpp:386:77: note: candidates are:
auto picItr = find_if( procList.begin(), procList.end(), []( auto pic ) { return pic->slices[ 0 ]->checkRefPicsReconstructed(); } );
^
In file included from /usr/include/c++/4.8.2/algorithm:62:0,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../CommonLib/CommonDef.h:52,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../CommonLib/BitStream.h:52,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/CABACWriter.h:52,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncSampleAdaptiveOffset.h:53,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncGOP.h:52,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncGOP.cpp:52:
/usr/include/c++/4.8.2/bits/stl_algo.h:150:56: note: void ()()
while (first != last && !bool(pred(__first)))
^
/usr/include/c++/4.8.2/bits/stl_algo.h:150:56: note: candidate expects 1 argument, 2 provided
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncGOP.cpp:386:89: note: vvenc::EncGOP::encodePictures(const std::vectorvvenc::Picture*&, vvenc::PicList&, vvenc::AccessUnitList&, bool)::lambda4
auto picItr = find_if( procList.begin(), procList.end(), []( auto pic ) { return pic->slices[ 0 ]->checkRefPicsReconstructed(); } );
^
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncGOP.cpp:386:89: note: candidate expects 0 arguments, 1 provided
gmake[3]: *** [source/Lib/vvenc/CMakeFiles/vvenc.dir//EncoderLib/EncAdaptiveLoopFilter.cpp.o] Error 1
In file included from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncPicture.h:56:0,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncGOP.h:57,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncLib.h:52,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncLib.cpp:52:
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../Utilities/NoMallocThreadPool.h: In constructor 'vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk::Chunk(vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk)':
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../Utilities/NoMallocThreadPool.h:273:58: error: invalid initialization of non-const reference of type 'vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk&' from an rvalue of type ''
Chunk( Chunk* firstPtr ) : m_firstChunk{ *firstPtr } {}
^
gmake[3]: *** [source/Lib/vvenc/CMakeFiles/vvenc.dir/vvenc.cpp.o] Error 1
gmake[3]: *** [source/Lib/vvenc/CMakeFiles/vvenc.dir//EncoderLib/EncPicture.cpp.o] Error 1
gmake[3]: *** [source/Lib/vvenc/CMakeFiles/vvenc.dir//DecoderLib/DecLib.cpp.o] Error 1
gmake[3]: *** [source/Lib/vvenc/CMakeFiles/vvenc.dir/vvencimpl.cpp.o] Error 1
In file included from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncPicture.h:56:0,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncGOP.h:57,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncLib.h:52,
from /mnt/nas1/elab/gyc/packages/vvenc/source/Lib/EncoderLib/EncSlice.cpp:53:
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../Utilities/NoMallocThreadPool.h: In constructor 'vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk::Chunk(vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk*)':
/mnt/nas1/elab/gyc/packages/vvenc/source/Lib/vvenc/../Utilities/NoMallocThreadPool.h:273:58: error: invalid initialization of non-const reference of type 'vvenc::NoMallocThreadPool::ChunkedTaskQueue::Chunk&' from an rvalue of type ''
Chunk( Chunk* firstPtr ) : m_firstChunk{ *firstPtr } {}
^
gmake[3]: *** [source/Lib/vvenc/CMakeFiles/vvenc.dir//EncoderLib/IntraSearch.cpp.o] Error 1
gmake[3]: *** [source/Lib/vvenc/CMakeFiles/vvenc.dir//EncoderLib/EncGOP.cpp.o] Error 1
gmake[3]: *** [source/Lib/vvenc/CMakeFiles/vvenc.dir//EncoderLib/EncCu.cpp.o] Error 1
gmake[3]: *** [source/Lib/vvenc/CMakeFiles/vvenc.dir//EncoderLib/InterSearch.cpp.o] Error 1
gmake[3]: *** [source/Lib/vvenc/CMakeFiles/vvenc.dir//EncoderLib/EncLib.cpp.o] Error 1
gmake[3]: *** [source/Lib/vvenc/CMakeFiles/vvenc.dir//EncoderLib/EncSlice.cpp.o] Error 1
gmake[3]: Leaving directory /mnt/nas1/elab/gyc/packages/vvenc/build/release-static' gmake[2]: *** [source/Lib/vvenc/CMakeFiles/vvenc.dir/all] Error 2 gmake[2]: Leaving directory
/mnt/nas1/elab/gyc/packages/vvenc/build/release-static'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/mnt/nas1/elab/gyc/packages/vvenc/build/release-static'
make: *** [release] Error 2