http://piece.angelic-veins.com
Nikos Barkas
___
x265-devel mailing list
x265-devel@videolan.org
https://mailman.videolan.org/listinfo/x265-devel
, 2014 at 1:29 AM, Nikos Barkas nikbar2...@yahoo.com wrote:
Building tip revision 288a83d fails with this message on MinGW x64:
c:/x265/source/common/param.cpp: In function 'int x265::parseCpuName(const
char*, bool)':
c:/DriveD/x265Project/x265/source/common/param.cpp:738:59: error: 'strtok_s
includes.
Best regards
Nikos
On Monday, March 3, 2014 11:15 PM, Nikos Barkas nikbar2...@yahoo.com wrote:
The strtok_s function is the secure api variant of strtok. For MinGW-w64, which
is what I am using - on Windows 7, not Linux - using secure api functions
requires some work done in advance
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
Building x265 on MinGW-w64 GCC 4.7.1 fails as of revision 6d0b660 with this
error:
c:/DriveD/x265Project/x265/source/common/lowres.cpp: In member function 'bool
x265::Lowres::create(x265::TComPicYuv*, int, int*)':
c:/DriveD/x265Project/x265/source/common/lowres.cpp:89:1: error: jump to label
Receiving this error on MinGW-w64 GCC 4.7.1 while attempting to build 8e0fa5f:
Building CXX object common/CMakeFiles/common.dir/wavefront.cpp.obj
c:/DriveD/x265Project/x265/source/common/wavefront.cpp: In member function
'bool x265::WaveFront::checkHigherPriorityRow(int)':
The program fails to link on MinGW GCC 4.7.1 with revision 5683ee5. The related
messages are:
Linking CXX executable x265.exe
libx265.a(asm-primitives.cpp.obj):asm-primitives.cpp:(.text+0x75a7): undefined
reference to `x265_interp_4tap_vert_ps_2x4_sse4'
There is a linking problem with revision c56e392b2c68 on MinGW. The error comes
from common.cpp and is our old friend:
undefined reference to `__sync_val_compare_and_swap_4'
The file common.cpp must be added to the list of files for which -march=i686 is
applied in