I had downloaded the source of x264 library.
The version of x264 is 148.
For compilation of shared dlls I am using the following command under MSYS Environment:
./configure --disable-cli --enable-shared --prefix=.
The result is following:
platform: X86_64
byte order: little-endian
system: WINDOWS
cli: no
libx264: internal
shared: yes
static: no
asm: yes
interlaced: yes
avs: no
lavf: no
ffms: no
mp4: no
gpl: yes
thread: win32
opencl: yes
filters: crop select_every
debug: no
gprof: no
strip: no
PIC: yes
bit depth: 8
chroma format: all
After execution of make I have the following error:
common/win32thread.o:win32thread.c:(.text+0x60): undefined reference to `_beginthreadex'
common/win32thread.o:win32thread.c:(.text+0x60): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_beginthreadex'
collect2: error: ld returned 1 exit status
Makefile:192: recipe for target 'libx264-148.dll' failed
make: *** [libx264-148.dll] Error 1
My working Environment:
- Windows 10 Pro
- MSYS64 with mingw64
- Microsoft Visual Studio 2015
The configure command was executed without errors, but the make gives me the error described above.